| //######################################################################## |
| // Build MediaProjectionTests package |
| //######################################################################## |
| |
| package { |
| default_team: "trendy_team_lse_desktop_os_experience", |
| // 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", |
| "frameworks-base-testutils", |
| "mockito-target-extended-minus-junit4", |
| "platform-test-annotations", |
| "testng", |
| "testables", |
| "truth", |
| "platform-compat-test-rules", |
| ], |
| |
| // Needed for mockito-target-extended-minus-junit4 |
| jni_libs: [ |
| "libdexmakerjvmtiagent", |
| "libstaticjvmtiagent", |
| ], |
| |
| test_suites: ["device-tests"], |
| |
| platform_apis: true, |
| |
| certificate: "platform", |
| } |