blob: 83ced2c2258fede21a5a918c71813a34e2fe5b57 [file] [log] [blame]
Vaibhav Devmurari7d15fae2023-08-24 14:22:57 +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
Ang Li425f2b2f2023-11-11 04:50:55 +000010filegroup {
11 name: "InputScreenshotTestRNGFiles",
12 srcs: [
13 "src/**/*.java",
14 "src/**/*.kt",
15 ],
16 exclude_srcs: [
17 "src/android/input/screenshot/KeyboardLayoutPreviewAnsiScreenshotTest.kt",
18 "src/android/input/screenshot/KeyboardLayoutPreviewJisScreenshotTest.kt",
19 ],
20}
21
Vaibhav Devmurari7d15fae2023-08-24 14:22:57 +000022android_test {
23 name: "InputScreenshotTests",
24 srcs: [
25 "src/**/*.java",
26 "src/**/*.kt",
27 ],
Ang Li425f2b2f2023-11-11 04:50:55 +000028 exclude_srcs: [
29 "src/android/input/screenshot/package-info.java",
30 ],
Vaibhav Devmurari7d15fae2023-08-24 14:22:57 +000031 platform_apis: true,
32 certificate: "platform",
33 static_libs: [
34 "androidx.arch.core_core-testing",
35 "androidx.compose.ui_ui-test-junit4",
36 "androidx.compose.ui_ui-test-manifest",
37 "androidx.lifecycle_lifecycle-runtime-testing",
38 "androidx.compose.animation_animation",
39 "androidx.compose.material3_material3",
40 "androidx.compose.material_material-icons-extended",
41 "androidx.compose.runtime_runtime",
42 "androidx.compose.runtime_runtime-livedata",
43 "androidx.compose.ui_ui-tooling-preview",
44 "androidx.lifecycle_lifecycle-livedata-ktx",
45 "androidx.lifecycle_lifecycle-runtime-compose",
46 "androidx.navigation_navigation-compose",
Krzysztof Kosiński60b70872023-10-06 20:11:39 +000047 "truth",
Vaibhav Devmurari7d15fae2023-08-24 14:22:57 +000048 "androidx.compose.runtime_runtime",
49 "androidx.test.core",
50 "androidx.test.ext.junit",
51 "androidx.test.ext.truth",
52 "androidx.test.rules",
53 "androidx.test.runner",
54 "androidx.test.uiautomator_uiautomator",
55 "servicestests-utils",
56 "frameworks-base-testutils",
57 "platform-screenshot-diff-core",
58 "hamcrest-library",
59 "kotlin-test",
60 "flag-junit",
Ang Li425f2b2f2023-11-11 04:50:55 +000061 "platform-parametric-runner-lib",
Vaibhav Devmurari7d15fae2023-08-24 14:22:57 +000062 "platform-test-annotations",
63 "services.core.unboosted",
64 "testables",
65 "testng",
Krzysztof Kosiński60b70872023-10-06 20:11:39 +000066 "truth",
Vaibhav Devmurari7d15fae2023-08-24 14:22:57 +000067 ],
68 libs: [
69 "android.test.mock",
70 "android.test.base",
71 ],
72 test_suites: ["device-tests"],
73 compile_multilib: "both",
74 use_embedded_native_libs: false,
75 asset_dirs: ["assets"],
76}