1
2package {
3    default_team: "trendy_team_android_kernel",
4    default_applicable_licenses: ["Android-Apache-2.0"],
5}
6
7android_app {
8    name: "ThemePickerShell",
9    defaults: ["ThemePicker_defaults"],
10    platform_apis: true,
11    static_libs: [
12        "ThemePickerTestLib",
13        "ThemePickerTestModule",
14        "WallpaperPicker2RoboLib",
15    ],
16}
17
18android_robolectric_test {
19    name: "ThemePickerRoboTests",
20    srcs: [
21        "src/**/*.java",
22        "src/**/*.kt",
23    ],
24    java_resource_dirs: ["config"],
25
26    // Do not add picker-related dependencies here. Add them to ThemePickerShell
27    // instead.
28    static_libs: [
29        "androidx.test.rules",
30        "junit",
31        "kotlinx_coroutines_test",
32        "truth",
33        "SystemUICustomizationTestUtils",
34        "ThemePickerApplicationLib",
35        "mockito-robolectric-prebuilt",
36        "mockito-kotlin2",
37        "hilt_android",
38        "hilt_android_testing",
39    ],
40
41    libs: [
42        "androidx.test.core",
43        "androidx.test.runner",
44    ],
45
46    upstream: true,
47
48    instrumentation_for: "ThemePickerShell",
49
50    strict_mode: false,
51}
52