| //######################################################################## |
| // Build FrameworksNetTests package |
| //######################################################################## |
| java_defaults { |
| name: "FrameworksNetTests-jni-defaults", |
| jni_libs: [ |
| "ld-android", |
| "libbacktrace", |
| "libbase", |
| "libbinder", |
| "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-V5-cpp", |
| ], |
| } |
| |
| android_test { |
| name: "FrameworksNetTests", |
| defaults: ["FrameworksNetTests-jni-defaults"], |
| srcs: [ |
| "java/**/*.java", |
| "java/**/*.kt", |
| ], |
| platform_apis: true, |
| test_suites: ["device-tests"], |
| certificate: "platform", |
| jarjar_rules: "jarjar-rules.txt", |
| static_libs: [ |
| "androidx.test.rules", |
| "bouncycastle-repackaged-unbundled", |
| "FrameworksNetCommonTests", |
| "frameworks-base-testutils", |
| "frameworks-net-integration-testutils", |
| "framework-protos", |
| "mockito-target-minus-junit4", |
| "net-tests-utils", |
| "platform-test-annotations", |
| "service-connectivity", |
| "services.core", |
| "services.net", |
| ], |
| libs: [ |
| "android.net.ipsec.ike.stubs.module_lib", |
| "android.test.runner", |
| "android.test.base", |
| "android.test.mock", |
| ], |
| jni_libs: [ |
| "libservice-connectivity", |
| ], |
| } |