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 "frameworks_base_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["frameworks_base_license"], 8} 9 10android_test { 11 name: "ScreenshotHelperTests", 12 13 srcs: [ 14 "src/**/*.java", 15 ], 16 17 static_libs: [ 18 "frameworks-base-testutils", 19 "androidx.test.runner", 20 "androidx.test.rules", 21 "androidx.test.ext.junit", 22 "mockito-target-minus-junit4", 23 "platform-test-annotations", 24 "testng", 25 ], 26 27 libs: [ 28 "android.test.runner", 29 "android.test.base", 30 "android.test.mock", 31 ], 32 33 platform_apis: true, 34 test_suites: ["device-tests"], 35 36 certificate: "platform", 37} 38