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: ["ub-uiautomator"],
24    static_libs: ["app-helpers-core"],
25    srcs: ["common/**/*.java"],
26    sdk_version: "test_current",
27}
28
29//#####################################
30
31java_library {
32    name: "app-helpers-auto-interfaces",
33    libs: [
34        "ub-uiautomator",
35        "app-helpers-core",
36        "androidx.test.runner",
37    ],
38    static_libs: ["app-helpers-common-interfaces"],
39    srcs: ["auto/**/*.java", "handheld/**/INotificationHelper.java"],
40    sdk_version: "test_current",
41}
42
43//#####################################
44
45java_library {
46    name: "app-helpers-clockwork-interfaces",
47    libs: [
48        "ub-uiautomator",
49        "app-helpers-core",
50    ],
51    static_libs: ["app-helpers-common-interfaces"],
52    srcs: ["clockwork/**/*.java"],
53    sdk_version: "test_current",
54}
55
56//#####################################
57
58java_library {
59    name: "app-helpers-handheld-interfaces",
60    libs: [
61        "ub-uiautomator",
62        "app-helpers-core",
63    ],
64    static_libs: [
65        "app-helpers-common-interfaces",
66        "androidx.annotation_annotation"
67    ],
68    srcs: ["handheld/**/*.java"],
69    sdk_version: "test_current",
70}
71
72//#####################################
73
74java_library {
75    name: "app-helpers-tv-interfaces",
76    libs: [
77        "ub-uiautomator",
78        "app-helpers-core",
79        "launcher-helper-lib",
80    ],
81    static_libs: [
82        "app-helpers-common-interfaces",
83        "dpad-util",
84    ],
85    srcs: ["tv/**/*.java"],
86    sdk_version: "test_current",
87}
88