blob: 18f783146c7292e41b0ebe82e7791442e4fe3559 [file] [log] [blame]
Sasha Smundakdf848ac2019-02-08 15:13:25 -08001//
2// Copyright (C) 2016 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
Bob Badoure539dba2021-02-12 17:07:05 -080017package {
18 // See: http://go/android-license-faq
19 // A large-scale-change added 'default_applicable_licenses' to import
20 // all of the 'license_kinds' from "frameworks_base_license"
21 // to get the below license kinds:
22 // SPDX-license-identifier-Apache-2.0
23 default_applicable_licenses: ["frameworks_base_license"],
24}
25
Sasha Smundakdf848ac2019-02-08 15:13:25 -080026android_app {
27 name: "WallpaperBackup",
Jeff Sharkeyd23b5372020-10-23 14:30:42 -060028 defaults: ["platform_app_defaults"],
Sasha Smundakdf848ac2019-02-08 15:13:25 -080029 srcs: ["src/**/*.java"],
Sasha Smundakdf848ac2019-02-08 15:13:25 -080030 platform_apis: true,
31 certificate: "platform",
32 privileged: false,
33}
Al Sutton196d2752019-11-07 16:42:52 +000034
35android_test {
36 name: "WallpaperBackupAgentTests",
37 manifest: "test/AndroidManifest.xml",
38 test_config: "test/AndroidTest.xml",
39 srcs: [
40 // Include the app source code because the app runs as the system user on-device.
41 "src/**/*.java",
Niamh Walshe94d9fa2023-01-26 15:47:40 +000042 "test/src/**/*.java",
Al Sutton196d2752019-11-07 16:42:52 +000043 ],
44 libs: [
45 "android.test.base",
46 "android.test.runner",
47 ],
48 static_libs: [
49 "androidx.test.core",
50 "androidx.test.rules",
51 "mockito-target-minus-junit4",
Krzysztof KosiƄski60b70872023-10-06 20:11:39 +000052 "truth",
Al Sutton196d2752019-11-07 16:42:52 +000053 ],
Niamh Walshe94d9fa2023-01-26 15:47:40 +000054 resource_dirs: ["test/res"],
Al Sutton196d2752019-11-07 16:42:52 +000055 certificate: "platform",
56 platform_apis: true,
Niamh Walshe94d9fa2023-01-26 15:47:40 +000057 test_suites: ["device-tests"],
Al Sutton196d2752019-11-07 16:42:52 +000058}