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_apps_Contacts_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 // SPDX-license-identifier-CC-BY 8 default_applicable_licenses: [ 9 "packages_apps_Contacts_license", 10 "Android-Apache-2.0", 11 ], 12} 13 14android_test { 15 name: "ContactsTests", 16 17 certificate: "shared", 18 19 srcs: ["src/**/*.java"], 20 21 instrumentation_for: "Contacts", 22 23 sdk_version: "current", 24 min_sdk_version: "21", 25 26 static_libs: [ 27 "androidx.test.rules", 28 "androidx.test.runner", 29 "androidx.test.ext.junit", 30 "hamcrest-library", 31 "mockito-target-minus-junit4", 32 "androidx.test.uiautomator_uiautomator", 33 ], 34 35 libs: [ 36 "android.test.runner.stubs", 37 "android.test.base.stubs", 38 "android.test.mock.stubs", 39 ], 40 41 test_suites: ["general-tests"], 42} 43