1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "packages_apps_Contacts_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
// SPDX-license-identifier-CC-BY
default_applicable_licenses: [
"packages_apps_Contacts_license",
"Android-Apache-2.0",
],
}
android_test {
name: "ContactsTests",
certificate: "shared",
srcs: ["src/**/*.java"],
instrumentation_for: "Contacts",
sdk_version: "current",
min_sdk_version: "21",
static_libs: [
"androidx.test.rules",
"androidx.test.runner",
"androidx.test.ext.junit",
"hamcrest-library",
"mockito-target-minus-junit4",
"ub-uiautomator",
],
libs: [
"android.test.runner.stubs",
"android.test.base.stubs",
"android.test.mock.stubs",
],
test_suites: ["general-tests"],
}
|