1//######################################################################## 2// Build MediaProjectionTests package 3//######################################################################## 4 5package { 6 default_team: "trendy_team_lse_desktop_os_experience", 7 // See: http://go/android-license-faq 8 // A large-scale-change added 'default_applicable_licenses' to import 9 // all of the 'license_kinds' from "frameworks_base_license" 10 // to get the below license kinds: 11 // SPDX-license-identifier-Apache-2.0 12 default_applicable_licenses: ["frameworks_base_license"], 13} 14 15android_test { 16 name: "MediaProjectionTests", 17 18 srcs: ["**/*.java"], 19 20 libs: [ 21 "android.test.base", 22 "android.test.mock", 23 "android.test.runner", 24 ], 25 26 static_libs: [ 27 "androidx.test.runner", 28 "androidx.test.rules", 29 "androidx.test.ext.junit", 30 "frameworks-base-testutils", 31 "mockito-target-extended-minus-junit4", 32 "platform-test-annotations", 33 "testng", 34 "testables", 35 "truth", 36 "platform-compat-test-rules", 37 ], 38 39 // Needed for mockito-target-extended-minus-junit4 40 jni_libs: [ 41 "libdexmakerjvmtiagent", 42 "libstaticjvmtiagent", 43 ], 44 45 test_suites: ["device-tests"], 46 47 platform_apis: true, 48 49 certificate: "platform", 50} 51