blob: 75a0dcce0b9eeb3e125fde2c4f967f7207568071 [file] [log] [blame]
Helen Qin68e23a02024-01-16 23:55:23 +00001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "frameworks_base_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["frameworks_base_license"],
8}
9
10android_app {
11 name: "CredentialManagerRobo",
12 srcs: [],
13 static_libs: [
14 "SystemUI-core",
15 "CredentialManager-handheld",
16 "ScreenshotComposeUtilsLib",
17 "androidx.test.espresso.core",
18 "androidx.compose.material3_material3",
19 "platform-screenshot-diff-core",
20 ],
21 manifest: "robo-manifest.xml",
22 dont_merge_manifests: true,
23 platform_apis: true,
24 system_ext_specific: true,
25 certificate: "platform",
26 privileged: true,
27 kotlincflags: ["-Xjvm-default=all"],
28 asset_dirs: ["customization/assets"],
29 resource_dirs: ["screenshot/customization/res"],
30 use_resource_processor: true,
31}
32
33// This is a RNG (Robolectric native graphics) test target.
34android_robolectric_test {
35 name: "CredentialManagerScreenshotTest",
36 srcs: [
37 ":CredentialManagerScreenshotTestFiles",
38 ],
39
Helen Qin63413d12024-02-21 04:26:51 +000040 // Do not add any libraries here, instead add them to the ScreenshotTestRobo
Helen Qin68e23a02024-01-16 23:55:23 +000041 static_libs: [
42 "androidx.compose.runtime_runtime",
43 "androidx.test.uiautomator_uiautomator",
44 "androidx.test.ext.junit",
45 "inline-mockito-robolectric-prebuilt",
46 "platform-parametric-runner-lib",
47 "uiautomator-helpers",
Helen Qin63413d12024-02-21 04:26:51 +000048 "flag-junit-base",
Helen Qin68e23a02024-01-16 23:55:23 +000049 ],
50 libs: [
51 "android.test.runner",
52 "android.test.base",
53 "android.test.mock",
54 "truth",
55 ],
56 upstream: true,
57 java_resource_dirs: ["config"],
58 instrumentation_for: "CredentialManagerRobo",
59}