1// 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 default_team: "trendy_team_fwk_core_networking", 19 // 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", 31 "libmodules-utils-build", 32 ], 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} 60