blob: 748eb40cb8b884afa978a26890d80f8c7c0fea29 [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
17android_app {
18 name: "WallpaperBackup",
19 srcs: ["src/**/*.java"],
20 optimize: {
21 proguard_flags_files: ["proguard.flags"],
22 },
23 platform_apis: true,
24 certificate: "platform",
25 privileged: false,
26}
Al Sutton196d2752019-11-07 16:42:52 +000027
28android_test {
29 name: "WallpaperBackupAgentTests",
30 manifest: "test/AndroidManifest.xml",
31 test_config: "test/AndroidTest.xml",
32 srcs: [
33 // Include the app source code because the app runs as the system user on-device.
34 "src/**/*.java",
35 "test/src/**/*.java"
36 ],
37 libs: [
38 "android.test.base",
39 "android.test.runner",
40 ],
41 static_libs: [
42 "androidx.test.core",
43 "androidx.test.rules",
44 "mockito-target-minus-junit4",
45 "truth-prebuilt",
46 ],
47 certificate: "platform",
48 platform_apis: true,
49 test_suites: ["device-tests"]
50}