Merge "Create CommonConnectivityJni to share between modules" into main
This commit is contained in:
commit
0e5defc1e9
1 changed files with 338 additions and 37 deletions
|
|
@ -100,6 +100,30 @@ cc_library_shared {
|
|||
],
|
||||
}
|
||||
|
||||
cc_library_shared {
|
||||
name: "libandroid_net_connectivity_com_android_net_module_util_jni_CommonConnectivityJni",
|
||||
srcs: [
|
||||
"jni/commonconnectivity/onload.cpp",
|
||||
],
|
||||
min_sdk_version: "30",
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libnativehelper",
|
||||
],
|
||||
static_libs: [
|
||||
"libcommonconnectivityjni",
|
||||
],
|
||||
cflags: [
|
||||
"-Wall",
|
||||
"-Werror",
|
||||
"-Wno-unused-parameter",
|
||||
"-Wthread-safety",
|
||||
],
|
||||
apex_available: [
|
||||
"com.android.tethering",
|
||||
],
|
||||
}
|
||||
|
||||
cc_library_shared {
|
||||
name: "libservice-connectivity",
|
||||
min_sdk_version: "30",
|
||||
|
|
@ -126,6 +150,7 @@ cc_library_shared {
|
|||
"libnet_utils_device_common_bpfjni",
|
||||
"libserviceconnectivityjni",
|
||||
"netd_aidl_interface-lateststable-ndk",
|
||||
"libcommonconnectivityjni",
|
||||
],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
|
|
|
|||
Loading…
Reference in a new issue