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: "InternalTests", 12 proto: { 13 type: "nano", 14 }, 15 // Include some source files directly to be able to access package members 16 srcs: ["src/**/*.java"], 17 libs: ["android.test.runner"], 18 static_libs: [ 19 "junit", 20 "androidx.test.rules", 21 "mockito-target-minus-junit4", 22 "truth-prebuilt", 23 "platform-test-annotations", 24 ], 25 java_resource_dirs: ["res"], 26 certificate: "platform", 27 platform_apis: true, 28 test_suites: ["device-tests"], 29} 30