blob: 0792e8b272a889aeb82a4f79113cf01859fef65a [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 Borgesda5136e2021-01-26 16:33:09 +010021 test_config: "AndroidTest.xml",
Nataniel Borges2b707c52020-08-24 20:54:35 +020022 platform_apis: true,
23 certificate: "platform",
24 test_suites: ["device-tests"],
25 libs: ["android.test.runner"],
26 static_libs: [
27 "androidx.test.ext.junit",
28 "flickertestapplib",
29 "flickerlib",
30 "truth-prebuilt",
Nataniel Borges2b707c52020-08-24 20:54:35 +020031 "launcher-helper-lib",
Yuncheol Heoc24dfb62020-09-09 17:09:10 -070032 "launcher-aosp-tapl",
33 "platform-test-annotations",
Nataniel Borges2b707c52020-08-24 20:54:35 +020034 ],
Nataniel Borges57e7fe042020-09-30 16:41:35 +020035}
36
37java_library {
38 name: "wm-flicker-common-assertions",
39 platform_apis: true,
Antonella Dellanzo941c3b82020-10-28 18:43:28 +010040 srcs: [
41 "src/**/*Assertions.java",
42 "src/**/*Assertions.kt",
43 ],
Nataniel Borges57e7fe042020-09-30 16:41:35 +020044 exclude_srcs: [
45 "**/helpers/*",
46 ],
47 static_libs: [
48 "flickerlib",
49 "truth-prebuilt",
50 "app-helpers-core"
51 ],
Antonella Dellanzo941c3b82020-10-28 18:43:28 +010052}
53
54java_library {
55 name: "wm-flicker-common-app-helpers",
56 platform_apis: true,
57 srcs: [
58 "**/helpers/*"
59 ],
60 static_libs: [
61 "flickerlib",
Nataniel Borges143d5842020-12-15 14:36:03 +010062 "flickertestapplib",
Antonella Dellanzo941c3b82020-10-28 18:43:28 +010063 "truth-prebuilt",
64 "app-helpers-core"
65 ],
Nataniel Borges2b707c52020-08-24 20:54:35 +020066}