blob: 3a260639de0f1eb55d7da0eb707505617196e351 [file] [log] [blame]
Nan Zhang5b1e7c92018-04-13 15:58:29 -07001// 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",
Artur Satayev6aa25ec2019-12-11 16:33:22 +000025 "unsupportedappusage",
Nan Zhang5b1e7c92018-04-13 15:58:29 -070026 ],
27 custom_template: "droiddoc-templates-sdk",
28 installable: false,
29 args: "-stubpackages com.android.uiautomator.core:" +
30 "com.android.uiautomator.testrunner",
31 api_tag_name: "UIAUTOMATOR",
32 api_filename: "uiautomator_api.txt",
33 removed_api_filename: "uiautomator_removed_api.txt",
Colin Cross37d4c002019-03-28 22:31:35 -070034
35 check_api: {
36 current: {
37 api_file: ":uiautomator-current-api",
38 removed_api_file: ":uiautomator-removed-api",
39 },
40 last_released: {
41 api_file: ":uiautomator-last-released-api",
42 removed_api_file: ":uiautomator-removed-api",
43 },
44 },
Nan Zhang5b1e7c92018-04-13 15:58:29 -070045}
46
47java_library_static {
48 name: "android_uiautomator",
49 srcs: [
50 ":uiautomator-stubs-docs",
51 ],
52 libs: [
53 "android.test.runner",
54 "junit",
55 ],
56}
57
58java_library_static {
59 name: "uiautomator.core",
60 srcs: [
61 "core-src/**/*.java",
62 "testrunner-src/**/*.java",
63 ],
64 libs: [
65 "android.test.runner",
66 "android.test.base",
67 ],
68 static_libs: [
69 "junit",
70 ]
71}
Colin Cross37d4c002019-03-28 22:31:35 -070072
73java_library_static {
74 name: "uiautomator.library",
75 srcs: [
76 "core-src/**/*.java",
77 ],
78}