blob: 1d71f95ef64fa8d84754330a9131033261f7234b [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 Badoure539dba2021-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
Nataniel Borges160b9df2023-05-12 12:29:57 +000026java_defaults {
27 name: "FlickerTestsDefault",
Nataniel Borges2b707c52020-08-24 20:54:35 +020028 platform_apis: true,
29 certificate: "platform",
Nataniel Borges8b59ddb2021-06-17 15:39:20 +020030 optimize: {
31 enabled: false,
32 },
Nataniel Borges2b707c52020-08-24 20:54:35 +020033 test_suites: ["device-tests"],
34 libs: ["android.test.runner"],
35 static_libs: [
36 "androidx.test.ext.junit",
37 "flickertestapplib",
38 "flickerlib",
Nataniel Borges3a989792023-02-23 14:04:46 +000039 "flickerlib-helpers",
Kean Mariottif9969f72023-06-09 12:53:23 +000040 "flickerlib-trace_processor_shell",
Yuncheol Heoc24dfb62020-09-09 17:09:10 -070041 "platform-test-annotations",
Nataniel Borges160b9df2023-05-12 12:29:57 +000042 "wm-flicker-common-app-helpers",
Pablo Gamitoc0ee6302023-07-21 09:55:09 +000043 "wm-shell-flicker-utils",
Nataniel Borges2b707c52020-08-24 20:54:35 +020044 ],
Nataniel Borges07979bd2023-12-04 21:47:00 +000045 data: [":FlickerTestApp"],
Nataniel Borges57e7fe042020-09-30 16:41:35 +020046}
47
48java_library {
49 name: "wm-flicker-common-assertions",
50 platform_apis: true,
Nataniel Borges8b59ddb2021-06-17 15:39:20 +020051 optimize: {
52 enabled: false,
53 },
Antonella Dellanzo941c3b82020-10-28 18:43:28 +010054 srcs: [
55 "src/**/*Assertions.java",
56 "src/**/*Assertions.kt",
57 ],
Nataniel Borges57e7fe042020-09-30 16:41:35 +020058 static_libs: [
59 "flickerlib",
Nataniel Borges3a989792023-02-23 14:04:46 +000060 "flickerlib-helpers",
Krzysztof KosiƄski60b70872023-10-06 20:11:39 +000061 "truth",
Nataniel Borges8b59ddb2021-06-17 15:39:20 +020062 "app-helpers-core",
Nataniel Borges57e7fe042020-09-30 16:41:35 +020063 ],
Antonella Dellanzo941c3b82020-10-28 18:43:28 +010064}
65
Chris Lid498d2f2022-06-28 11:29:40 +080066android_library_import {
67 name: "wm-flicker-window-extensions_nodeps",
68 aars: ["libs/window-extensions-release.aar"],
69 sdk_version: "current",
70}
71
72java_library {
73 name: "wm-flicker-window-extensions",
74 sdk_version: "current",
75 static_libs: [
76 "wm-flicker-window-extensions_nodeps",
77 ],
78 installable: false,
79}
Nataniel Borges84828f92023-11-03 14:39:55 +000080
81java_library {
82 name: "FlickerTestsBase",
83 defaults: ["FlickerTestsDefault"],
84 srcs: ["src/**/*"],
85}