android_packages_modules_Co.../staticlibs/tests/unit/Android.bp
Aditya Choudhary 01b5ede2b2 [DON'T BLOCK] Test ownership migration rules
This CL is created as a best effort to migrate test targets
to the new android ownership model. If you find incorrect or unnecessary
attribution in this CL, please create a separate CL to fix that.

For more details please refer to the link below,
<add g3 doc link>

Bug: 304529413
Test: N/A
Change-Id: I243f17b3f0ad7af9ffa15ca242456e36688733f5
Merged-In: I243f17b3f0ad7af9ffa15ca242456e36688733f5
2024-01-31 12:34:50 +00:00

62 lines
1.7 KiB
Text

//########################################################################
// Build NetworkStaticLibTests package
//########################################################################
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_library {
name: "NetworkStaticLibTestsLib",
srcs: [
"src/**/*.java",
"src/**/*.kt",
],
min_sdk_version: "30",
defaults: ["framework-connectivity-test-defaults"],
static_libs: [
"androidx.test.rules",
"mockito-target-extended-minus-junit4",
"netd-client",
"net-tests-utils",
"net-utils-framework-common",
"net-utils-device-common",
"net-utils-device-common-async",
"net-utils-device-common-bpf",
"net-utils-device-common-ip",
"net-utils-device-common-wear",
],
libs: [
"android.test.runner",
"android.test.base",
],
visibility: [
"//frameworks/base/packages/Tethering/tests/integration",
"//packages/modules/Connectivity/tests:__subpackages__",
"//packages/modules/Connectivity/Tethering/tests:__subpackages__",
"//packages/modules/NetworkStack/tests/integration",
],
lint: {
strict_updatability_linting: true,
test: true,
},
}
android_test {
name: "NetworkStaticLibTests",
certificate: "platform",
static_libs: [
"NetworkStaticLibTestsLib",
],
jni_libs: [
// For mockito extended
"libdexmakerjvmtiagent",
"libstaticjvmtiagent",
],
jarjar_rules: "jarjar-rules.txt",
test_suites: ["device-tests"],
lint: {
strict_updatability_linting: true,
},
}