blob: 798d91097975950a3bf2a8ab459b770ba8edb571 [file] [log] [blame]
Chris Poultneyf5109062022-12-20 19:57:42 +00001// 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//
19package {
Aditya Choudharye97783b2024-02-02 13:55:57 +000020 default_team: "trendy_team_customization_picker",
Chris Poultneyf5109062022-12-20 19:57:42 +000021 default_applicable_licenses: ["Android-Apache-2.0"],
22}
23
24android_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Ƅski2585ebb2023-10-07 00:48:12 +000037 "truth",
Chris Poultneyf5109062022-12-20 19:57:42 +000038 ],
39 libs: [
40 "android.test.runner",
41 "android.test.base",
42 "android.test.mock",
43 ],
44
Colin Cross9088a452023-07-19 14:26:55 -070045 kotlincflags: ["-Xjvm-default=all"],
Chris Poultneyf5109062022-12-20 19:57:42 +000046 platform_apis: true,
47 test_suites: ["device-tests"],
48}