blob: a53ea16ba7c4843a65bb8f8f800c02c57019c813 [file] [log] [blame]
Sasha Smundak89414e12019-03-10 19:48:23 -07001//
2// Copyright (C) 2018 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_test {
18 name: "FlickerTests",
Nataniel Borgesc0254c82020-06-03 16:08:42 +020019 srcs: ["src/**/*.java", "src/**/*.kt"],
Nataniel Borges2fd569d2020-04-20 14:16:15 +020020 manifest: "AndroidManifest.xml",
Nataniel Borges2b707c52020-08-24 20:54:35 +020021 test_config: "AndroidTestPhysicalDevices.xml",
Sasha Smundak89414e12019-03-10 19:48:23 -070022 platform_apis: true,
23 certificate: "platform",
24 test_suites: ["device-tests"],
25 libs: ["android.test.runner"],
26 static_libs: [
Nataniel Borgesb8b5eb02020-07-13 16:33:01 +020027 "androidx.test.ext.junit",
Sasha Smundak89414e12019-03-10 19:48:23 -070028 "flickertestapplib",
29 "flickerlib",
30 "truth-prebuilt",
Nataniel Borgesf4cf0fb2020-07-17 16:18:28 +020031 "launcher-helper-lib",
Nataniel Borgesff8e08c2020-04-29 15:18:14 +020032 "launcher-aosp-tapl"
Sasha Smundak89414e12019-03-10 19:48:23 -070033 ],
34}
Nataniel Borges2b707c52020-08-24 20:54:35 +020035
36
37android_test {
38 name: "FlickerTestsVirtual",
39 srcs: ["src/**/*.java", "src/**/*.kt"],
40 manifest: "AndroidManifest.xml",
41 test_config: "AndroidTestVirtualDevices.xml",
42 platform_apis: true,
43 certificate: "platform",
44 test_suites: ["device-tests"],
45 libs: ["android.test.runner"],
46 static_libs: [
47 "androidx.test.ext.junit",
48 "flickertestapplib",
49 "flickerlib",
50 "truth-prebuilt",
51 "app-helpers-core",
52 "launcher-helper-lib",
53 "launcher-aosp-tapl"
54 ],
55}