You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.5 KiB

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",
],
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",
],
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"],
}