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 15droiddoc { 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 "unsupportedappusage", 26 ], 27 custom_template: "droiddoc-templates-sdk", 28 installable: false, 29 args: "-stubpackages com.android.uiautomator.core:" + 30 "com.android.uiautomator.testrunner", 31 32 check_api: { 33 current: { 34 api_file: ":uiautomator-current-api", 35 removed_api_file: ":uiautomator-removed-api", 36 }, 37 last_released: { 38 api_file: ":uiautomator-last-released-api", 39 removed_api_file: ":uiautomator-removed-api", 40 }, 41 }, 42} 43 44java_library_static { 45 name: "android_uiautomator", 46 srcs: [ 47 ":uiautomator-stubs-docs", 48 ], 49 libs: [ 50 "android.test.runner", 51 "junit", 52 ], 53} 54 55java_library_static { 56 name: "uiautomator.core", 57 srcs: [ 58 "core-src/**/*.java", 59 "testrunner-src/**/*.java", 60 ], 61 libs: [ 62 "android.test.runner", 63 "android.test.base", 64 ], 65 static_libs: [ 66 "junit", 67 ] 68} 69 70java_library_static { 71 name: "uiautomator.library", 72 srcs: [ 73 "core-src/**/*.java", 74 ], 75} 76