xref: /aosp_15_r20/prebuilts/sdk/current/Android.bp (revision 344a7f5ef16c479e7a7f54ee6567a9d112f9e72b)
1*344a7f5eSAndroid Build Coastguard Worker// *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS.  PLEASE
2*344a7f5eSAndroid Build Coastguard Worker//     CONSULT THE OWNERS AND [email protected] BEFORE
3*344a7f5eSAndroid Build Coastguard Worker//     DEPENDING ON IT IN YOUR PROJECT. ***
4*344a7f5eSAndroid Build Coastguard Workerpackage {
5*344a7f5eSAndroid Build Coastguard Worker    // See: http://go/android-license-faq
6*344a7f5eSAndroid Build Coastguard Worker    // A large-scale-change added 'default_applicable_licenses' to import
7*344a7f5eSAndroid Build Coastguard Worker    // all of the 'license_kinds' from "prebuilts_sdk_license"
8*344a7f5eSAndroid Build Coastguard Worker    // to get the below license kinds:
9*344a7f5eSAndroid Build Coastguard Worker    //   SPDX-license-identifier-Apache-2.0
10*344a7f5eSAndroid Build Coastguard Worker    //   SPDX-license-identifier-BSD
11*344a7f5eSAndroid Build Coastguard Worker    //   SPDX-license-identifier-CC0-1.0
12*344a7f5eSAndroid Build Coastguard Worker    //   SPDX-license-identifier-OFL (by exception only)
13*344a7f5eSAndroid Build Coastguard Worker    //   SPDX-license-identifier-Unicode-DFS
14*344a7f5eSAndroid Build Coastguard Worker    //   legacy_unencumbered
15*344a7f5eSAndroid Build Coastguard Worker    default_applicable_licenses: ["prebuilts_sdk_license"],
16*344a7f5eSAndroid Build Coastguard Worker}
17*344a7f5eSAndroid Build Coastguard Worker
18*344a7f5eSAndroid Build Coastguard Workerjava_sdk_library_import {
19*344a7f5eSAndroid Build Coastguard Worker    name: "android.test.base",
20*344a7f5eSAndroid Build Coastguard Worker    public: {
21*344a7f5eSAndroid Build Coastguard Worker        jars: ["public/android.test.base.jar"],
22*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "current",
23*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
24*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
25*344a7f5eSAndroid Build Coastguard Worker    },
26*344a7f5eSAndroid Build Coastguard Worker    system: {
27*344a7f5eSAndroid Build Coastguard Worker        jars: ["system/android.test.base.jar"],
28*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "system_current",
29*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
30*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
31*344a7f5eSAndroid Build Coastguard Worker    },
32*344a7f5eSAndroid Build Coastguard Worker    test: {
33*344a7f5eSAndroid Build Coastguard Worker        jars: ["test/android.test.base.jar"],
34*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "test_current",
35*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
36*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
37*344a7f5eSAndroid Build Coastguard Worker    },
38*344a7f5eSAndroid Build Coastguard Worker}
39*344a7f5eSAndroid Build Coastguard Worker
40*344a7f5eSAndroid Build Coastguard Workerjava_sdk_library_import {
41*344a7f5eSAndroid Build Coastguard Worker    name: "android.test.runner",
42*344a7f5eSAndroid Build Coastguard Worker    public: {
43*344a7f5eSAndroid Build Coastguard Worker        jars: ["public/android.test.runner.jar"],
44*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "current",
45*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
46*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
47*344a7f5eSAndroid Build Coastguard Worker    },
48*344a7f5eSAndroid Build Coastguard Worker    system: {
49*344a7f5eSAndroid Build Coastguard Worker        jars: ["system/android.test.runner.jar"],
50*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "system_current",
51*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
52*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
53*344a7f5eSAndroid Build Coastguard Worker    },
54*344a7f5eSAndroid Build Coastguard Worker    test: {
55*344a7f5eSAndroid Build Coastguard Worker        jars: ["test/android.test.runner.jar"],
56*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "test_current",
57*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
58*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
59*344a7f5eSAndroid Build Coastguard Worker    },
60*344a7f5eSAndroid Build Coastguard Worker    libs: [
61*344a7f5eSAndroid Build Coastguard Worker        "android.test.base.stubs.test",
62*344a7f5eSAndroid Build Coastguard Worker        "android.test.mock.stubs.test",
63*344a7f5eSAndroid Build Coastguard Worker    ],
64*344a7f5eSAndroid Build Coastguard Worker}
65*344a7f5eSAndroid Build Coastguard Worker
66*344a7f5eSAndroid Build Coastguard Workerjava_sdk_library_import {
67*344a7f5eSAndroid Build Coastguard Worker    name: "android.test.mock",
68*344a7f5eSAndroid Build Coastguard Worker    public: {
69*344a7f5eSAndroid Build Coastguard Worker        jars: ["public/android.test.mock.jar"],
70*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "current",
71*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
72*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
73*344a7f5eSAndroid Build Coastguard Worker    },
74*344a7f5eSAndroid Build Coastguard Worker    system: {
75*344a7f5eSAndroid Build Coastguard Worker        jars: ["system/android.test.mock.jar"],
76*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "system_current",
77*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
78*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
79*344a7f5eSAndroid Build Coastguard Worker    },
80*344a7f5eSAndroid Build Coastguard Worker    test: {
81*344a7f5eSAndroid Build Coastguard Worker        jars: ["test/android.test.mock.jar"],
82*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "test_current",
83*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
84*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
85*344a7f5eSAndroid Build Coastguard Worker    },
86*344a7f5eSAndroid Build Coastguard Worker}
87*344a7f5eSAndroid Build Coastguard Worker
88*344a7f5eSAndroid Build Coastguard Workerjava_sdk_library_import {
89*344a7f5eSAndroid Build Coastguard Worker    name: "com.android.future.usb.accessory",
90*344a7f5eSAndroid Build Coastguard Worker    public: {
91*344a7f5eSAndroid Build Coastguard Worker        jars: ["public/com.android.future.usb.accessory.jar"],
92*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "current",
93*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
94*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
95*344a7f5eSAndroid Build Coastguard Worker    },
96*344a7f5eSAndroid Build Coastguard Worker    system: {
97*344a7f5eSAndroid Build Coastguard Worker        jars: ["system/com.android.future.usb.accessory.jar"],
98*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "system_current",
99*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
100*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
101*344a7f5eSAndroid Build Coastguard Worker    },
102*344a7f5eSAndroid Build Coastguard Worker    test: {
103*344a7f5eSAndroid Build Coastguard Worker        jars: ["test/com.android.future.usb.accessory.jar"],
104*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "test_current",
105*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
106*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
107*344a7f5eSAndroid Build Coastguard Worker    },
108*344a7f5eSAndroid Build Coastguard Worker}
109*344a7f5eSAndroid Build Coastguard Worker
110*344a7f5eSAndroid Build Coastguard Workerjava_sdk_library_import {
111*344a7f5eSAndroid Build Coastguard Worker    name: "com.android.location.provider",
112*344a7f5eSAndroid Build Coastguard Worker    public: {
113*344a7f5eSAndroid Build Coastguard Worker        jars: ["public/com.android.location.provider.jar"],
114*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "current",
115*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
116*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
117*344a7f5eSAndroid Build Coastguard Worker    },
118*344a7f5eSAndroid Build Coastguard Worker    system: {
119*344a7f5eSAndroid Build Coastguard Worker        jars: ["system/com.android.location.provider.jar"],
120*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "system_current",
121*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
122*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
123*344a7f5eSAndroid Build Coastguard Worker    },
124*344a7f5eSAndroid Build Coastguard Worker    test: {
125*344a7f5eSAndroid Build Coastguard Worker        jars: ["test/com.android.location.provider.jar"],
126*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "test_current",
127*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
128*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
129*344a7f5eSAndroid Build Coastguard Worker    },
130*344a7f5eSAndroid Build Coastguard Worker}
131*344a7f5eSAndroid Build Coastguard Worker
132*344a7f5eSAndroid Build Coastguard Workerjava_sdk_library_import {
133*344a7f5eSAndroid Build Coastguard Worker    name: "com.android.mediadrm.signer",
134*344a7f5eSAndroid Build Coastguard Worker    public: {
135*344a7f5eSAndroid Build Coastguard Worker        jars: ["public/com.android.mediadrm.signer.jar"],
136*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "current",
137*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
138*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
139*344a7f5eSAndroid Build Coastguard Worker    },
140*344a7f5eSAndroid Build Coastguard Worker    system: {
141*344a7f5eSAndroid Build Coastguard Worker        jars: ["system/com.android.mediadrm.signer.jar"],
142*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "system_current",
143*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
144*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
145*344a7f5eSAndroid Build Coastguard Worker    },
146*344a7f5eSAndroid Build Coastguard Worker    test: {
147*344a7f5eSAndroid Build Coastguard Worker        jars: ["test/com.android.mediadrm.signer.jar"],
148*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "test_current",
149*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
150*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
151*344a7f5eSAndroid Build Coastguard Worker    },
152*344a7f5eSAndroid Build Coastguard Worker}
153*344a7f5eSAndroid Build Coastguard Worker
154*344a7f5eSAndroid Build Coastguard Workerjava_sdk_library_import {
155*344a7f5eSAndroid Build Coastguard Worker    name: "com.android.media.remotedisplay",
156*344a7f5eSAndroid Build Coastguard Worker    public: {
157*344a7f5eSAndroid Build Coastguard Worker        jars: ["public/com.android.media.remotedisplay.jar"],
158*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "current",
159*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
160*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
161*344a7f5eSAndroid Build Coastguard Worker    },
162*344a7f5eSAndroid Build Coastguard Worker    system: {
163*344a7f5eSAndroid Build Coastguard Worker        jars: ["system/com.android.media.remotedisplay.jar"],
164*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "system_current",
165*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
166*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
167*344a7f5eSAndroid Build Coastguard Worker    },
168*344a7f5eSAndroid Build Coastguard Worker    test: {
169*344a7f5eSAndroid Build Coastguard Worker        jars: ["test/com.android.media.remotedisplay.jar"],
170*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "test_current",
171*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
172*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
173*344a7f5eSAndroid Build Coastguard Worker    },
174*344a7f5eSAndroid Build Coastguard Worker}
175*344a7f5eSAndroid Build Coastguard Worker
176*344a7f5eSAndroid Build Coastguard Workerjava_sdk_library_import {
177*344a7f5eSAndroid Build Coastguard Worker    name: "com.android.media.tv.remoteprovider",
178*344a7f5eSAndroid Build Coastguard Worker    public: {
179*344a7f5eSAndroid Build Coastguard Worker        jars: ["public/com.android.media.tv.remoteprovider.jar"],
180*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "current",
181*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
182*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
183*344a7f5eSAndroid Build Coastguard Worker    },
184*344a7f5eSAndroid Build Coastguard Worker    system: {
185*344a7f5eSAndroid Build Coastguard Worker        jars: ["system/com.android.media.tv.remoteprovider.jar"],
186*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "system_current",
187*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
188*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
189*344a7f5eSAndroid Build Coastguard Worker    },
190*344a7f5eSAndroid Build Coastguard Worker    test: {
191*344a7f5eSAndroid Build Coastguard Worker        jars: ["test/com.android.media.tv.remoteprovider.jar"],
192*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "test_current",
193*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
194*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
195*344a7f5eSAndroid Build Coastguard Worker    },
196*344a7f5eSAndroid Build Coastguard Worker}
197*344a7f5eSAndroid Build Coastguard Worker
198*344a7f5eSAndroid Build Coastguard Workerjava_sdk_library_import {
199*344a7f5eSAndroid Build Coastguard Worker    name: "com.android.nfc_extras",
200*344a7f5eSAndroid Build Coastguard Worker    public: {
201*344a7f5eSAndroid Build Coastguard Worker        jars: ["public/com.android.nfc_extras.jar"],
202*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "current",
203*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
204*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
205*344a7f5eSAndroid Build Coastguard Worker    },
206*344a7f5eSAndroid Build Coastguard Worker    system: {
207*344a7f5eSAndroid Build Coastguard Worker        jars: ["system/com.android.nfc_extras.jar"],
208*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "system_current",
209*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
210*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
211*344a7f5eSAndroid Build Coastguard Worker    },
212*344a7f5eSAndroid Build Coastguard Worker    test: {
213*344a7f5eSAndroid Build Coastguard Worker        jars: ["test/com.android.nfc_extras.jar"],
214*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "test_current",
215*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
216*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
217*344a7f5eSAndroid Build Coastguard Worker    },
218*344a7f5eSAndroid Build Coastguard Worker}
219*344a7f5eSAndroid Build Coastguard Worker
220*344a7f5eSAndroid Build Coastguard Workerjava_sdk_library_import {
221*344a7f5eSAndroid Build Coastguard Worker    name: "javax.obex",
222*344a7f5eSAndroid Build Coastguard Worker    public: {
223*344a7f5eSAndroid Build Coastguard Worker        jars: ["public/javax.obex.jar"],
224*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "current",
225*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
226*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
227*344a7f5eSAndroid Build Coastguard Worker    },
228*344a7f5eSAndroid Build Coastguard Worker    system: {
229*344a7f5eSAndroid Build Coastguard Worker        jars: ["system/javax.obex.jar"],
230*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "system_current",
231*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
232*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
233*344a7f5eSAndroid Build Coastguard Worker    },
234*344a7f5eSAndroid Build Coastguard Worker    test: {
235*344a7f5eSAndroid Build Coastguard Worker        jars: ["test/javax.obex.jar"],
236*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "test_current",
237*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
238*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
239*344a7f5eSAndroid Build Coastguard Worker    },
240*344a7f5eSAndroid Build Coastguard Worker}
241*344a7f5eSAndroid Build Coastguard Worker
242*344a7f5eSAndroid Build Coastguard Workerjava_sdk_library_import {
243*344a7f5eSAndroid Build Coastguard Worker    name: "org.apache.http.legacy",
244*344a7f5eSAndroid Build Coastguard Worker    public: {
245*344a7f5eSAndroid Build Coastguard Worker        jars: ["public/org.apache.http.legacy.jar"],
246*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "current",
247*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
248*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
249*344a7f5eSAndroid Build Coastguard Worker    },
250*344a7f5eSAndroid Build Coastguard Worker    system: {
251*344a7f5eSAndroid Build Coastguard Worker        jars: ["system/org.apache.http.legacy.jar"],
252*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "system_current",
253*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
254*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
255*344a7f5eSAndroid Build Coastguard Worker    },
256*344a7f5eSAndroid Build Coastguard Worker    test: {
257*344a7f5eSAndroid Build Coastguard Worker        jars: ["test/org.apache.http.legacy.jar"],
258*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "test_current",
259*344a7f5eSAndroid Build Coastguard Worker        current_api: "placeholder-api.txt",
260*344a7f5eSAndroid Build Coastguard Worker        removed_api: "placeholder-api.txt",
261*344a7f5eSAndroid Build Coastguard Worker    },
262*344a7f5eSAndroid Build Coastguard Worker}
263*344a7f5eSAndroid Build Coastguard Worker
264*344a7f5eSAndroid Build Coastguard Workerjava_sdk_library_import {
265*344a7f5eSAndroid Build Coastguard Worker    name: "com.google.android.wearable",
266*344a7f5eSAndroid Build Coastguard Worker    public: {
267*344a7f5eSAndroid Build Coastguard Worker        jars: ["public/com.google.android.wearable.jar"],
268*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "current",
269*344a7f5eSAndroid Build Coastguard Worker    },
270*344a7f5eSAndroid Build Coastguard Worker    system: {
271*344a7f5eSAndroid Build Coastguard Worker        jars: ["system/com.google.android.wearable.jar"],
272*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "system_current",
273*344a7f5eSAndroid Build Coastguard Worker    },
274*344a7f5eSAndroid Build Coastguard Worker    test: {
275*344a7f5eSAndroid Build Coastguard Worker        jars: ["test/com.google.android.wearable.jar"],
276*344a7f5eSAndroid Build Coastguard Worker        sdk_version: "test_current",
277*344a7f5eSAndroid Build Coastguard Worker    },
278*344a7f5eSAndroid Build Coastguard Worker}
279*344a7f5eSAndroid Build Coastguard Worker
280*344a7f5eSAndroid Build Coastguard Workerjava_import {
281*344a7f5eSAndroid Build Coastguard Worker    name: "android-support-multidex-instrumentation",
282*344a7f5eSAndroid Build Coastguard Worker    jars: ["multidex/instrumentation/android-support-multidex-instrumentation.jar"],
283*344a7f5eSAndroid Build Coastguard Worker    sdk_version: "current",
284*344a7f5eSAndroid Build Coastguard Worker}
285*344a7f5eSAndroid Build Coastguard Worker
286*344a7f5eSAndroid Build Coastguard Workerjava_import {
287*344a7f5eSAndroid Build Coastguard Worker    name: "android-support-multidex",
288*344a7f5eSAndroid Build Coastguard Worker    jars: ["multidex/library/android-support-multidex.jar"],
289*344a7f5eSAndroid Build Coastguard Worker    sdk_version: "current",
290*344a7f5eSAndroid Build Coastguard Worker}
291*344a7f5eSAndroid Build Coastguard Worker
292*344a7f5eSAndroid Build Coastguard Workerjava_import {
293*344a7f5eSAndroid Build Coastguard Worker    name: "android_current",
294*344a7f5eSAndroid Build Coastguard Worker    jars: ["public/android.jar"],
295*344a7f5eSAndroid Build Coastguard Worker    sdk_version: "current",
296*344a7f5eSAndroid Build Coastguard Worker    host_supported: true,
297*344a7f5eSAndroid Build Coastguard Worker    visibility: [
298*344a7f5eSAndroid Build Coastguard Worker        "//external/vogar",
299*344a7f5eSAndroid Build Coastguard Worker    ],
300*344a7f5eSAndroid Build Coastguard Worker}
301*344a7f5eSAndroid Build Coastguard Worker
302*344a7f5eSAndroid Build Coastguard Workerandroid_library_import {
303*344a7f5eSAndroid Build Coastguard Worker    name: "com.android.support.multidex_1.0.3",
304*344a7f5eSAndroid Build Coastguard Worker    aars: ["multidex/multidex-1.0.3.aar"],
305*344a7f5eSAndroid Build Coastguard Worker    sdk_version: "current",
306*344a7f5eSAndroid Build Coastguard Worker    apex_available: [
307*344a7f5eSAndroid Build Coastguard Worker        "//apex_available:platform",
308*344a7f5eSAndroid Build Coastguard Worker        "//apex_available:anyapex",
309*344a7f5eSAndroid Build Coastguard Worker    ],
310*344a7f5eSAndroid Build Coastguard Worker    //min_sdk_version: "19",
311*344a7f5eSAndroid Build Coastguard Worker}
312*344a7f5eSAndroid Build Coastguard Worker
313*344a7f5eSAndroid Build Coastguard Worker// To provide test host tools the current android jar file to execute the host test
314*344a7f5eSAndroid Build Coastguard Workerfilegroup {
315*344a7f5eSAndroid Build Coastguard Worker    name: "current_android_jar",
316*344a7f5eSAndroid Build Coastguard Worker    srcs: [
317*344a7f5eSAndroid Build Coastguard Worker        "public/android.jar",
318*344a7f5eSAndroid Build Coastguard Worker    ],
319*344a7f5eSAndroid Build Coastguard Worker    visibility: [
320*344a7f5eSAndroid Build Coastguard Worker        "//system/apex/apexer", // for apexer_host_test_tools
321*344a7f5eSAndroid Build Coastguard Worker        "//system/apex/tests/testdata/sharedlibs/build:__subpackages__",
322*344a7f5eSAndroid Build Coastguard Worker        "//system/apex/tools", // for apex_compression_test_host_tools
323*344a7f5eSAndroid Build Coastguard Worker        // Access to current_android_jar is necessary for cronet. Chromium's
324*344a7f5eSAndroid Build Coastguard Worker        // jni_generator.py requires the android.jar to be passed via
325*344a7f5eSAndroid Build Coastguard Worker        // --jar-file. At the time the android.jar is used, jni_generator.py
326*344a7f5eSAndroid Build Coastguard Worker        // runs inside a cc_genrule (it generates .h files), so a java_import
327*344a7f5eSAndroid Build Coastguard Worker        // generated by the prebuilt_apis "sdk" target cannot be used.
328*344a7f5eSAndroid Build Coastguard Worker        "//external/cronet",
329*344a7f5eSAndroid Build Coastguard Worker        // In order to test aapt2, it needs to manually build a test app for
330*344a7f5eSAndroid Build Coastguard Worker        // which it needs access to the current android jar.
331*344a7f5eSAndroid Build Coastguard Worker        "//frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest",
332*344a7f5eSAndroid Build Coastguard Worker    ],
333*344a7f5eSAndroid Build Coastguard Worker}
334*344a7f5eSAndroid Build Coastguard Worker
335*344a7f5eSAndroid Build Coastguard Workerfilegroup {
336*344a7f5eSAndroid Build Coastguard Worker    name: "system_android_jar",
337*344a7f5eSAndroid Build Coastguard Worker    srcs: [
338*344a7f5eSAndroid Build Coastguard Worker        "system/android.jar",
339*344a7f5eSAndroid Build Coastguard Worker    ],
340*344a7f5eSAndroid Build Coastguard Worker    visibility: [
341*344a7f5eSAndroid Build Coastguard Worker        "//art/tools/veridex",
342*344a7f5eSAndroid Build Coastguard Worker    ],
343*344a7f5eSAndroid Build Coastguard Worker}
344*344a7f5eSAndroid Build Coastguard Worker
345*344a7f5eSAndroid Build Coastguard Workerfilegroup {
346*344a7f5eSAndroid Build Coastguard Worker    name: "public.org.apache.http.legacy.jar",
347*344a7f5eSAndroid Build Coastguard Worker    srcs: [
348*344a7f5eSAndroid Build Coastguard Worker        "public/org.apache.http.legacy.jar",
349*344a7f5eSAndroid Build Coastguard Worker    ],
350*344a7f5eSAndroid Build Coastguard Worker    visibility: [
351*344a7f5eSAndroid Build Coastguard Worker        "//art/tools/veridex",
352*344a7f5eSAndroid Build Coastguard Worker    ],
353*344a7f5eSAndroid Build Coastguard Worker}
354*344a7f5eSAndroid Build Coastguard Worker
355*344a7f5eSAndroid Build Coastguard Worker//Create a library to expose "prebuilts/sdk/current/support/v7/appcompat/res" to other modules.
356*344a7f5eSAndroid Build Coastguard Workerandroid_library {
357*344a7f5eSAndroid Build Coastguard Worker    name: "sdk_current_support_v7_appcompat_res",
358*344a7f5eSAndroid Build Coastguard Worker    resource_dirs: [
359*344a7f5eSAndroid Build Coastguard Worker        "support/v7/appcompat/res",
360*344a7f5eSAndroid Build Coastguard Worker    ],
361*344a7f5eSAndroid Build Coastguard Worker    manifest: "support/manifests/android-support-v7-appcompat/AndroidManifest.xml",
362*344a7f5eSAndroid Build Coastguard Worker}
363