blob: 9bfe3a918b06a60da2a435f38e8bf4d00ef76129 [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 Choudhary01b5ede2024-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",
Colin Cross4078a402024-11-13 16:09:52 -080045 moved_to_apex: true,
Remi NGUYEN VANfb70eba2022-04-04 20:26:16 +090046 },
47 stubs: {
48 symbol_file: "libconnectivity_native.map.txt",
49 versions: [
50 "current",
51 ],
52 },
53 header_abi_checker: {
54 enabled: true,
55 symbol_file: "libconnectivity_native.map.txt",
56 },
57 apex_available: [
58 "com.android.tethering",
59 ],
60}