Chris Poultney | f510906 | 2022-12-20 19:57:42 +0000 | [diff] [blame] | 1 | // Copyright (C) 2022 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | // |
| 15 | |
| 16 | // |
| 17 | // Build rule for WallpaperPicker2 tests |
| 18 | // |
| 19 | package { |
Aditya Choudhary | e97783b | 2024-02-02 13:55:57 +0000 | [diff] [blame^] | 20 | default_team: "trendy_team_customization_picker", |
Chris Poultney | f510906 | 2022-12-20 19:57:42 +0000 | [diff] [blame] | 21 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 22 | } |
| 23 | |
| 24 | android_test { |
| 25 | name: "ThemePickerTests", |
| 26 | |
| 27 | defaults: ["ThemePicker_defaults"], |
| 28 | srcs: [ |
| 29 | "src/**/*.java", |
| 30 | "src/**/*.kt", |
| 31 | ], |
| 32 | static_libs: [ |
| 33 | "WallpaperPicker2TestLib", |
| 34 | "androidx.test.rules", |
| 35 | "junit", |
| 36 | "kotlinx_coroutines_test", |
Krzysztof KosiĆski | 2585ebb | 2023-10-07 00:48:12 +0000 | [diff] [blame] | 37 | "truth", |
Chris Poultney | f510906 | 2022-12-20 19:57:42 +0000 | [diff] [blame] | 38 | ], |
| 39 | libs: [ |
| 40 | "android.test.runner", |
| 41 | "android.test.base", |
| 42 | "android.test.mock", |
| 43 | ], |
| 44 | |
Colin Cross | 9088a45 | 2023-07-19 14:26:55 -0700 | [diff] [blame] | 45 | kotlincflags: ["-Xjvm-default=all"], |
Chris Poultney | f510906 | 2022-12-20 19:57:42 +0000 | [diff] [blame] | 46 | platform_apis: true, |
| 47 | test_suites: ["device-tests"], |
| 48 | } |