Chris Poultney | 6ac38e7 | 2023-06-30 20:12:39 +0000 | [diff] [blame] | 1 | // Copyright (C) 2023 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 { |
| 20 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 21 | } |
| 22 | |
| 23 | android_library { |
| 24 | name: "ThemePickerTestLib", |
| 25 | |
Chris Poultney | a8996bc | 2024-04-04 22:01:23 +0000 | [diff] [blame] | 26 | defaults: ["ThemePicker_defaults"], |
Chris Poultney | 6ac38e7 | 2023-06-30 20:12:39 +0000 | [diff] [blame] | 27 | srcs: [ |
George Lin | 94eafc1 | 2023-10-04 17:04:33 +0000 | [diff] [blame] | 28 | "src/**/*.java", |
| 29 | "src/**/*.kt", |
Chris Poultney | 6ac38e7 | 2023-06-30 20:12:39 +0000 | [diff] [blame] | 30 | ], |
| 31 | static_libs: [ |
Colin Cross | 08db064 | 2024-01-08 17:10:53 -0800 | [diff] [blame] | 32 | "ThemePickerLib", |
Chris Poultney | 6ac38e7 | 2023-06-30 20:12:39 +0000 | [diff] [blame] | 33 | "WallpaperPicker2TestLib", |
| 34 | "androidx.annotation_annotation", |
| 35 | "kotlinx_coroutines_test", |
Krzysztof KosiĆski | 5c4bc0e | 2023-10-14 00:06:26 +0000 | [diff] [blame] | 36 | "truth", |
Chris Poultney | 6ac38e7 | 2023-06-30 20:12:39 +0000 | [diff] [blame] | 37 | ], |
| 38 | |
| 39 | platform_apis: true, |
| 40 | } |