1//
2// Copyright (C) 2017 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
17package {
18    default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
21java_library {
22    name: "app-helpers-common-interfaces",
23    libs: [
24        "ub-uiautomator",
25        "androidx.test.uiautomator_uiautomator",
26    ],
27    static_libs: ["app-helpers-core"],
28    srcs: ["common/**/*.java"],
29    sdk_version: "test_current",
30}
31
32//#####################################
33
34java_library {
35    name: "app-helpers-auto-interfaces",
36    libs: [
37        "androidx.test.runner",
38    ],
39    static_libs: ["app-helpers-core"],
40    srcs: ["auto/**/*.java"],
41    sdk_version: "test_current",
42}
43
44//#####################################
45
46java_library {
47    name: "app-helpers-clockwork-interfaces",
48    libs: [
49        "ub-uiautomator",
50        "app-helpers-core",
51    ],
52    static_libs: ["app-helpers-common-interfaces"],
53    srcs: ["clockwork/**/*.java"],
54    sdk_version: "test_current",
55}
56
57//#####################################
58
59java_library {
60    name: "app-helpers-handheld-interfaces",
61    libs: [
62        "ub-uiautomator",
63        "app-helpers-core",
64        "androidx.test.uiautomator_uiautomator",
65    ],
66    static_libs: [
67        "app-helpers-common-interfaces",
68        "androidx.annotation_annotation"
69    ],
70    srcs: ["handheld/**/*.java"],
71    sdk_version: "test_current",
72}
73
74//#####################################
75
76java_library {
77    name: "app-helpers-tv-interfaces",
78    libs: [
79        "ub-uiautomator",
80        "app-helpers-core",
81        "launcher-helper-lib",
82    ],
83    static_libs: [
84        "app-helpers-common-interfaces",
85        "dpad-util",
86    ],
87    srcs: ["tv/**/*.java"],
88    sdk_version: "test_current",
89}
90
91//#####################################
92
93// Spectatio Interfaces Library
94java_library {
95    name: "spectatio-interfaces-lib",
96    libs: [
97        "ub-uiautomator",
98        "app-helpers-core",
99    ],
100    srcs: ["spectatio/**/*.java"],
101    sdk_version: "test_current",
102}
103
104//#####################################
105