blob: 391ceacab9576a3a5467fd79f1b71b8daa61d91f [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",
30 ],
31 export_include_dirs: ["include"],
32 cflags: [
33 "-Wall",
34 "-Werror",
35 "-Wno-error=deprecated-declarations",
36 ],
37
38 shared_libs: [
39 "libbinder_ndk",
40 ],
41 llndk: {
42 symbol_file: "libconnectivity_native.map.txt",
43 },
44 stubs: {
45 symbol_file: "libconnectivity_native.map.txt",
46 versions: [
47 "current",
48 ],
49 },
50 header_abi_checker: {
51 enabled: true,
52 symbol_file: "libconnectivity_native.map.txt",
53 },
54 apex_available: [
55 "com.android.tethering",
56 ],
57}