1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "packages_providers_ContactsProvider_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: [ 8 "packages_providers_ContactsProvider_license", 9 ], 10} 11 12android_test { 13 name: "ContactsProviderTests", 14 static_libs: [ 15 "ContactsProviderTestUtils", 16 "androidx.test.rules", 17 "mockito-target-minus-junit4", 18 ], 19 libs: [ 20 "android.test.runner", 21 "android.test.base", 22 "android.test.mock", 23 ], 24 25 // Only compile source java files in this apk. 26 srcs: ["src/**/*.java"], 27 platform_apis: true, 28 test_suites: ["device-tests"], 29 instrumentation_for: "ContactsProvider", 30 certificate: "shared", 31 optimize: { 32 enabled: false, 33 }, 34} 35