blob: 52cd7c56491daf170b02d0b865c95a691c406785 [file] [log] [blame]
android_test {
name: "FrameworksTelephonyTests",
srcs: ["**/*.java"],
libs: [
"android.test.base",
"android.test.mock",
"android.test.runner",
"ims-common",
"unsupportedappusage",
],
static_libs: [
"androidx.test.rules",
"frameworks-base-testutils",
"guava",
"mockito-target-minus-junit4",
"net-tests-utils",
"platform-test-annotations",
"services.core",
"services.net",
"telephony-common",
"truth-prebuilt",
"testables",
],
platform_apis: true,
jarjar_rules: ":jarjar-rules-telephony-tests",
test_suites: [
"device-tests",
],
}
genrule {
name: "jarjar-rules-telephony-tests",
srcs: [
// Order matters: test rules override the base ones
"jarjar-rules-tests.txt",
":jarjar-rules-shared",
],
out: ["jarjar-rules-telephony-tests-combined.txt"],
cmd: "cat $(in) > $(out)",
visibility: ["//visibility:private"],
}