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
|
package {
// See: http://go/android-license-faq
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test {
name: "ContactsProviderTests",
static_libs: [
"ContactsProviderTestUtils",
"androidx.test.rules",
"mockito-target-minus-junit4",
"flag-junit",
"android.content.pm.flags-aconfig-java",
],
libs: [
"android.test.runner",
"android.test.base",
"android.test.mock",
],
// Only compile source java files in this apk.
srcs: ["src/**/*.java"],
platform_apis: true,
test_suites: ["device-tests"],
instrumentation_for: "ContactsProvider",
certificate: "shared",
optimize: {
enabled: false,
},
}
|