blob: 217a72b90fd4c62d3f7960d1ee88956a355434e6 [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
Bob Badour8a6a2bc2021-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 Smundak89414e12019-03-10 19:48:23 -070026android_test {
27 name: "FlickerTests",
Nataniel Borgesc0254c82020-06-03 16:08:42 +020028 srcs: ["src/**/*.java", "src/**/*.kt"],
Nataniel Borges2fd569d2020-04-20 14:16:15 +020029 manifest: "AndroidManifest.xml",
Nataniel Borgesda5136e2021-01-26 16:33:09 +010030 test_config: "AndroidTest.xml",
Nataniel Borges2b707c52020-08-24 20:54:35 +020031 platform_apis: true,
32 certificate: "platform",
33 test_suites: ["device-tests"],
34 libs: ["android.test.runner"],
35 static_libs: [
36 "androidx.test.ext.junit",
37 "flickertestapplib",
38 "flickerlib",
39 "truth-prebuilt",
Nataniel Borges2b707c52020-08-24 20:54:35 +020040 "launcher-helper-lib",
Yuncheol Heoc24dfb62020-09-09 17:09:10 -070041 "launcher-aosp-tapl",
42 "platform-test-annotations",
Nataniel Borges2b707c52020-08-24 20:54:35 +020043 ],
Nataniel Borges57e7fe042020-09-30 16:41:35 +020044}
45
46java_library {
47 name: "wm-flicker-common-assertions",
48 platform_apis: true,
Antonella Dellanzo941c3b82020-10-28 18:43:28 +010049 srcs: [
50 "src/**/*Assertions.java",
51 "src/**/*Assertions.kt",
52 ],
Nataniel Borges57e7fe042020-09-30 16:41:35 +020053 exclude_srcs: [
54 "**/helpers/*",
55 ],
56 static_libs: [
57 "flickerlib",
58 "truth-prebuilt",
59 "app-helpers-core"
60 ],
Antonella Dellanzo941c3b82020-10-28 18:43:28 +010061}
62
63java_library {
64 name: "wm-flicker-common-app-helpers",
65 platform_apis: true,
66 srcs: [
67 "**/helpers/*"
68 ],
69 static_libs: [
70 "flickerlib",
Nataniel Borges143d5842020-12-15 14:36:03 +010071 "flickertestapplib",
Antonella Dellanzo941c3b82020-10-28 18:43:28 +010072 "truth-prebuilt",
73 "app-helpers-core"
74 ],
Nataniel Borges2b707c52020-08-24 20:54:35 +020075}