blob: a3440d2a3f1610cb67adf7c658da1843b9f6ef76 [file] [log] [blame]
Bob Badoura3aa3db2021-02-26 02:54:21 -08001// *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS. PLEASE
2// CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
3// DEPENDING ON IT IN YOUR PROJECT. ***
4package {
5 // See: http://go/android-license-faq
6 // A large-scale-change added 'default_applicable_licenses' to import
7 // all of the 'license_kinds' from "prebuilts_sdk_license"
8 // to get the below license kinds:
9 // SPDX-license-identifier-Apache-2.0
10 // SPDX-license-identifier-BSD
11 // SPDX-license-identifier-CC0-1.0
12 // SPDX-license-identifier-OFL (by exception only)
13 // SPDX-license-identifier-Unicode-DFS
14 // legacy_unencumbered
15 default_applicable_licenses: ["prebuilts_sdk_license"],
16}
17
Colin Cross08934012019-04-17 11:12:50 -070018java_sdk_library_import {
19 name: "android.test.base",
Paul Duffin5df59442020-01-31 18:20:23 +000020 public: {
21 jars: ["public/android.test.base.jar"],
22 sdk_version: "current",
23 },
24 system: {
25 jars: ["system/android.test.base.jar"],
26 sdk_version: "system_current",
27 },
28 test: {
29 jars: ["test/android.test.base.jar"],
30 sdk_version: "test_current",
31 },
Colin Cross85c65462019-04-16 13:22:19 -070032}
33
Colin Cross08934012019-04-17 11:12:50 -070034java_sdk_library_import {
35 name: "android.test.runner",
Paul Duffin5df59442020-01-31 18:20:23 +000036 public: {
37 jars: ["public/android.test.runner.jar"],
38 sdk_version: "current",
39 },
40 system: {
41 jars: ["system/android.test.runner.jar"],
42 sdk_version: "system_current",
43 },
44 test: {
45 jars: ["test/android.test.runner.jar"],
46 sdk_version: "test_current",
47 },
Paul Duffin0ce9f442020-01-21 18:34:50 +000048 libs: [
49 "android.test.base",
50 "android.test.mock",
51 ],
Colin Cross85c65462019-04-16 13:22:19 -070052}
53
Colin Cross08934012019-04-17 11:12:50 -070054java_sdk_library_import {
55 name: "android.test.mock",
Paul Duffin5df59442020-01-31 18:20:23 +000056 public: {
57 jars: ["public/android.test.mock.jar"],
58 sdk_version: "current",
59 },
60 system: {
61 jars: ["system/android.test.mock.jar"],
62 sdk_version: "system_current",
63 },
64 test: {
65 jars: ["test/android.test.mock.jar"],
66 sdk_version: "test_current",
67 },
Colin Cross85c65462019-04-16 13:22:19 -070068}
69
Colin Cross08934012019-04-17 11:12:50 -070070java_sdk_library_import {
Paul Duffinfe63c722020-02-05 10:36:20 +000071 name: "com.android.future.usb.accessory",
72 public: {
73 jars: ["public/com.android.future.usb.accessory.jar"],
74 sdk_version: "current",
75 },
76 system: {
77 jars: ["system/com.android.future.usb.accessory.jar"],
78 sdk_version: "system_current",
79 },
80 test: {
81 jars: ["test/com.android.future.usb.accessory.jar"],
82 sdk_version: "test_current",
83 },
84}
85
86java_sdk_library_import {
87 name: "com.android.location.provider",
88 public: {
89 jars: ["public/com.android.location.provider.jar"],
90 sdk_version: "current",
91 },
92 system: {
93 jars: ["system/com.android.location.provider.jar"],
94 sdk_version: "system_current",
95 },
96 test: {
97 jars: ["test/com.android.location.provider.jar"],
98 sdk_version: "test_current",
99 },
100}
101
102java_sdk_library_import {
103 name: "com.android.mediadrm.signer",
104 public: {
105 jars: ["public/com.android.mediadrm.signer.jar"],
106 sdk_version: "current",
107 },
108 system: {
109 jars: ["system/com.android.mediadrm.signer.jar"],
110 sdk_version: "system_current",
111 },
112 test: {
113 jars: ["test/com.android.mediadrm.signer.jar"],
114 sdk_version: "test_current",
115 },
116}
117
118java_sdk_library_import {
119 name: "com.android.media.remotedisplay",
120 public: {
121 jars: ["public/com.android.media.remotedisplay.jar"],
122 sdk_version: "current",
123 },
124 system: {
125 jars: ["system/com.android.media.remotedisplay.jar"],
126 sdk_version: "system_current",
127 },
128 test: {
129 jars: ["test/com.android.media.remotedisplay.jar"],
130 sdk_version: "test_current",
131 },
132}
133
134java_sdk_library_import {
135 name: "com.android.media.tv.remoteprovider",
136 public: {
137 jars: ["public/com.android.media.tv.remoteprovider.jar"],
138 sdk_version: "current",
139 },
140 system: {
141 jars: ["system/com.android.media.tv.remoteprovider.jar"],
142 sdk_version: "system_current",
143 },
144 test: {
145 jars: ["test/com.android.media.tv.remoteprovider.jar"],
146 sdk_version: "test_current",
147 },
148}
149
150java_sdk_library_import {
151 name: "com.android.nfc_extras",
152 public: {
153 jars: ["public/com.android.nfc_extras.jar"],
154 sdk_version: "current",
155 },
156 system: {
157 jars: ["system/com.android.nfc_extras.jar"],
158 sdk_version: "system_current",
159 },
160 test: {
161 jars: ["test/com.android.nfc_extras.jar"],
162 sdk_version: "test_current",
163 },
164}
165
166java_sdk_library_import {
167 name: "javax.obex",
168 public: {
169 jars: ["public/javax.obex.jar"],
170 sdk_version: "current",
171 },
172 system: {
173 jars: ["system/javax.obex.jar"],
174 sdk_version: "system_current",
175 },
176 test: {
177 jars: ["test/javax.obex.jar"],
178 sdk_version: "test_current",
179 },
180}
181
182java_sdk_library_import {
Colin Cross08934012019-04-17 11:12:50 -0700183 name: "org.apache.http.legacy",
Paul Duffin5df59442020-01-31 18:20:23 +0000184 public: {
185 jars: ["public/org.apache.http.legacy.jar"],
186 sdk_version: "current",
187 },
188 system: {
189 jars: ["system/org.apache.http.legacy.jar"],
190 sdk_version: "system_current",
191 },
192 test: {
193 jars: ["test/org.apache.http.legacy.jar"],
194 sdk_version: "test_current",
195 },
Colin Cross85c65462019-04-16 13:22:19 -0700196}
197
Colin Cross85c65462019-04-16 13:22:19 -0700198java_import {
199 name: "android-support-multidex-instrumentation",
200 jars: ["multidex/instrumentation/android-support-multidex-instrumentation.jar"],
201 sdk_version: "current",
202}
203
204java_import {
205 name: "android-support-multidex",
206 jars: ["multidex/library/android-support-multidex.jar"],
207 sdk_version: "current",
208}
Felka Chang5be9f972020-04-15 19:58:06 +0800209
210// To provide apexer_test_host_tool the current android jar file to execute the host test
211filegroup {
212 name: "current_android_jar",
213 srcs: [
214 "public/android.jar",
215 ],
216 visibility: [
217 "//system/apex/apexer",
218 ],
219}