blob: e063af7ce638836407920d71409125f324726e10 [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 {
18 // See: http://go/android-license-faq
19 default_applicable_licenses: ["Android-Apache-2.0"],
20}
21
22cc_library_shared {
23 name: "libcom.android.tethering.connectivity_native",
24 srcs: [
25 "src/**/*.cpp",
26 ],
27 min_sdk_version: "30",
28 static_libs: [
29 "connectivity_native_aidl_interface-V1-ndk",
Remi NGUYEN VAN2c1b9b82023-01-06 10:57:12 +090030 "libmodules-utils-build",
Remi NGUYEN VANfb70eba2022-04-04 20:26:16 +090031 ],
32 export_include_dirs: ["include"],
33 cflags: [
34 "-Wall",
35 "-Werror",
36 "-Wno-error=deprecated-declarations",
37 ],
38
39 shared_libs: [
40 "libbinder_ndk",
41 ],
42 llndk: {
43 symbol_file: "libconnectivity_native.map.txt",
44 },
45 stubs: {
46 symbol_file: "libconnectivity_native.map.txt",
47 versions: [
48 "current",
49 ],
50 },
51 header_abi_checker: {
52 enabled: true,
53 symbol_file: "libconnectivity_native.map.txt",
54 },
55 apex_available: [
56 "com.android.tethering",
57 ],
58}