Address the TODO to link against the library directly, and add necessary test filters to only run the test on the primary ABI (because the library in the apex has only one variant for primary ABI), and to only run the test on U+. Bug: 356022894 Test: atest Change-Id: Ib52bfc1051059aaf9d14d1f7707864206d0bdcd9
44 lines
1 KiB
Text
44 lines
1 KiB
Text
package {
|
|
default_team: "trendy_team_fwk_core_networking",
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
cc_test {
|
|
name: "connectivity_native_test",
|
|
test_suites: [
|
|
"general-tests",
|
|
"mts-tethering",
|
|
"vts",
|
|
],
|
|
test_config_template: "AndroidTestTemplate.xml",
|
|
min_sdk_version: "34",
|
|
tidy: false,
|
|
srcs: [
|
|
"connectivity_native_test.cpp",
|
|
],
|
|
header_libs: ["bpf_connectivity_headers"],
|
|
version_script: ":connectivity_mainline_test_map",
|
|
stl: "libc++_static",
|
|
shared_libs: [
|
|
"libbinder_ndk",
|
|
"libcom.android.tethering.connectivity_native",
|
|
"liblog",
|
|
"libnetutils",
|
|
"libprocessgroup",
|
|
],
|
|
static_libs: [
|
|
"connectivity_native_aidl_interface-lateststable-ndk",
|
|
"libbase",
|
|
"libcutils",
|
|
"libmodules-utils-build",
|
|
"libutils",
|
|
],
|
|
compile_multilib: "both",
|
|
}
|
|
|
|
filegroup {
|
|
name: "net_native_test_config_template",
|
|
srcs: [
|
|
"NetNativeTestConfigTemplate.xml",
|
|
],
|
|
}
|