Original change: https://android-review.googlesource.com/c/platform/packages/apps/WallpaperPicker2/+/3248208 Change-Id: I19dc18bead8da3724c270b88a720d060048e76ef Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
72 lines
1.8 KiB
Plaintext
72 lines
1.8 KiB
Plaintext
// Copyright (C) 2021 The Android Open Source Project
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
//
|
|
|
|
//
|
|
// Build rule for WallpaperPicker2 tests
|
|
//
|
|
package {
|
|
default_team: "trendy_team_customization_picker",
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
filegroup {
|
|
name: "WallpaperPicker2Tests_srcs",
|
|
|
|
visibility: [
|
|
"//visibility:public",
|
|
],
|
|
|
|
srcs: [
|
|
"src/**/*.java",
|
|
"src/**/*.kt",
|
|
],
|
|
}
|
|
|
|
android_test {
|
|
name: "WallpaperPicker2Tests",
|
|
|
|
defaults: ["WallpaperPicker2_defaults"],
|
|
srcs: [
|
|
":WallpaperPicker2Tests_srcs",
|
|
],
|
|
static_libs: [
|
|
"WallpaperPicker2TestLib",
|
|
"WallpaperPicker2TestModule",
|
|
"WallpaperPicker2TestRunner",
|
|
"androidx.test.espresso.core",
|
|
"androidx.test.espresso.contrib",
|
|
"androidx.test.espresso.intents",
|
|
"androidx.test.ext.junit",
|
|
"androidx.test.rules",
|
|
"hamcrest-library",
|
|
"hamcrest",
|
|
"hilt_android",
|
|
"hilt_android_testing",
|
|
"mockito-target-minus-junit4",
|
|
"junit",
|
|
"kotlinx_coroutines_test",
|
|
"truth",
|
|
"flag-junit",
|
|
],
|
|
libs: [
|
|
"android.test.runner.stubs.system",
|
|
"android.test.base.stubs.system",
|
|
"android.test.mock.stubs.system",
|
|
],
|
|
|
|
platform_apis: true,
|
|
test_suites: ["device-tests"],
|
|
}
|