blob: 59043a8356ae5fb6c5d69d1ecbaf4214d1a8788c [file] [log] [blame]
Makoto Onuki3aefe332023-10-06 10:02:07 -07001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "frameworks_base_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["frameworks_base_license"],
John Wu98346162024-09-26 22:59:40 +00008
9 // OWNER: g/ravenwood
10 // Bug component: 25698
Makoto Onuki9e4c0722024-10-14 15:32:09 -070011 default_team: "trendy_team_ravenwood",
Makoto Onuki3aefe332023-10-06 10:02:07 -070012}
13
14filegroup {
John Wu25110732024-10-10 22:40:49 +000015 name: "ravenwood-common-policies",
16 srcs: [
17 "texts/ravenwood-common-policies.txt",
18 ],
19 visibility: ["//visibility:private"],
20}
21
22filegroup {
Makoto Onukidfade842024-05-02 15:42:08 -070023 name: "ravenwood-services-policies",
24 srcs: [
25 "texts/ravenwood-services-policies.txt",
26 ],
John Wu2abff412024-10-10 21:58:26 +000027 visibility: ["//visibility:private"],
Makoto Onukidfade842024-05-02 15:42:08 -070028}
29
30filegroup {
31 name: "ravenwood-framework-policies",
32 srcs: [
33 "texts/ravenwood-framework-policies.txt",
34 ],
John Wu2abff412024-10-10 21:58:26 +000035 visibility: ["//visibility:private"],
Makoto Onukidfade842024-05-02 15:42:08 -070036}
37
38filegroup {
39 name: "ravenwood-standard-options",
40 srcs: [
41 "texts/ravenwood-standard-options.txt",
42 ],
John Wu2abff412024-10-10 21:58:26 +000043 visibility: ["//visibility:private"],
Makoto Onukidfade842024-05-02 15:42:08 -070044}
45
46filegroup {
47 name: "ravenwood-annotation-allowed-classes",
48 srcs: [
49 "texts/ravenwood-annotation-allowed-classes.txt",
50 ],
John Wu2abff412024-10-10 21:58:26 +000051 visibility: ["//visibility:private"],
Makoto Onukidfade842024-05-02 15:42:08 -070052}
53
Makoto Onukidf9cd262024-05-16 15:44:38 -070054// This and the next module contain the same classes with different implementations.
55// "ravenwood-runtime-common-device" will be statically linked in device side tests.
56// "ravenwood-runtime-common-ravenwood" will only exist in ravenwood-runtime, which will take
57// precedence even if the test jar (accidentally) contains "ravenwood-runtime-common-device".
58// "ravenwood-runtime-common" uses it to detect if the rutime is Ravenwood or not.
59java_library {
60 name: "ravenwood-runtime-common-ravenwood",
61 host_supported: true,
62 sdk_version: "core_current",
63 srcs: [
64 "runtime-common-ravenwood-src/**/*.java",
65 ],
Makoto Onukid619e432024-07-19 16:45:02 -070066 visibility: [
67 // Some tests need to access the utilities.
68 ":__subpackages__",
69 ],
Makoto Onukidf9cd262024-05-16 15:44:38 -070070}
71
72java_library {
73 name: "ravenwood-runtime-common-device",
74 host_supported: true,
75 sdk_version: "core_current",
76 srcs: [
77 "runtime-common-device-src/**/*.java",
78 ],
79 visibility: ["//visibility:private"],
80}
81
82java_library {
83 name: "ravenwood-runtime-common",
84 host_supported: true,
85 sdk_version: "core_current",
86 srcs: [
87 "runtime-common-src/**/*.java",
88 ],
89 libs: [
90 "ravenwood-runtime-common-ravenwood",
91 ],
John Wu98346162024-09-26 22:59:40 +000092 static_libs: [
93 "framework-annotations-lib", // should it be "libs" instead?
94 ],
Makoto Onukidf9cd262024-05-16 15:44:38 -070095 visibility: ["//visibility:private"],
96}
97
Makoto Onuki053eac82024-02-13 10:31:18 -080098java_library_host {
99 name: "ravenwood-helper-libcore-runtime.host",
100 srcs: [
101 "runtime-helper-src/libcore-fake/**/*.java",
102 ],
Makoto Onuki172f2a02024-10-18 11:03:02 -0700103 libs: [
104 "app-compat-annotations",
105 ],
Makoto Onukidf9cd262024-05-16 15:44:38 -0700106 static_libs: [
107 "ravenwood-runtime-common",
108 ],
Makoto Onuki053eac82024-02-13 10:31:18 -0800109 visibility: ["//visibility:private"],
110}
111
112java_host_for_device {
113 name: "ravenwood-helper-libcore-runtime",
114 libs: [
115 "ravenwood-helper-libcore-runtime.host",
116 ],
117 visibility: ["//visibility:private"],
118}
119
120java_library {
121 name: "ravenwood-helper-framework-runtime",
122 srcs: [
123 "runtime-helper-src/framework/**/*.java",
124 ],
Makoto Onukidf9cd262024-05-16 15:44:38 -0700125 static_libs: [
126 "ravenwood-runtime-common",
Makoto Onuki172f2a02024-10-18 11:03:02 -0700127 "androidx.annotation_annotation",
Makoto Onukidf9cd262024-05-16 15:44:38 -0700128 ],
Makoto Onuki053eac82024-02-13 10:31:18 -0800129 libs: [
130 "framework-minus-apex.ravenwood",
John Wu0bbc5442024-10-17 08:46:06 +0000131 "framework-configinfrastructure.ravenwood",
John Wu98346162024-09-26 22:59:40 +0000132 "ravenwood-helper-libcore-runtime",
Makoto Onuki053eac82024-02-13 10:31:18 -0800133 ],
John Wu98346162024-09-26 22:59:40 +0000134 sdk_version: "core_current",
Makoto Onuki053eac82024-02-13 10:31:18 -0800135 visibility: ["//visibility:private"],
136}
137
138// Combine ravenwood-helper-*-runtime and create a single library, which we include
139// in the ravenwood runtime.
140// We do it this way rather than including the individual jars in the runtime, because
141// for some reason we couldn't include a java_host_for_device module in the ravenwood runtime.
142java_library {
143 name: "ravenwood-helper-runtime",
144 defaults: ["ravenwood-internal-only-visibility-java"],
145 static_libs: [
146 "ravenwood-helper-framework-runtime",
147 "ravenwood-helper-libcore-runtime",
148 ],
149}
150
Jeff Sharkey91f414e2023-11-07 15:43:59 -0700151java_library {
Jeff Sharkey41cfbb32023-11-16 09:26:28 -0700152 name: "ravenwood-junit-impl",
153 srcs: [
154 "junit-src/**/*.java",
155 "junit-impl-src/**/*.java",
156 ],
Jeff Sharkeyc91451a2024-01-29 10:55:45 -0700157 static_libs: [
158 "androidx.test.monitor-for-device",
Makoto Onukidf9cd262024-05-16 15:44:38 -0700159 "ravenwood-runtime-common",
Jeff Sharkeyc91451a2024-01-29 10:55:45 -0700160 ],
Jeff Sharkey91f414e2023-11-07 15:43:59 -0700161 libs: [
Jihoon Kang1e37ed32024-08-30 00:29:12 +0000162 "android.test.mock.impl",
Jeff Sharkey5e210d72023-11-10 11:22:05 -0700163 "framework-minus-apex.ravenwood",
Jeff Sharkey8a922ec2024-02-27 12:36:36 -0700164 "ravenwood-framework",
Jeff Sharkey3e91c2b2024-02-15 14:12:07 -0700165 "services.core.ravenwood",
Jeff Sharkey91f414e2023-11-07 15:43:59 -0700166 "junit",
John Wu98346162024-09-26 22:59:40 +0000167 "framework-annotations-lib",
168 "ravenwood-helper-framework-runtime",
169 "ravenwood-helper-libcore-runtime",
John Wu9c7227e2024-10-09 00:29:02 +0000170 "hoststubgen-helper-runtime.ravenwood",
171 "mockito-ravenwood-prebuilt",
Jeff Sharkey91f414e2023-11-07 15:43:59 -0700172 ],
John Wu768fc682024-10-25 21:16:27 +0000173 visibility: [":__subpackages__"],
Jeff Sharkey3e91c2b2024-02-15 14:12:07 -0700174 jarjar_rules: ":ravenwood-services-jarjar-rules",
Jeff Sharkey41cfbb32023-11-16 09:26:28 -0700175}
176
John Wu98346162024-09-26 22:59:40 +0000177java_device_for_host {
178 name: "ravenwood-junit-impl-for-ravenizer",
179 libs: [
180 "ravenwood-junit-impl",
181 ],
182 visibility: [":__subpackages__"],
183}
184
Makoto Onuki8df6bd02024-08-01 12:38:50 -0700185// Carefully compiles against only module_current to support tests that
Jeff Sharkey41cfbb32023-11-16 09:26:28 -0700186// want to verify they're unbundled. The "impl" library above is what
187// ships inside the Ravenwood environment to actually drive any API
188// access to implementation details.
Makoto Onuki8df6bd02024-08-01 12:38:50 -0700189// We can't use test_current here because this library needs to be statically
190// linked to mainline tests as well, which can't use test APIs because they
191// need to be able to run on multiple API levels.
Jeff Sharkey41cfbb32023-11-16 09:26:28 -0700192java_library {
193 name: "ravenwood-junit",
194 srcs: [
195 "junit-src/**/*.java",
196 "junit-stub-src/**/*.java",
Jeff Sharkey7037e352024-02-27 14:22:24 -0700197 "junit-flag-src/**/*.java",
Jeff Sharkey41cfbb32023-11-16 09:26:28 -0700198 ],
Felipe Lemedfbfb232024-07-23 05:31:38 +0000199 sdk_version: "module_current",
Makoto Onukidf9cd262024-05-16 15:44:38 -0700200 static_libs: [
201 "ravenwood-runtime-common",
202 "ravenwood-runtime-common-device",
203 ],
Jeff Sharkey41cfbb32023-11-16 09:26:28 -0700204 libs: [
205 "junit",
Jeff Sharkey7037e352024-02-27 14:22:24 -0700206 "flag-junit",
John Wu98346162024-09-26 22:59:40 +0000207 "framework-annotations-lib",
Jeff Sharkey41cfbb32023-11-16 09:26:28 -0700208 ],
Jeff Sharkey91f414e2023-11-07 15:43:59 -0700209 visibility: ["//visibility:public"],
210}
Jeff Sharkey4ee8a652023-11-14 08:45:56 -0700211
Jeff Sharkey8a922ec2024-02-27 12:36:36 -0700212// Library used to publish a handful of `android.ravenwood` APIs into
213// the Ravenwood BCP; we don't want to publish these APIs into the BCP
214// on physical devices, which is why this is a separate library
215java_library {
216 name: "ravenwood-framework",
217 srcs: [
218 "framework-src/**/*.java",
219 ],
220 libs: [
221 "framework-minus-apex.ravenwood",
222 ],
223 sdk_version: "core_current",
224 visibility: ["//visibility:public"],
225}
226
Jeff Sharkeyc91451a2024-01-29 10:55:45 -0700227java_host_for_device {
228 name: "androidx.test.monitor-for-device",
229 libs: [
230 "androidx.test.monitor-for-host",
231 ],
232}
233
234java_device_for_host {
235 name: "androidx.test.monitor-for-host",
236 libs: [
237 "androidx.test.monitor",
238 ],
239}
Jeff Sharkey3e91c2b2024-02-15 14:12:07 -0700240
241filegroup {
Makoto Onukif38d5992024-05-30 10:40:50 -0700242 name: "ravenwood-framework-jarjar-rules",
243 srcs: ["texts/ravenwood-framework-jarjar-rules.txt"],
244 visibility: ["//frameworks/base"],
245}
246
247filegroup {
Jeff Sharkey3e91c2b2024-02-15 14:12:07 -0700248 name: "ravenwood-services-jarjar-rules",
Makoto Onukia3fe5622024-03-27 13:08:32 -0700249 srcs: ["texts/ravenwood-services-jarjar-rules.txt"],
Jeff Sharkey3e91c2b2024-02-15 14:12:07 -0700250 visibility: ["//frameworks/base"],
251}
Makoto Onuki3fb1f2b2024-03-27 13:08:32 -0700252
John Wu5e13e252024-09-25 00:43:28 +0000253cc_defaults {
254 name: "ravenwood_jni_defaults",
Makoto Onukiaedf30b2024-05-01 11:16:50 -0700255 cflags: [
256 "-Wall",
257 "-Werror",
258 "-Wno-unused-parameter",
259 "-Wthread-safety",
260 ],
John Wu5e13e252024-09-25 00:43:28 +0000261 static_libs: [
262 "libnativehelper_jvm",
Makoto Onukiaedf30b2024-05-01 11:16:50 -0700263 ],
John Wu5e13e252024-09-25 00:43:28 +0000264 shared_libs: [
265 "liblog",
266 ],
Makoto Onuki371ac3f2024-11-05 09:35:18 -0800267 visibility: ["//visibility:private"],
268}
269
John Wu5e13e252024-09-25 00:43:28 +0000270// We need this as a separate library because we need to overload the
271// sysprop symbols before libbase is loaded into the process
272cc_library_host_shared {
John Wu75068d52024-11-26 01:48:37 +0000273 name: "libravenwood_initializer",
John Wu5e13e252024-09-25 00:43:28 +0000274 defaults: ["ravenwood_jni_defaults"],
John Wu75068d52024-11-26 01:48:37 +0000275 srcs: ["runtime-jni/ravenwood_initializer.cpp"],
John Wu5e13e252024-09-25 00:43:28 +0000276}
277
278cc_library_host_shared {
279 name: "libravenwood_runtime",
280 defaults: ["ravenwood_jni_defaults"],
281 srcs: [
282 "runtime-jni/ravenwood_runtime.cpp",
283 "runtime-jni/ravenwood_os_constants.cpp",
284 ],
Makoto Onukiaedf30b2024-05-01 11:16:50 -0700285 shared_libs: [
286 "libbase",
Makoto Onukiaedf30b2024-05-01 11:16:50 -0700287 "libutils",
288 "libcutils",
289 ],
Makoto Onukiaedf30b2024-05-01 11:16:50 -0700290}
291
Makoto Onuki3fb1f2b2024-03-27 13:08:32 -0700292// For collecting the *stats.csv files in a known directory under out/host/linux-x86/testcases/.
293// The "test" just shows the available stats filenames.
294sh_test_host {
295 name: "ravenwood-stats-checker",
Makoto Onukia3fe5622024-03-27 13:08:32 -0700296 src: "scripts/ravenwood-stats-checker.sh",
Makoto Onuki3fb1f2b2024-03-27 13:08:32 -0700297 test_suites: ["general-tests"],
Cole Faust5aeb9fd2024-10-22 16:30:57 -0700298 device_common_data: [
John Wu98346162024-09-26 22:59:40 +0000299 ":framework-minus-apex.ravenwood-base_all{hoststubgen_framework-minus-apex_stats.csv}",
300 ":framework-minus-apex.ravenwood-base_all{hoststubgen_framework-minus-apex_apis.csv}",
301 ":framework-minus-apex.ravenwood-base_all{hoststubgen_framework-minus-apex_keep_all.txt}",
302 ":framework-minus-apex.ravenwood-base_all{hoststubgen_framework-minus-apex_dump.txt}",
Makoto Onuki134a4152024-06-26 14:21:12 -0700303 ":services.core.ravenwood-base{hoststubgen_services.core_stats.csv}",
304 ":services.core.ravenwood-base{hoststubgen_services.core_apis.csv}",
305 ":services.core.ravenwood-base{hoststubgen_services.core_keep_all.txt}",
306 ":services.core.ravenwood-base{hoststubgen_services.core_dump.txt}",
Makoto Onukib4f5f9e2024-10-22 14:51:17 -0700307
308 ":framework-configinfrastructure.ravenwood-base{framework-configinfrastructure_stats.csv}",
309 ":framework-configinfrastructure.ravenwood-base{framework-configinfrastructure_apis.csv}",
310 ":framework-configinfrastructure.ravenwood-base{framework-configinfrastructure_keep_all.txt}",
311 ":framework-configinfrastructure.ravenwood-base{framework-configinfrastructure_dump.txt}",
312
313 ":framework-statsd.ravenwood-base{framework-statsd_stats.csv}",
314 ":framework-statsd.ravenwood-base{framework-statsd_apis.csv}",
315 ":framework-statsd.ravenwood-base{framework-statsd_keep_all.txt}",
316 ":framework-statsd.ravenwood-base{framework-statsd_dump.txt}",
Makoto Onuki3fb1f2b2024-03-27 13:08:32 -0700317 ],
318}
Makoto Onukie5e97272024-05-23 10:49:31 -0700319
320java_library {
321 name: "services.fakes.ravenwood-jarjar",
322 installable: false,
323 srcs: [":services.fakes-sources"],
324 libs: [
325 "ravenwood-framework",
326 "services.core.ravenwood",
327 ],
328 jarjar_rules: ":ravenwood-services-jarjar-rules",
329 visibility: ["//visibility:private"],
330}
331
332java_library {
333 name: "mockito-ravenwood-prebuilt",
334 installable: false,
335 static_libs: [
336 "mockito-robolectric-prebuilt",
337 ],
338}
339
340java_library {
341 name: "inline-mockito-ravenwood-prebuilt",
342 installable: false,
343 static_libs: [
344 "inline-mockito-robolectric-prebuilt",
345 ],
346}
347
John Wu44386392024-11-01 18:20:48 +0000348filegroup {
349 name: "ravenwood-data",
350 device_common_srcs: [
351 ":system-build.prop",
352 ":framework-res",
353 ":ravenwood-empty-res",
354 ":framework-platform-compat-config",
355 ":services-platform-compat-config",
Makoto Onukib07f68d2024-11-06 12:53:00 -0800356 "texts/ravenwood-build.prop",
John Wu44386392024-11-01 18:20:48 +0000357 ],
358 device_first_srcs: [
359 ":apex_icu.dat",
360 ],
361 visibility: ["//visibility:private"],
362}
363
364// Keep in sync with build/make/target/product/generic/Android.bp
365filegroup {
366 name: "ravenwood-fonts",
367 device_common_srcs: [
368 ":AndroidClock.ttf",
369 ":CarroisGothicSC-Regular.ttf",
370 ":ComingSoon.ttf",
371 ":CutiveMono.ttf",
372 ":DancingScript-Regular.ttf",
373 ":DroidSansMono.ttf",
374 ":NotoColorEmoji.ttf",
375 ":NotoColorEmojiFlags.ttf",
376 ":NotoNaskhArabic-Bold.ttf",
377 ":NotoNaskhArabic-Regular.ttf",
378 ":NotoNaskhArabicUI-Bold.ttf",
379 ":NotoNaskhArabicUI-Regular.ttf",
380 ":NotoSansAdlam-VF.ttf",
381 ":NotoSansAhom-Regular.otf",
382 ":NotoSansAnatolianHieroglyphs-Regular.otf",
383 ":NotoSansArmenian-VF.ttf",
384 ":NotoSansAvestan-Regular.ttf",
385 ":NotoSansBalinese-Regular.ttf",
386 ":NotoSansBamum-Regular.ttf",
387 ":NotoSansBassaVah-Regular.otf",
388 ":NotoSansBatak-Regular.ttf",
389 ":NotoSansBengali-VF.ttf",
390 ":NotoSansBengaliUI-VF.ttf",
391 ":NotoSansBhaiksuki-Regular.otf",
392 ":NotoSansBrahmi-Regular.ttf",
393 ":NotoSansBuginese-Regular.ttf",
394 ":NotoSansBuhid-Regular.ttf",
395 ":NotoSansCJK-Regular.ttc",
396 ":NotoSansCanadianAboriginal-Regular.ttf",
397 ":NotoSansCarian-Regular.ttf",
398 ":NotoSansChakma-Regular.otf",
399 ":NotoSansCham-Bold.ttf",
400 ":NotoSansCham-Regular.ttf",
401 ":NotoSansCherokee-Regular.ttf",
402 ":NotoSansCoptic-Regular.ttf",
403 ":NotoSansCuneiform-Regular.ttf",
404 ":NotoSansCypriot-Regular.ttf",
405 ":NotoSansDeseret-Regular.ttf",
406 ":NotoSansDevanagari-VF.ttf",
407 ":NotoSansDevanagariUI-VF.ttf",
408 ":NotoSansEgyptianHieroglyphs-Regular.ttf",
409 ":NotoSansElbasan-Regular.otf",
410 ":NotoSansEthiopic-VF.ttf",
411 ":NotoSansGeorgian-VF.ttf",
412 ":NotoSansGlagolitic-Regular.ttf",
413 ":NotoSansGothic-Regular.ttf",
414 ":NotoSansGrantha-Regular.ttf",
415 ":NotoSansGujarati-Bold.ttf",
416 ":NotoSansGujarati-Regular.ttf",
417 ":NotoSansGujaratiUI-Bold.ttf",
418 ":NotoSansGujaratiUI-Regular.ttf",
419 ":NotoSansGunjalaGondi-Regular.otf",
420 ":NotoSansGurmukhi-VF.ttf",
421 ":NotoSansGurmukhiUI-VF.ttf",
422 ":NotoSansHanifiRohingya-Regular.otf",
423 ":NotoSansHanunoo-Regular.ttf",
424 ":NotoSansHatran-Regular.otf",
425 ":NotoSansHebrew-Bold.ttf",
426 ":NotoSansHebrew-Regular.ttf",
427 ":NotoSansImperialAramaic-Regular.ttf",
428 ":NotoSansInscriptionalPahlavi-Regular.ttf",
429 ":NotoSansInscriptionalParthian-Regular.ttf",
430 ":NotoSansJavanese-Regular.otf",
431 ":NotoSansKaithi-Regular.ttf",
432 ":NotoSansKannada-VF.ttf",
433 ":NotoSansKannadaUI-VF.ttf",
434 ":NotoSansKayahLi-Regular.ttf",
435 ":NotoSansKharoshthi-Regular.ttf",
436 ":NotoSansKhmer-VF.ttf",
437 ":NotoSansKhmerUI-Bold.ttf",
438 ":NotoSansKhmerUI-Regular.ttf",
439 ":NotoSansKhojki-Regular.otf",
440 ":NotoSansLao-Bold.ttf",
441 ":NotoSansLao-Regular.ttf",
442 ":NotoSansLaoUI-Bold.ttf",
443 ":NotoSansLaoUI-Regular.ttf",
444 ":NotoSansLepcha-Regular.ttf",
445 ":NotoSansLimbu-Regular.ttf",
446 ":NotoSansLinearA-Regular.otf",
447 ":NotoSansLinearB-Regular.ttf",
448 ":NotoSansLisu-Regular.ttf",
449 ":NotoSansLycian-Regular.ttf",
450 ":NotoSansLydian-Regular.ttf",
451 ":NotoSansMalayalam-VF.ttf",
452 ":NotoSansMalayalamUI-VF.ttf",
453 ":NotoSansMandaic-Regular.ttf",
454 ":NotoSansManichaean-Regular.otf",
455 ":NotoSansMarchen-Regular.otf",
456 ":NotoSansMasaramGondi-Regular.otf",
457 ":NotoSansMedefaidrin-VF.ttf",
458 ":NotoSansMeeteiMayek-Regular.ttf",
459 ":NotoSansMeroitic-Regular.otf",
460 ":NotoSansMiao-Regular.otf",
461 ":NotoSansModi-Regular.ttf",
462 ":NotoSansMongolian-Regular.ttf",
463 ":NotoSansMro-Regular.otf",
464 ":NotoSansMultani-Regular.otf",
465 ":NotoSansMyanmar-Bold.otf",
466 ":NotoSansMyanmar-Medium.otf",
467 ":NotoSansMyanmar-Regular.otf",
468 ":NotoSansMyanmarUI-Bold.otf",
469 ":NotoSansMyanmarUI-Medium.otf",
470 ":NotoSansMyanmarUI-Regular.otf",
471 ":NotoSansNKo-Regular.ttf",
472 ":NotoSansNabataean-Regular.otf",
473 ":NotoSansNewTaiLue-Regular.ttf",
474 ":NotoSansNewa-Regular.otf",
475 ":NotoSansOgham-Regular.ttf",
476 ":NotoSansOlChiki-Regular.ttf",
477 ":NotoSansOldItalic-Regular.ttf",
478 ":NotoSansOldNorthArabian-Regular.otf",
479 ":NotoSansOldPermic-Regular.otf",
480 ":NotoSansOldPersian-Regular.ttf",
481 ":NotoSansOldSouthArabian-Regular.ttf",
482 ":NotoSansOldTurkic-Regular.ttf",
483 ":NotoSansOriya-Bold.ttf",
484 ":NotoSansOriya-Regular.ttf",
485 ":NotoSansOriyaUI-Bold.ttf",
486 ":NotoSansOriyaUI-Regular.ttf",
487 ":NotoSansOsage-Regular.ttf",
488 ":NotoSansOsmanya-Regular.ttf",
489 ":NotoSansPahawhHmong-Regular.otf",
490 ":NotoSansPalmyrene-Regular.otf",
491 ":NotoSansPauCinHau-Regular.otf",
492 ":NotoSansPhagsPa-Regular.ttf",
493 ":NotoSansPhoenician-Regular.ttf",
494 ":NotoSansRejang-Regular.ttf",
495 ":NotoSansRunic-Regular.ttf",
496 ":NotoSansSamaritan-Regular.ttf",
497 ":NotoSansSaurashtra-Regular.ttf",
498 ":NotoSansSharada-Regular.otf",
499 ":NotoSansShavian-Regular.ttf",
500 ":NotoSansSinhala-VF.ttf",
501 ":NotoSansSinhalaUI-VF.ttf",
502 ":NotoSansSoraSompeng-Regular.otf",
503 ":NotoSansSoyombo-VF.ttf",
504 ":NotoSansSundanese-Regular.ttf",
505 ":NotoSansSylotiNagri-Regular.ttf",
506 ":NotoSansSymbols-Regular-Subsetted.ttf",
507 ":NotoSansSymbols-Regular-Subsetted2.ttf",
508 ":NotoSansSyriacEastern-Regular.ttf",
509 ":NotoSansSyriacEstrangela-Regular.ttf",
510 ":NotoSansSyriacWestern-Regular.ttf",
511 ":NotoSansTagalog-Regular.ttf",
512 ":NotoSansTagbanwa-Regular.ttf",
513 ":NotoSansTaiLe-Regular.ttf",
514 ":NotoSansTaiTham-Regular.ttf",
515 ":NotoSansTaiViet-Regular.ttf",
516 ":NotoSansTakri-VF.ttf",
517 ":NotoSansTamil-VF.ttf",
518 ":NotoSansTamilUI-VF.ttf",
519 ":NotoSansTelugu-VF.ttf",
520 ":NotoSansTeluguUI-VF.ttf",
521 ":NotoSansThaana-Bold.ttf",
522 ":NotoSansThaana-Regular.ttf",
523 ":NotoSansThai-Bold.ttf",
524 ":NotoSansThai-Regular.ttf",
525 ":NotoSansThaiUI-Bold.ttf",
526 ":NotoSansThaiUI-Regular.ttf",
527 ":NotoSansTifinagh-Regular.otf",
528 ":NotoSansUgaritic-Regular.ttf",
529 ":NotoSansVai-Regular.ttf",
530 ":NotoSansWancho-Regular.otf",
531 ":NotoSansWarangCiti-Regular.otf",
532 ":NotoSansYi-Regular.ttf",
533 ":NotoSerif-Bold.ttf",
534 ":NotoSerif-BoldItalic.ttf",
535 ":NotoSerif-Italic.ttf",
536 ":NotoSerif-Regular.ttf",
537 ":NotoSerifArmenian-VF.ttf",
538 ":NotoSerifBengali-VF.ttf",
539 ":NotoSerifCJK-Regular.ttc",
540 ":NotoSerifDevanagari-VF.ttf",
541 ":NotoSerifDogra-Regular.ttf",
542 ":NotoSerifEthiopic-VF.ttf",
543 ":NotoSerifGeorgian-VF.ttf",
544 ":NotoSerifGujarati-VF.ttf",
545 ":NotoSerifGurmukhi-VF.ttf",
546 ":NotoSerifHebrew-Bold.ttf",
547 ":NotoSerifHebrew-Regular.ttf",
548 ":NotoSerifHentaigana.ttf",
549 ":NotoSerifKannada-VF.ttf",
550 ":NotoSerifKhmer-Bold.otf",
551 ":NotoSerifKhmer-Regular.otf",
552 ":NotoSerifLao-Bold.ttf",
553 ":NotoSerifLao-Regular.ttf",
554 ":NotoSerifMalayalam-VF.ttf",
555 ":NotoSerifMyanmar-Bold.otf",
556 ":NotoSerifMyanmar-Regular.otf",
557 ":NotoSerifNyiakengPuachueHmong-VF.ttf",
558 ":NotoSerifSinhala-VF.ttf",
559 ":NotoSerifTamil-VF.ttf",
560 ":NotoSerifTelugu-VF.ttf",
561 ":NotoSerifThai-Bold.ttf",
562 ":NotoSerifThai-Regular.ttf",
563 ":NotoSerifTibetan-VF.ttf",
564 ":NotoSerifYezidi-VF.ttf",
565 ":Roboto-Regular.ttf",
566 ":RobotoFlex-Regular.ttf",
567 ":RobotoStatic-Regular.ttf",
568 ":SourceSansPro-Bold.ttf",
569 ":SourceSansPro-BoldItalic.ttf",
570 ":SourceSansPro-Italic.ttf",
571 ":SourceSansPro-Regular.ttf",
572 ":SourceSansPro-SemiBold.ttf",
573 ":SourceSansPro-SemiBoldItalic.ttf",
574 ],
575 device_first_srcs: [
576 ":font_fallback.xml",
577 ":fonts.xml",
578 ],
579 visibility: ["//visibility:private"],
580}
581
John Wu2abff412024-10-10 21:58:26 +0000582// JARs in "ravenwood-runtime" are set to the classpath, sorted alphabetically.
583// Rename some of the dependencies to make sure they're included in the intended order.
584
585java_library {
586 name: "100-framework-minus-apex.ravenwood",
587 installable: false,
588 static_libs: ["framework-minus-apex.ravenwood"],
589 visibility: ["//visibility:private"],
590}
591
592java_library {
593 name: "200-kxml2-android",
594 installable: false,
595 static_libs: ["kxml2-android"],
596 visibility: ["//visibility:private"],
597}
598
599java_library {
600 name: "z00-all-updatable-modules-system-stubs",
601 installable: false,
602 static_libs: ["all-updatable-modules-system-stubs-for-host"],
603 visibility: ["//visibility:private"],
604}
605
Makoto Onukie5e97272024-05-23 10:49:31 -0700606android_ravenwood_libgroup {
607 name: "ravenwood-runtime",
John Wu44386392024-11-01 18:20:48 +0000608 data: [":ravenwood-data"],
609 fonts: [":ravenwood-fonts"],
Makoto Onukie5e97272024-05-23 10:49:31 -0700610 libs: [
611 "100-framework-minus-apex.ravenwood",
612 "200-kxml2-android",
613
614 "ravenwood-runtime-common-ravenwood",
615
616 "android.test.mock.ravenwood",
617 "ravenwood-helper-runtime",
618 "hoststubgen-helper-runtime.ravenwood",
619 "services.core.ravenwood-jarjar",
620 "services.fakes.ravenwood-jarjar",
621
Makoto Onuki953445b2024-07-19 11:21:29 -0700622 // ICU
623 "core-icu4j-for-host.ravenwood",
624 "icu4j-icudata-jarjar",
625 "icu4j-icutzdata-jarjar",
626
John Wu0bbc5442024-10-17 08:46:06 +0000627 // DeviceConfig
628 "framework-configinfrastructure.ravenwood",
629
Makoto Onukib4f5f9e2024-10-22 14:51:17 -0700630 // StatsD
631 "framework-statsd.ravenwood",
632
Makoto Onukie5e97272024-05-23 10:49:31 -0700633 // Provide runtime versions of utils linked in below
634 "junit",
635 "truth",
636 "flag-junit",
637 "ravenwood-framework",
638 "ravenwood-junit-impl",
Makoto Onukie5e97272024-05-23 10:49:31 -0700639 "mockito-ravenwood-prebuilt",
640 "inline-mockito-ravenwood-prebuilt",
641
642 // It's a stub, so it should be towards the end.
643 "z00-all-updatable-modules-system-stubs",
644 ],
645 jni_libs: [
John Wu5e13e252024-09-25 00:43:28 +0000646 // Libraries has to be loaded in the following order
Makoto Onuki371ac3f2024-11-05 09:35:18 -0800647 "libravenwood_initializer",
Makoto Onukie5e97272024-05-23 10:49:31 -0700648 "libravenwood_runtime",
John Wu5e13e252024-09-25 00:43:28 +0000649 "libandroid_runtime",
Makoto Onukie5e97272024-05-23 10:49:31 -0700650 ],
651}
652
653android_ravenwood_libgroup {
654 name: "ravenwood-utils",
655 libs: [
656 "junit",
657 "truth",
658 "flag-junit",
659 "ravenwood-framework",
660 "ravenwood-junit",
661 "mockito-ravenwood-prebuilt",
662 "inline-mockito-ravenwood-prebuilt",
663 ],
664}
John Wu2abff412024-10-10 21:58:26 +0000665
666build = [
667 "Framework.bp",
668]