xref: /aosp_15_r20/external/robolectric/integration_tests/ctesque/Android.bp (revision e6ba16074e6af37d123cb567d575f496bf0a58ee)
1*e6ba1607SAndroid Build Coastguard Workerpackage {
2*e6ba1607SAndroid Build Coastguard Worker    default_applicable_licenses: ["Android-Apache-2.0"],
3*e6ba1607SAndroid Build Coastguard Worker}
4*e6ba1607SAndroid Build Coastguard Worker
5*e6ba1607SAndroid Build Coastguard Workerandroid_robolectric_test {
6*e6ba1607SAndroid Build Coastguard Worker    name: "CtesqueRoboTests",
7*e6ba1607SAndroid Build Coastguard Worker    srcs: [
8*e6ba1607SAndroid Build Coastguard Worker        "src/sharedTest/**/*.java",
9*e6ba1607SAndroid Build Coastguard Worker        "src/sharedTest/**/*.kt",
10*e6ba1607SAndroid Build Coastguard Worker    ],
11*e6ba1607SAndroid Build Coastguard Worker    exclude_srcs: [
12*e6ba1607SAndroid Build Coastguard Worker        // TODO:  fix missing a local resource
13*e6ba1607SAndroid Build Coastguard Worker        "src/sharedTest/java/android/telephony/PhoneNumberUtilsTest.java",
14*e6ba1607SAndroid Build Coastguard Worker        // TODO:  tries to load the android native runtime and dies
15*e6ba1607SAndroid Build Coastguard Worker        "src/sharedTest/java/android/view/accessibility/AccessibilityNodeInfoTest.java",
16*e6ba1607SAndroid Build Coastguard Worker    ],
17*e6ba1607SAndroid Build Coastguard Worker    static_libs: [
18*e6ba1607SAndroid Build Coastguard Worker        "androidx.core_core",
19*e6ba1607SAndroid Build Coastguard Worker        "androidx.test.uiautomator_uiautomator",
20*e6ba1607SAndroid Build Coastguard Worker        "androidx.test.espresso.core",
21*e6ba1607SAndroid Build Coastguard Worker        "androidx.test.ext.junit",
22*e6ba1607SAndroid Build Coastguard Worker        "androidx.test.ext.truth",
23*e6ba1607SAndroid Build Coastguard Worker    ],
24*e6ba1607SAndroid Build Coastguard Worker    libs: [
25*e6ba1607SAndroid Build Coastguard Worker        "android.test.runner.stubs.system",
26*e6ba1607SAndroid Build Coastguard Worker        "android.test.base.stubs.system",
27*e6ba1607SAndroid Build Coastguard Worker        "android.test.mock.stubs.system",
28*e6ba1607SAndroid Build Coastguard Worker        "truth",
29*e6ba1607SAndroid Build Coastguard Worker        "guava",
30*e6ba1607SAndroid Build Coastguard Worker    ],
31*e6ba1607SAndroid Build Coastguard Worker    upstream: true,
32*e6ba1607SAndroid Build Coastguard Worker    java_resource_dirs: ["src/sharedTest/resources/android"],
33*e6ba1607SAndroid Build Coastguard Worker    instrumentation_for: "GlobalRobolectricTestStub",
34*e6ba1607SAndroid Build Coastguard Worker
35*e6ba1607SAndroid Build Coastguard Worker    strict_mode: false,
36*e6ba1607SAndroid Build Coastguard Worker}
37