blob: 5301d674bacf97d8ac819b665d9e84964902191e [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 Borges3dab1ea2021-07-28 07:23:14 +000028 srcs: [
29 "src/**/*.java",
30 "src/**/*.kt",
31 ],
Nataniel Borges2fd569d2020-04-20 14:16:15 +020032 manifest: "AndroidManifest.xml",
Nataniel Borgesda5136e2021-01-26 16:33:09 +010033 test_config: "AndroidTest.xml",
Nataniel Borges2b707c52020-08-24 20:54:35 +020034 platform_apis: true,
35 certificate: "platform",
Nataniel Borges3dab1ea2021-07-28 07:23:14 +000036 optimize: {
37 enabled: false,
38 },
Nataniel Borges2b707c52020-08-24 20:54:35 +020039 test_suites: ["device-tests"],
40 libs: ["android.test.runner"],
41 static_libs: [
42 "androidx.test.ext.junit",
43 "flickertestapplib",
44 "flickerlib",
45 "truth-prebuilt",
Nataniel Borges2b707c52020-08-24 20:54:35 +020046 "launcher-helper-lib",
Yuncheol Heoc24dfb62020-09-09 17:09:10 -070047 "launcher-aosp-tapl",
48 "platform-test-annotations",
Nataniel Borges2b707c52020-08-24 20:54:35 +020049 ],
jahinimtiazd8b1dda2023-03-13 23:53:08 +000050 data: [
51 ":FlickerTestApp",
52 ],
Nataniel Borges57e7fe042020-09-30 16:41:35 +020053}
54
55java_library {
56 name: "wm-flicker-common-assertions",
57 platform_apis: true,
Nataniel Borges3dab1ea2021-07-28 07:23:14 +000058 optimize: {
59 enabled: false,
60 },
Antonella Dellanzo941c3b82020-10-28 18:43:28 +010061 srcs: [
62 "src/**/*Assertions.java",
63 "src/**/*Assertions.kt",
64 ],
Nataniel Borges57e7fe042020-09-30 16:41:35 +020065 exclude_srcs: [
66 "**/helpers/*",
67 ],
68 static_libs: [
69 "flickerlib",
70 "truth-prebuilt",
Nataniel Borges3dab1ea2021-07-28 07:23:14 +000071 "app-helpers-core",
Nataniel Borges57e7fe042020-09-30 16:41:35 +020072 ],
Antonella Dellanzo941c3b82020-10-28 18:43:28 +010073}
74
75java_library {
76 name: "wm-flicker-common-app-helpers",
77 platform_apis: true,
Nataniel Borges3dab1ea2021-07-28 07:23:14 +000078 optimize: {
79 enabled: false,
80 },
Antonella Dellanzo941c3b82020-10-28 18:43:28 +010081 srcs: [
Nataniel Borges3dab1ea2021-07-28 07:23:14 +000082 "**/helpers/*",
Antonella Dellanzo941c3b82020-10-28 18:43:28 +010083 ],
84 static_libs: [
85 "flickerlib",
Nataniel Borges143d5842020-12-15 14:36:03 +010086 "flickertestapplib",
Antonella Dellanzo941c3b82020-10-28 18:43:28 +010087 "truth-prebuilt",
Nataniel Borges3dab1ea2021-07-28 07:23:14 +000088 "app-helpers-core",
Antonella Dellanzo941c3b82020-10-28 18:43:28 +010089 ],
Nataniel Borges3dab1ea2021-07-28 07:23:14 +000090}