1package { 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 40 // Do not add any libraries here, instead add them to the ScreenshotTestRobo 41 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", 48 "flag-junit-base", 49 ], 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} 60