Santiago Etchebehere | ac7512d | 2021-03-04 18:26:29 -0800 | [diff] [blame] | 1 | // Copyright (C) 2021 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 | // |
Bob Badour | 2021dd7 | 2021-03-19 03:57:19 -0700 | [diff] [blame] | 19 | package { |
| 20 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 21 | } |
| 22 | |
Santiago Etchebehere | ac7512d | 2021-03-04 18:26:29 -0800 | [diff] [blame] | 23 | android_test { |
| 24 | name: "WallpaperPicker2Tests", |
| 25 | |
Chris Poultney | 02698d8 | 2022-09-20 18:28:35 +0000 | [diff] [blame] | 26 | defaults: ["WallpaperPicker2_defaults"], |
Santiago Etchebehere | ac7512d | 2021-03-04 18:26:29 -0800 | [diff] [blame] | 27 | srcs: [ |
| 28 | "src/**/*.java", |
| 29 | "src/**/*.kt", |
| 30 | ], |
Chris Poultney | 02698d8 | 2022-09-20 18:28:35 +0000 | [diff] [blame] | 31 | static_libs: [ |
| 32 | "androidx.annotation_annotation", |
| 33 | "androidx.test.espresso.core", |
| 34 | "androidx.test.espresso.contrib", |
| 35 | "androidx.test.espresso.intents", |
| 36 | "androidx.test.rules", |
| 37 | "hamcrest-library", |
| 38 | "hamcrest", |
| 39 | "mockito-target-minus-junit4", |
| 40 | "ub-uiautomator", |
| 41 | "junit", |
| 42 | ], |
| 43 | libs: [ |
| 44 | "android.test.runner", |
| 45 | "android.test.base", |
| 46 | "android.test.mock", |
| 47 | ], |
Santiago Etchebehere | ac7512d | 2021-03-04 18:26:29 -0800 | [diff] [blame] | 48 | |
Chris Poultney | 02698d8 | 2022-09-20 18:28:35 +0000 | [diff] [blame] | 49 | platform_apis: true, |
| 50 | test_suites: ["device-tests"], |
Santiago Etchebehere | ac7512d | 2021-03-04 18:26:29 -0800 | [diff] [blame] | 51 | } |