Vaibhav Devmurari | 7d15fae | 2023-08-24 14:22:57 +0000 | [diff] [blame] | 1 | package { |
| 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 Li | 425f2b2f | 2023-11-11 04:50:55 +0000 | [diff] [blame] | 10 | filegroup { |
| 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 Devmurari | 7d15fae | 2023-08-24 14:22:57 +0000 | [diff] [blame] | 22 | android_test { |
| 23 | name: "InputScreenshotTests", |
| 24 | srcs: [ |
| 25 | "src/**/*.java", |
| 26 | "src/**/*.kt", |
| 27 | ], |
Ang Li | 425f2b2f | 2023-11-11 04:50:55 +0000 | [diff] [blame] | 28 | exclude_srcs: [ |
| 29 | "src/android/input/screenshot/package-info.java", |
| 30 | ], |
Vaibhav Devmurari | 7d15fae | 2023-08-24 14:22:57 +0000 | [diff] [blame] | 31 | 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ński | 60b7087 | 2023-10-06 20:11:39 +0000 | [diff] [blame] | 47 | "truth", |
Vaibhav Devmurari | 7d15fae | 2023-08-24 14:22:57 +0000 | [diff] [blame] | 48 | "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 Li | 425f2b2f | 2023-11-11 04:50:55 +0000 | [diff] [blame] | 61 | "platform-parametric-runner-lib", |
Vaibhav Devmurari | 7d15fae | 2023-08-24 14:22:57 +0000 | [diff] [blame] | 62 | "platform-test-annotations", |
| 63 | "services.core.unboosted", |
| 64 | "testables", |
| 65 | "testng", |
Krzysztof Kosiński | 60b7087 | 2023-10-06 20:11:39 +0000 | [diff] [blame] | 66 | "truth", |
Vaibhav Devmurari | 7d15fae | 2023-08-24 14:22:57 +0000 | [diff] [blame] | 67 | ], |
| 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 | } |