1android_test { 2 name: "FrameworksTelephonyTests", 3 4 srcs: ["**/*.java"], 5 6 libs: [ 7 "android.test.base", 8 "android.test.mock", 9 "android.test.runner", 10 "ims-common", 11 "unsupportedappusage", 12 ], 13 14 static_libs: [ 15 "androidx.test.rules", 16 "frameworks-base-testutils", 17 "guava", 18 "mockito-target-minus-junit4", 19 "net-tests-utils", 20 "platform-test-annotations", 21 "services.core", 22 "services.net", 23 "telephony-common", 24 "truth-prebuilt", 25 "testables", 26 ], 27 28 platform_apis: true, 29 jarjar_rules: ":jarjar-rules-telephony-tests", 30 31 test_suites: [ 32 "mts", 33 "device-tests", 34 ], 35} 36 37genrule { 38 name: "jarjar-rules-telephony-tests", 39 srcs: [ 40 // Order matters: test rules override the base ones 41 "jarjar-rules-tests.txt", 42 ":jarjar-rules-shared", 43 ], 44 out: ["jarjar-rules-telephony-tests-combined.txt"], 45 cmd: "cat $(in) > $(out)", 46 visibility: ["//visibility:private"], 47} 48