1 2 3//########################################################### 4// CarMediaCommon app just for Robolectric test target. # 5//########################################################### 6package { 7 default_applicable_licenses: ["Android-Apache-2.0"], 8} 9 10android_app { 11 name: "CarMediaCommon", 12 13 platform_apis: true, 14 15 privileged: true, 16 17 static_libs: [ 18 "car-apps-common", 19 "car-media-common", 20 ], 21} 22 23//############################################### 24// Car Media Common Robolectric test target. # 25//############################################### 26android_robolectric_test { 27 name: "CarMediaCommonRoboTests", 28 29 srcs: ["src/**/*.java"], 30 31 java_resource_dirs: ["config"], 32 33 // Include the testing libraries 34 libs: [ 35 "android.car", 36 "androidx.arch.core_core-runtime", 37 "androidx.arch.core_core-common", 38 ], 39 40 instrumentation_for: "CarMediaCommon", 41} 42