blob: 3a72134e079ca0a174f0c6c1ad0078a926ba7ccf [file] [log] [blame]
Remi NGUYEN VANfb70eba2022-04-04 20:26:16 +09001//
2// Copyright (C) 2022 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17package {
Aditya Choudhary71086be2024-01-31 11:08:57 +000018 default_team: "trendy_team_fwk_core_networking",
Remi NGUYEN VANfb70eba2022-04-04 20:26:16 +090019 // See: http://go/android-license-faq
20 default_applicable_licenses: ["Android-Apache-2.0"],
21}
22
23cc_library_shared {
24 name: "libcom.android.tethering.connectivity_native",
25 srcs: [
26 "src/**/*.cpp",
27 ],
28 min_sdk_version: "30",
29 static_libs: [
30 "connectivity_native_aidl_interface-V1-ndk",
Remi NGUYEN VAN2c1b9b82023-01-06 10:57:12 +090031 "libmodules-utils-build",
Remi NGUYEN VANfb70eba2022-04-04 20:26:16 +090032 ],
33 export_include_dirs: ["include"],
34 cflags: [
35 "-Wall",
36 "-Werror",
37 "-Wno-error=deprecated-declarations",
38 ],
39
40 shared_libs: [
41 "libbinder_ndk",
42 ],
43 llndk: {
44 symbol_file: "libconnectivity_native.map.txt",
45 },
46 stubs: {
47 symbol_file: "libconnectivity_native.map.txt",
48 versions: [
49 "current",
50 ],
51 },
52 header_abi_checker: {
53 enabled: true,
54 symbol_file: "libconnectivity_native.map.txt",
55 },
56 apex_available: [
57 "com.android.tethering",
58 ],
59}