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 ], 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", 33} 34 35java_library_static { 36 name: "android_uiautomator", 37 srcs: [ 38 ":uiautomator-stubs-docs", 39 ], 40 libs: [ 41 "android.test.runner", 42 "junit", 43 ], 44} 45 46java_library_static { 47 name: "uiautomator.core", 48 srcs: [ 49 "core-src/**/*.java", 50 "testrunner-src/**/*.java", 51 ], 52 libs: [ 53 "android.test.runner", 54 "android.test.base", 55 ], 56 static_libs: [ 57 "junit", 58 ] 59} 60