Test: builds Change-Id: I93e9cfd968e08f983e3fd9f7196c455c79a0f32d (cherry picked from commit 7c9c12694aec7d688496a634f165661e0681773e)
33 lines
904 B
Text
33 lines
904 B
Text
//########################################################################
|
|
// Build NetworkStaticLibTests package
|
|
//########################################################################
|
|
|
|
android_library {
|
|
name: "NetworkStaticLibTestsLib",
|
|
srcs: ["src/**/*.java","src/**/*.kt"],
|
|
min_sdk_version: "29",
|
|
static_libs: [
|
|
"net-utils-framework-common",
|
|
"androidx.test.rules",
|
|
"net-utils-device-common",
|
|
"net-tests-utils-host-device-common",
|
|
],
|
|
libs: [
|
|
"android.test.runner",
|
|
"android.test.base",
|
|
],
|
|
visibility: [
|
|
"//frameworks/base/packages/Tethering/tests/integration",
|
|
"//packages/modules/NetworkStack/tests/integration",
|
|
]
|
|
}
|
|
|
|
android_test {
|
|
name: "NetworkStaticLibTests",
|
|
certificate: "platform",
|
|
static_libs: [
|
|
"NetworkStaticLibTestsLib",
|
|
],
|
|
test_suites: ["device-tests"],
|
|
}
|
|
|