//######################################################################## // Build MediaProjectionTests package //######################################################################## package { // See: http://go/android-license-faq // A large-scale-change added 'default_applicable_licenses' to import // all of the 'license_kinds' from "frameworks_base_license" // to get the below license kinds: // SPDX-license-identifier-Apache-2.0 default_applicable_licenses: ["frameworks_base_license"], } android_test { name: "MediaProjectionTests", srcs: ["**/*.java"], libs: [ "android.test.base", "android.test.mock", "android.test.runner", ], static_libs: [ "androidx.test.runner", "androidx.test.rules", "androidx.test.ext.junit", "mockito-target-extended-minus-junit4", "platform-test-annotations", "testng", "testables", "truth-prebuilt", "platform-compat-test-rules", ], // Needed for mockito-target-extended-minus-junit4 jni_libs: [ "libdexmakerjvmtiagent", "libstaticjvmtiagent", ], test_suites: ["device-tests"], platform_apis: true, certificate: "platform", }