| package { |
| // See: http://go/android-license-faq |
| // A large-scale-change added 'default_applicable_licenses' to import |
| // all of the 'license_kinds' from "packages_providers_ContactsProvider_license" |
| // to get the below license kinds: |
| // SPDX-license-identifier-Apache-2.0 |
| default_applicable_licenses: [ |
| "packages_providers_ContactsProvider_license", |
| ], |
| } |
| |
| android_test { |
| name: "ContactsProviderTests", |
| static_libs: [ |
| "ContactsProviderTestUtils", |
| "androidx.test.rules", |
| "mockito-target-minus-junit4", |
| ], |
| 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, |
| }, |
| } |