Colin Cross | 7ed0df6 | 2018-08-20 13:19:33 -0700 | [diff] [blame] | 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 | |
| 17 | java_library { |
| 18 | name: "app-helpers-common-interfaces", |
| 19 | libs: ["ub-uiautomator"], |
| 20 | static_libs: ["app-helpers-core"], |
| 21 | srcs: ["common/**/*.java"], |
| 22 | sdk_version: "test_current", |
| 23 | } |
| 24 | |
| 25 | //##################################### |
| 26 | |
| 27 | java_library { |
| 28 | name: "app-helpers-auto-interfaces", |
| 29 | libs: [ |
| 30 | "ub-uiautomator", |
| 31 | "app-helpers-core", |
Tongfei Guo | adfee15 | 2019-08-12 10:54:27 -0700 | [diff] [blame] | 32 | "androidx.test.runner", |
Colin Cross | 7ed0df6 | 2018-08-20 13:19:33 -0700 | [diff] [blame] | 33 | ], |
| 34 | static_libs: ["app-helpers-common-interfaces"], |
Tongfei Guo | adfee15 | 2019-08-12 10:54:27 -0700 | [diff] [blame] | 35 | srcs: ["auto/**/*.java", "handheld/**/INotificationHelper.java"], |
Colin Cross | 7ed0df6 | 2018-08-20 13:19:33 -0700 | [diff] [blame] | 36 | sdk_version: "test_current", |
| 37 | } |
| 38 | |
| 39 | //##################################### |
| 40 | |
| 41 | java_library { |
| 42 | name: "app-helpers-clockwork-interfaces", |
| 43 | libs: [ |
| 44 | "ub-uiautomator", |
| 45 | "app-helpers-core", |
| 46 | ], |
| 47 | static_libs: ["app-helpers-common-interfaces"], |
| 48 | srcs: ["clockwork/**/*.java"], |
| 49 | sdk_version: "test_current", |
| 50 | } |
| 51 | |
| 52 | //##################################### |
| 53 | |
| 54 | java_library { |
| 55 | name: "app-helpers-handheld-interfaces", |
| 56 | libs: [ |
| 57 | "ub-uiautomator", |
| 58 | "app-helpers-core", |
| 59 | ], |
Lucas Dupin | c376b29 | 2019-10-23 09:20:02 -0700 | [diff] [blame] | 60 | static_libs: [ |
| 61 | "app-helpers-common-interfaces", |
| 62 | "androidx.annotation_annotation" |
| 63 | ], |
Colin Cross | 7ed0df6 | 2018-08-20 13:19:33 -0700 | [diff] [blame] | 64 | srcs: ["handheld/**/*.java"], |
| 65 | sdk_version: "test_current", |
| 66 | } |
| 67 | |
| 68 | //##################################### |
| 69 | |
| 70 | java_library { |
| 71 | name: "app-helpers-tv-interfaces", |
| 72 | libs: [ |
| 73 | "ub-uiautomator", |
| 74 | "app-helpers-core", |
| 75 | "launcher-helper-lib", |
| 76 | ], |
| 77 | static_libs: [ |
| 78 | "app-helpers-common-interfaces", |
| 79 | "dpad-util", |
| 80 | ], |
| 81 | srcs: ["tv/**/*.java"], |
| 82 | sdk_version: "test_current", |
| 83 | } |