| package { |
| default_applicable_licenses: ["Android-Apache-2.0"], |
| } |
| |
| android_test { |
| name: "CarRotaryControllerUnitTests", |
| |
| certificate: "platform", |
| |
| srcs: ["src/**/*.java"], |
| |
| libs: [ |
| "android.car-system-stubs", |
| "android.test.runner", |
| "android.test.base", |
| "android.test.mock", |
| ], |
| |
| static_libs: [ |
| "CarRotaryControllerForUnitTesting", |
| "androidx.test.core", |
| "androidx.test.rules", |
| "androidx.test.ext.junit", |
| "androidx.test.ext.truth", |
| "mockito-target-extended-minus-junit4", |
| "platform-test-annotations", |
| "truth-prebuilt", |
| "testng", |
| ], |
| |
| jni_libs: ["libdexmakerjvmtiagent", "libstaticjvmtiagent"], |
| |
| aaptflags: ["--extra-packages com.android.car.rotary"], |
| |
| test_suites: [ |
| "device-tests", |
| "automotive-tests", |
| ], |
| |
| compile_multilib: "both", |
| } |