| package { | |
| default_team: "trendy_team_desktop_input", | |
| // 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: "HidTests", | |
| srcs: [ | |
| "src/**/*.aidl", | |
| "src/**/*.java", | |
| "src/**/*.kt", | |
| ], | |
| kotlincflags: [ | |
| "-Werror", | |
| ], | |
| dxflags: ["--core-library"], | |
| platform_apis: true, | |
| certificate: "platform", | |
| static_libs: [ | |
| "junit", | |
| "android.view.flags-aconfig-java", | |
| "androidx.test.core", | |
| "androidx.test.ext.junit", | |
| "androidx.test.rules", | |
| "androidx.test.runner", | |
| "flag-junit", | |
| "mockito-target-extended-minus-junit4", | |
| "platform-test-annotations", | |
| "truth", | |
| ], | |
| jni_libs: [ | |
| // Required for ExtendedMockito | |
| "libdexmakerjvmtiagent", | |
| "libmultiplejvmtiagentsinterferenceagent", | |
| "libstaticjvmtiagent", | |
| ], | |
| test_suites: ["device-tests"], | |
| } |