1//######################################################################## 2// Build FrameworksNetTests package 3//######################################################################## 4java_defaults { 5 name: "FrameworksNetTests-jni-defaults", 6 jni_libs: [ 7 "ld-android", 8 "libbacktrace", 9 "libbase", 10 "libbinder", 11 "libbpf", 12 "libbpf_android", 13 "libc++", 14 "libcgrouprc", 15 "libcrypto", 16 "libcutils", 17 "libdl_android", 18 "libhidl-gen-utils", 19 "libhidlbase", 20 "libjsoncpp", 21 "liblog", 22 "liblzma", 23 "libnativehelper", 24 "libnetdbpf", 25 "libnetdutils", 26 "libnetworkstatsfactorytestjni", 27 "libpackagelistparser", 28 "libpcre2", 29 "libprocessgroup", 30 "libselinux", 31 "libtinyxml2", 32 "libui", 33 "libunwindstack", 34 "libutils", 35 "libutilscallstack", 36 "libvndksupport", 37 "libziparchive", 38 "libz", 39 "netd_aidl_interface-cpp", 40 ], 41} 42 43android_test { 44 name: "FrameworksNetTests", 45 defaults: ["FrameworksNetTests-jni-defaults"], 46 srcs: [ 47 "java/**/*.java", 48 "java/**/*.kt", 49 ], 50 platform_apis: true, 51 test_suites: ["device-tests"], 52 certificate: "platform", 53 static_libs: [ 54 "androidx.test.rules", 55 "FrameworksNetCommonTests", 56 "frameworks-base-testutils", 57 "frameworks-net-integration-testutils", 58 "framework-protos", 59 "mockito-target-minus-junit4", 60 "net-tests-utils", 61 "platform-test-annotations", 62 "services.core", 63 "services.net", 64 ], 65 libs: [ 66 "android.test.runner", 67 "android.test.base", 68 "android.test.mock", 69 ], 70} 71