Naming rule for aidl module is changed to make using unstable AIDL module more explicit So, to use unstable version AIDL module, use "-unstable" suffix version And also, module name without any suffix means latest frozen version. But wrt modules for C++ and NDK, module name with latest frozen version is not available for now. In b/139280289, more background is explained Test: m Bug: 139280289 Change-Id: Ib38e2cb114cc373ef50652f421ddaff9b4fbe5b9 Merged-In: Ib38e2cb114cc373ef50652f421ddaff9b4fbe5b9
73 lines
1.8 KiB
Plaintext
73 lines
1.8 KiB
Plaintext
//########################################################################
|
|
// Build FrameworksNetTests package
|
|
//########################################################################
|
|
java_defaults {
|
|
name: "FrameworksNetTests-jni-defaults",
|
|
jni_libs: [
|
|
"ld-android",
|
|
"libbacktrace",
|
|
"libbase",
|
|
"libbinder",
|
|
"libbinderthreadstate",
|
|
"libbpf",
|
|
"libbpf_android",
|
|
"libc++",
|
|
"libcgrouprc",
|
|
"libcrypto",
|
|
"libcutils",
|
|
"libdl_android",
|
|
"libhidl-gen-utils",
|
|
"libhidlbase",
|
|
"libjsoncpp",
|
|
"liblog",
|
|
"liblzma",
|
|
"libnativehelper",
|
|
"libnetdbpf",
|
|
"libnetdutils",
|
|
"libnetworkstatsfactorytestjni",
|
|
"libpackagelistparser",
|
|
"libpcre2",
|
|
"libprocessgroup",
|
|
"libselinux",
|
|
"libtinyxml2",
|
|
"libui",
|
|
"libunwindstack",
|
|
"libutils",
|
|
"libutilscallstack",
|
|
"libvndksupport",
|
|
"libziparchive",
|
|
"libz",
|
|
"netd_aidl_interface-cpp",
|
|
],
|
|
}
|
|
|
|
android_test {
|
|
name: "FrameworksNetTests",
|
|
defaults: ["FrameworksNetTests-jni-defaults"],
|
|
srcs: [
|
|
":tethering-tests-src",
|
|
"java/**/*.java",
|
|
"java/**/*.kt",
|
|
],
|
|
platform_apis: true,
|
|
test_suites: ["device-tests"],
|
|
certificate: "platform",
|
|
static_libs: [
|
|
"androidx.test.rules",
|
|
"FrameworksNetCommonTests",
|
|
"frameworks-base-testutils",
|
|
"frameworks-net-integration-testutils",
|
|
"framework-protos",
|
|
"mockito-target-minus-junit4",
|
|
"net-tests-utils",
|
|
"platform-test-annotations",
|
|
"services.core",
|
|
"services.net",
|
|
],
|
|
libs: [
|
|
"android.test.runner",
|
|
"android.test.base",
|
|
"android.test.mock",
|
|
],
|
|
}
|