Nan Zhang | 5b1e7c9 | 2018-04-13 15:58:29 -0700 | [diff] [blame] | 1 | // Copyright (C) 2012 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | droiddoc { |
| 16 | name: "uiautomator-stubs-docs", |
| 17 | srcs: [ |
| 18 | "core-src/**/*.java", |
| 19 | "testrunner-src/**/*.java", |
| 20 | ], |
| 21 | libs: [ |
| 22 | "android.test.runner", |
| 23 | "junit", |
| 24 | "android.test.base", |
| 25 | ], |
| 26 | custom_template: "droiddoc-templates-sdk", |
| 27 | installable: false, |
| 28 | args: "-stubpackages com.android.uiautomator.core:" + |
| 29 | "com.android.uiautomator.testrunner", |
| 30 | api_tag_name: "UIAUTOMATOR", |
| 31 | api_filename: "uiautomator_api.txt", |
| 32 | removed_api_filename: "uiautomator_removed_api.txt", |
Colin Cross | 37d4c00 | 2019-03-28 22:31:35 -0700 | [diff] [blame] | 33 | |
| 34 | check_api: { |
| 35 | current: { |
| 36 | api_file: ":uiautomator-current-api", |
| 37 | removed_api_file: ":uiautomator-removed-api", |
| 38 | }, |
| 39 | last_released: { |
| 40 | api_file: ":uiautomator-last-released-api", |
| 41 | removed_api_file: ":uiautomator-removed-api", |
| 42 | }, |
| 43 | }, |
Nan Zhang | 5b1e7c9 | 2018-04-13 15:58:29 -0700 | [diff] [blame] | 44 | } |
| 45 | |
| 46 | java_library_static { |
| 47 | name: "android_uiautomator", |
| 48 | srcs: [ |
| 49 | ":uiautomator-stubs-docs", |
| 50 | ], |
| 51 | libs: [ |
| 52 | "android.test.runner", |
| 53 | "junit", |
| 54 | ], |
| 55 | } |
| 56 | |
| 57 | java_library_static { |
| 58 | name: "uiautomator.core", |
| 59 | srcs: [ |
| 60 | "core-src/**/*.java", |
| 61 | "testrunner-src/**/*.java", |
| 62 | ], |
| 63 | libs: [ |
| 64 | "android.test.runner", |
| 65 | "android.test.base", |
| 66 | ], |
| 67 | static_libs: [ |
| 68 | "junit", |
| 69 | ] |
| 70 | } |
Colin Cross | 37d4c00 | 2019-03-28 22:31:35 -0700 | [diff] [blame] | 71 | |
| 72 | java_library_static { |
| 73 | name: "uiautomator.library", |
| 74 | srcs: [ |
| 75 | "core-src/**/*.java", |
| 76 | ], |
| 77 | } |