blob: 5345b42cf5fe82093a820310427cf827d6a7a8dd [file] [log] [blame]
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "frameworks_opt_telephony_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
// SPDX-license-identifier-BSD
default_applicable_licenses: ["frameworks_opt_telephony_license"],
}
android_test {
name: "FrameworksTelephonyTests",
// For access hidden connectivity methods in tests
defaults: ["framework-connectivity-test-defaults"],
srcs: ["**/*.java"],
libs: [
"android.test.base",
"android.test.mock",
"android.test.runner",
"ims-common",
"unsupportedappusage",
"telephony-common",
],
static_libs: [
"androidx.test.rules",
"frameworks-base-testutils",
"guava",
"mockito-target-minus-junit4",
"net-tests-utils",
"platform-test-annotations",
"services.core",
"services.net",
"truth-prebuilt",
"testables",
],
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"],
}