blob: 0c2ce8dcb6981e043c2a0e9f5c172a480d07273f [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
Jeff Sharkey7037e352024-02-27 14:22:24 -0700185// Separated out from ravenwood-junit-impl since it needs to compile
186// against `module_current`
187java_library {
188 name: "ravenwood-junit-impl-flag",
189 srcs: [
190 "junit-flag-src/**/*.java",
191 ],
Liana Kazanova0c16dd32024-06-25 20:40:04 +0000192 sdk_version: "module_current",
Jeff Sharkey7037e352024-02-27 14:22:24 -0700193 libs: [
194 "junit",
195 "flag-junit",
196 ],
197 visibility: ["//visibility:public"],
198}
199
Makoto Onuki8df6bd02024-08-01 12:38:50 -0700200// Carefully compiles against only module_current to support tests that
Jeff Sharkey41cfbb32023-11-16 09:26:28 -0700201// want to verify they're unbundled. The "impl" library above is what
202// ships inside the Ravenwood environment to actually drive any API
203// access to implementation details.
Makoto Onuki8df6bd02024-08-01 12:38:50 -0700204// We can't use test_current here because this library needs to be statically
205// linked to mainline tests as well, which can't use test APIs because they
206// need to be able to run on multiple API levels.
Jeff Sharkey41cfbb32023-11-16 09:26:28 -0700207java_library {
208 name: "ravenwood-junit",
209 srcs: [
210 "junit-src/**/*.java",
211 "junit-stub-src/**/*.java",
Jeff Sharkey7037e352024-02-27 14:22:24 -0700212 "junit-flag-src/**/*.java",
Jeff Sharkey41cfbb32023-11-16 09:26:28 -0700213 ],
Felipe Lemedfbfb232024-07-23 05:31:38 +0000214 sdk_version: "module_current",
Makoto Onukidf9cd262024-05-16 15:44:38 -0700215 static_libs: [
216 "ravenwood-runtime-common",
217 "ravenwood-runtime-common-device",
218 ],
Jeff Sharkey41cfbb32023-11-16 09:26:28 -0700219 libs: [
220 "junit",
Jeff Sharkey7037e352024-02-27 14:22:24 -0700221 "flag-junit",
John Wu98346162024-09-26 22:59:40 +0000222 "framework-annotations-lib",
Jeff Sharkey41cfbb32023-11-16 09:26:28 -0700223 ],
Jeff Sharkey91f414e2023-11-07 15:43:59 -0700224 visibility: ["//visibility:public"],
225}
Jeff Sharkey4ee8a652023-11-14 08:45:56 -0700226
Jeff Sharkey8a922ec2024-02-27 12:36:36 -0700227// Library used to publish a handful of `android.ravenwood` APIs into
228// the Ravenwood BCP; we don't want to publish these APIs into the BCP
229// on physical devices, which is why this is a separate library
230java_library {
231 name: "ravenwood-framework",
232 srcs: [
233 "framework-src/**/*.java",
234 ],
235 libs: [
236 "framework-minus-apex.ravenwood",
237 ],
238 sdk_version: "core_current",
239 visibility: ["//visibility:public"],
240}
241
Jeff Sharkeyc91451a2024-01-29 10:55:45 -0700242java_host_for_device {
243 name: "androidx.test.monitor-for-device",
244 libs: [
245 "androidx.test.monitor-for-host",
246 ],
247}
248
249java_device_for_host {
250 name: "androidx.test.monitor-for-host",
251 libs: [
252 "androidx.test.monitor",
253 ],
254}
Jeff Sharkey3e91c2b2024-02-15 14:12:07 -0700255
256filegroup {
Makoto Onukif38d5992024-05-30 10:40:50 -0700257 name: "ravenwood-framework-jarjar-rules",
258 srcs: ["texts/ravenwood-framework-jarjar-rules.txt"],
259 visibility: ["//frameworks/base"],
260}
261
262filegroup {
Jeff Sharkey3e91c2b2024-02-15 14:12:07 -0700263 name: "ravenwood-services-jarjar-rules",
Makoto Onukia3fe5622024-03-27 13:08:32 -0700264 srcs: ["texts/ravenwood-services-jarjar-rules.txt"],
Jeff Sharkey3e91c2b2024-02-15 14:12:07 -0700265 visibility: ["//frameworks/base"],
266}
Makoto Onuki3fb1f2b2024-03-27 13:08:32 -0700267
John Wu5e13e252024-09-25 00:43:28 +0000268cc_defaults {
269 name: "ravenwood_jni_defaults",
Makoto Onukiaedf30b2024-05-01 11:16:50 -0700270 cflags: [
271 "-Wall",
272 "-Werror",
273 "-Wno-unused-parameter",
274 "-Wthread-safety",
275 ],
John Wu5e13e252024-09-25 00:43:28 +0000276 static_libs: [
277 "libnativehelper_jvm",
Makoto Onukiaedf30b2024-05-01 11:16:50 -0700278 ],
John Wu5e13e252024-09-25 00:43:28 +0000279 shared_libs: [
280 "liblog",
281 ],
Makoto Onuki371ac3f2024-11-05 09:35:18 -0800282 visibility: ["//visibility:private"],
283}
284
285cc_library_host_shared {
286 name: "libravenwood_initializer",
287 defaults: ["ravenwood_jni_defaults"],
288 srcs: [
289 "runtime-jni/ravenwood_initializer.cpp",
290 ],
John Wu5e13e252024-09-25 00:43:28 +0000291}
Makoto Onukiaedf30b2024-05-01 11:16:50 -0700292
John Wu5e13e252024-09-25 00:43:28 +0000293// We need this as a separate library because we need to overload the
294// sysprop symbols before libbase is loaded into the process
295cc_library_host_shared {
296 name: "libravenwood_sysprop",
297 defaults: ["ravenwood_jni_defaults"],
298 srcs: ["runtime-jni/ravenwood_sysprop.cpp"],
299}
300
301cc_library_host_shared {
302 name: "libravenwood_runtime",
303 defaults: ["ravenwood_jni_defaults"],
304 srcs: [
305 "runtime-jni/ravenwood_runtime.cpp",
306 "runtime-jni/ravenwood_os_constants.cpp",
307 ],
Makoto Onukiaedf30b2024-05-01 11:16:50 -0700308 shared_libs: [
309 "libbase",
Makoto Onukiaedf30b2024-05-01 11:16:50 -0700310 "libutils",
311 "libcutils",
312 ],
Makoto Onukiaedf30b2024-05-01 11:16:50 -0700313}
314
Makoto Onuki3fb1f2b2024-03-27 13:08:32 -0700315// For collecting the *stats.csv files in a known directory under out/host/linux-x86/testcases/.
316// The "test" just shows the available stats filenames.
317sh_test_host {
318 name: "ravenwood-stats-checker",
Makoto Onukia3fe5622024-03-27 13:08:32 -0700319 src: "scripts/ravenwood-stats-checker.sh",
Makoto Onuki3fb1f2b2024-03-27 13:08:32 -0700320 test_suites: ["general-tests"],
Cole Faust5aeb9fd2024-10-22 16:30:57 -0700321 device_common_data: [
John Wu98346162024-09-26 22:59:40 +0000322 ":framework-minus-apex.ravenwood-base_all{hoststubgen_framework-minus-apex_stats.csv}",
323 ":framework-minus-apex.ravenwood-base_all{hoststubgen_framework-minus-apex_apis.csv}",
324 ":framework-minus-apex.ravenwood-base_all{hoststubgen_framework-minus-apex_keep_all.txt}",
325 ":framework-minus-apex.ravenwood-base_all{hoststubgen_framework-minus-apex_dump.txt}",
Makoto Onuki134a4152024-06-26 14:21:12 -0700326 ":services.core.ravenwood-base{hoststubgen_services.core_stats.csv}",
327 ":services.core.ravenwood-base{hoststubgen_services.core_apis.csv}",
328 ":services.core.ravenwood-base{hoststubgen_services.core_keep_all.txt}",
329 ":services.core.ravenwood-base{hoststubgen_services.core_dump.txt}",
Makoto Onukib4f5f9e2024-10-22 14:51:17 -0700330
331 ":framework-configinfrastructure.ravenwood-base{framework-configinfrastructure_stats.csv}",
332 ":framework-configinfrastructure.ravenwood-base{framework-configinfrastructure_apis.csv}",
333 ":framework-configinfrastructure.ravenwood-base{framework-configinfrastructure_keep_all.txt}",
334 ":framework-configinfrastructure.ravenwood-base{framework-configinfrastructure_dump.txt}",
335
336 ":framework-statsd.ravenwood-base{framework-statsd_stats.csv}",
337 ":framework-statsd.ravenwood-base{framework-statsd_apis.csv}",
338 ":framework-statsd.ravenwood-base{framework-statsd_keep_all.txt}",
339 ":framework-statsd.ravenwood-base{framework-statsd_dump.txt}",
Makoto Onuki3fb1f2b2024-03-27 13:08:32 -0700340 ],
341}
Makoto Onukie5e97272024-05-23 10:49:31 -0700342
343java_library {
344 name: "services.fakes.ravenwood-jarjar",
345 installable: false,
346 srcs: [":services.fakes-sources"],
347 libs: [
348 "ravenwood-framework",
349 "services.core.ravenwood",
350 ],
351 jarjar_rules: ":ravenwood-services-jarjar-rules",
352 visibility: ["//visibility:private"],
353}
354
355java_library {
356 name: "mockito-ravenwood-prebuilt",
357 installable: false,
358 static_libs: [
359 "mockito-robolectric-prebuilt",
360 ],
361}
362
363java_library {
364 name: "inline-mockito-ravenwood-prebuilt",
365 installable: false,
366 static_libs: [
367 "inline-mockito-robolectric-prebuilt",
368 ],
369}
370
John Wu44386392024-11-01 18:20:48 +0000371filegroup {
372 name: "ravenwood-data",
373 device_common_srcs: [
374 ":system-build.prop",
375 ":framework-res",
376 ":ravenwood-empty-res",
377 ":framework-platform-compat-config",
378 ":services-platform-compat-config",
Makoto Onukib07f68d2024-11-06 12:53:00 -0800379 "texts/ravenwood-build.prop",
John Wu44386392024-11-01 18:20:48 +0000380 ],
381 device_first_srcs: [
382 ":apex_icu.dat",
383 ],
384 visibility: ["//visibility:private"],
385}
386
387// Keep in sync with build/make/target/product/generic/Android.bp
388filegroup {
389 name: "ravenwood-fonts",
390 device_common_srcs: [
391 ":AndroidClock.ttf",
392 ":CarroisGothicSC-Regular.ttf",
393 ":ComingSoon.ttf",
394 ":CutiveMono.ttf",
395 ":DancingScript-Regular.ttf",
396 ":DroidSansMono.ttf",
397 ":NotoColorEmoji.ttf",
398 ":NotoColorEmojiFlags.ttf",
399 ":NotoNaskhArabic-Bold.ttf",
400 ":NotoNaskhArabic-Regular.ttf",
401 ":NotoNaskhArabicUI-Bold.ttf",
402 ":NotoNaskhArabicUI-Regular.ttf",
403 ":NotoSansAdlam-VF.ttf",
404 ":NotoSansAhom-Regular.otf",
405 ":NotoSansAnatolianHieroglyphs-Regular.otf",
406 ":NotoSansArmenian-VF.ttf",
407 ":NotoSansAvestan-Regular.ttf",
408 ":NotoSansBalinese-Regular.ttf",
409 ":NotoSansBamum-Regular.ttf",
410 ":NotoSansBassaVah-Regular.otf",
411 ":NotoSansBatak-Regular.ttf",
412 ":NotoSansBengali-VF.ttf",
413 ":NotoSansBengaliUI-VF.ttf",
414 ":NotoSansBhaiksuki-Regular.otf",
415 ":NotoSansBrahmi-Regular.ttf",
416 ":NotoSansBuginese-Regular.ttf",
417 ":NotoSansBuhid-Regular.ttf",
418 ":NotoSansCJK-Regular.ttc",
419 ":NotoSansCanadianAboriginal-Regular.ttf",
420 ":NotoSansCarian-Regular.ttf",
421 ":NotoSansChakma-Regular.otf",
422 ":NotoSansCham-Bold.ttf",
423 ":NotoSansCham-Regular.ttf",
424 ":NotoSansCherokee-Regular.ttf",
425 ":NotoSansCoptic-Regular.ttf",
426 ":NotoSansCuneiform-Regular.ttf",
427 ":NotoSansCypriot-Regular.ttf",
428 ":NotoSansDeseret-Regular.ttf",
429 ":NotoSansDevanagari-VF.ttf",
430 ":NotoSansDevanagariUI-VF.ttf",
431 ":NotoSansEgyptianHieroglyphs-Regular.ttf",
432 ":NotoSansElbasan-Regular.otf",
433 ":NotoSansEthiopic-VF.ttf",
434 ":NotoSansGeorgian-VF.ttf",
435 ":NotoSansGlagolitic-Regular.ttf",
436 ":NotoSansGothic-Regular.ttf",
437 ":NotoSansGrantha-Regular.ttf",
438 ":NotoSansGujarati-Bold.ttf",
439 ":NotoSansGujarati-Regular.ttf",
440 ":NotoSansGujaratiUI-Bold.ttf",
441 ":NotoSansGujaratiUI-Regular.ttf",
442 ":NotoSansGunjalaGondi-Regular.otf",
443 ":NotoSansGurmukhi-VF.ttf",
444 ":NotoSansGurmukhiUI-VF.ttf",
445 ":NotoSansHanifiRohingya-Regular.otf",
446 ":NotoSansHanunoo-Regular.ttf",
447 ":NotoSansHatran-Regular.otf",
448 ":NotoSansHebrew-Bold.ttf",
449 ":NotoSansHebrew-Regular.ttf",
450 ":NotoSansImperialAramaic-Regular.ttf",
451 ":NotoSansInscriptionalPahlavi-Regular.ttf",
452 ":NotoSansInscriptionalParthian-Regular.ttf",
453 ":NotoSansJavanese-Regular.otf",
454 ":NotoSansKaithi-Regular.ttf",
455 ":NotoSansKannada-VF.ttf",
456 ":NotoSansKannadaUI-VF.ttf",
457 ":NotoSansKayahLi-Regular.ttf",
458 ":NotoSansKharoshthi-Regular.ttf",
459 ":NotoSansKhmer-VF.ttf",
460 ":NotoSansKhmerUI-Bold.ttf",
461 ":NotoSansKhmerUI-Regular.ttf",
462 ":NotoSansKhojki-Regular.otf",
463 ":NotoSansLao-Bold.ttf",
464 ":NotoSansLao-Regular.ttf",
465 ":NotoSansLaoUI-Bold.ttf",
466 ":NotoSansLaoUI-Regular.ttf",
467 ":NotoSansLepcha-Regular.ttf",
468 ":NotoSansLimbu-Regular.ttf",
469 ":NotoSansLinearA-Regular.otf",
470 ":NotoSansLinearB-Regular.ttf",
471 ":NotoSansLisu-Regular.ttf",
472 ":NotoSansLycian-Regular.ttf",
473 ":NotoSansLydian-Regular.ttf",
474 ":NotoSansMalayalam-VF.ttf",
475 ":NotoSansMalayalamUI-VF.ttf",
476 ":NotoSansMandaic-Regular.ttf",
477 ":NotoSansManichaean-Regular.otf",
478 ":NotoSansMarchen-Regular.otf",
479 ":NotoSansMasaramGondi-Regular.otf",
480 ":NotoSansMedefaidrin-VF.ttf",
481 ":NotoSansMeeteiMayek-Regular.ttf",
482 ":NotoSansMeroitic-Regular.otf",
483 ":NotoSansMiao-Regular.otf",
484 ":NotoSansModi-Regular.ttf",
485 ":NotoSansMongolian-Regular.ttf",
486 ":NotoSansMro-Regular.otf",
487 ":NotoSansMultani-Regular.otf",
488 ":NotoSansMyanmar-Bold.otf",
489 ":NotoSansMyanmar-Medium.otf",
490 ":NotoSansMyanmar-Regular.otf",
491 ":NotoSansMyanmarUI-Bold.otf",
492 ":NotoSansMyanmarUI-Medium.otf",
493 ":NotoSansMyanmarUI-Regular.otf",
494 ":NotoSansNKo-Regular.ttf",
495 ":NotoSansNabataean-Regular.otf",
496 ":NotoSansNewTaiLue-Regular.ttf",
497 ":NotoSansNewa-Regular.otf",
498 ":NotoSansOgham-Regular.ttf",
499 ":NotoSansOlChiki-Regular.ttf",
500 ":NotoSansOldItalic-Regular.ttf",
501 ":NotoSansOldNorthArabian-Regular.otf",
502 ":NotoSansOldPermic-Regular.otf",
503 ":NotoSansOldPersian-Regular.ttf",
504 ":NotoSansOldSouthArabian-Regular.ttf",
505 ":NotoSansOldTurkic-Regular.ttf",
506 ":NotoSansOriya-Bold.ttf",
507 ":NotoSansOriya-Regular.ttf",
508 ":NotoSansOriyaUI-Bold.ttf",
509 ":NotoSansOriyaUI-Regular.ttf",
510 ":NotoSansOsage-Regular.ttf",
511 ":NotoSansOsmanya-Regular.ttf",
512 ":NotoSansPahawhHmong-Regular.otf",
513 ":NotoSansPalmyrene-Regular.otf",
514 ":NotoSansPauCinHau-Regular.otf",
515 ":NotoSansPhagsPa-Regular.ttf",
516 ":NotoSansPhoenician-Regular.ttf",
517 ":NotoSansRejang-Regular.ttf",
518 ":NotoSansRunic-Regular.ttf",
519 ":NotoSansSamaritan-Regular.ttf",
520 ":NotoSansSaurashtra-Regular.ttf",
521 ":NotoSansSharada-Regular.otf",
522 ":NotoSansShavian-Regular.ttf",
523 ":NotoSansSinhala-VF.ttf",
524 ":NotoSansSinhalaUI-VF.ttf",
525 ":NotoSansSoraSompeng-Regular.otf",
526 ":NotoSansSoyombo-VF.ttf",
527 ":NotoSansSundanese-Regular.ttf",
528 ":NotoSansSylotiNagri-Regular.ttf",
529 ":NotoSansSymbols-Regular-Subsetted.ttf",
530 ":NotoSansSymbols-Regular-Subsetted2.ttf",
531 ":NotoSansSyriacEastern-Regular.ttf",
532 ":NotoSansSyriacEstrangela-Regular.ttf",
533 ":NotoSansSyriacWestern-Regular.ttf",
534 ":NotoSansTagalog-Regular.ttf",
535 ":NotoSansTagbanwa-Regular.ttf",
536 ":NotoSansTaiLe-Regular.ttf",
537 ":NotoSansTaiTham-Regular.ttf",
538 ":NotoSansTaiViet-Regular.ttf",
539 ":NotoSansTakri-VF.ttf",
540 ":NotoSansTamil-VF.ttf",
541 ":NotoSansTamilUI-VF.ttf",
542 ":NotoSansTelugu-VF.ttf",
543 ":NotoSansTeluguUI-VF.ttf",
544 ":NotoSansThaana-Bold.ttf",
545 ":NotoSansThaana-Regular.ttf",
546 ":NotoSansThai-Bold.ttf",
547 ":NotoSansThai-Regular.ttf",
548 ":NotoSansThaiUI-Bold.ttf",
549 ":NotoSansThaiUI-Regular.ttf",
550 ":NotoSansTifinagh-Regular.otf",
551 ":NotoSansUgaritic-Regular.ttf",
552 ":NotoSansVai-Regular.ttf",
553 ":NotoSansWancho-Regular.otf",
554 ":NotoSansWarangCiti-Regular.otf",
555 ":NotoSansYi-Regular.ttf",
556 ":NotoSerif-Bold.ttf",
557 ":NotoSerif-BoldItalic.ttf",
558 ":NotoSerif-Italic.ttf",
559 ":NotoSerif-Regular.ttf",
560 ":NotoSerifArmenian-VF.ttf",
561 ":NotoSerifBengali-VF.ttf",
562 ":NotoSerifCJK-Regular.ttc",
563 ":NotoSerifDevanagari-VF.ttf",
564 ":NotoSerifDogra-Regular.ttf",
565 ":NotoSerifEthiopic-VF.ttf",
566 ":NotoSerifGeorgian-VF.ttf",
567 ":NotoSerifGujarati-VF.ttf",
568 ":NotoSerifGurmukhi-VF.ttf",
569 ":NotoSerifHebrew-Bold.ttf",
570 ":NotoSerifHebrew-Regular.ttf",
571 ":NotoSerifHentaigana.ttf",
572 ":NotoSerifKannada-VF.ttf",
573 ":NotoSerifKhmer-Bold.otf",
574 ":NotoSerifKhmer-Regular.otf",
575 ":NotoSerifLao-Bold.ttf",
576 ":NotoSerifLao-Regular.ttf",
577 ":NotoSerifMalayalam-VF.ttf",
578 ":NotoSerifMyanmar-Bold.otf",
579 ":NotoSerifMyanmar-Regular.otf",
580 ":NotoSerifNyiakengPuachueHmong-VF.ttf",
581 ":NotoSerifSinhala-VF.ttf",
582 ":NotoSerifTamil-VF.ttf",
583 ":NotoSerifTelugu-VF.ttf",
584 ":NotoSerifThai-Bold.ttf",
585 ":NotoSerifThai-Regular.ttf",
586 ":NotoSerifTibetan-VF.ttf",
587 ":NotoSerifYezidi-VF.ttf",
588 ":Roboto-Regular.ttf",
589 ":RobotoFlex-Regular.ttf",
590 ":RobotoStatic-Regular.ttf",
591 ":SourceSansPro-Bold.ttf",
592 ":SourceSansPro-BoldItalic.ttf",
593 ":SourceSansPro-Italic.ttf",
594 ":SourceSansPro-Regular.ttf",
595 ":SourceSansPro-SemiBold.ttf",
596 ":SourceSansPro-SemiBoldItalic.ttf",
597 ],
598 device_first_srcs: [
599 ":font_fallback.xml",
600 ":fonts.xml",
601 ],
602 visibility: ["//visibility:private"],
603}
604
John Wu2abff412024-10-10 21:58:26 +0000605// JARs in "ravenwood-runtime" are set to the classpath, sorted alphabetically.
606// Rename some of the dependencies to make sure they're included in the intended order.
607
608java_library {
609 name: "100-framework-minus-apex.ravenwood",
610 installable: false,
611 static_libs: ["framework-minus-apex.ravenwood"],
612 visibility: ["//visibility:private"],
613}
614
615java_library {
616 name: "200-kxml2-android",
617 installable: false,
618 static_libs: ["kxml2-android"],
619 visibility: ["//visibility:private"],
620}
621
622java_library {
623 name: "z00-all-updatable-modules-system-stubs",
624 installable: false,
625 static_libs: ["all-updatable-modules-system-stubs-for-host"],
626 visibility: ["//visibility:private"],
627}
628
Makoto Onukie5e97272024-05-23 10:49:31 -0700629android_ravenwood_libgroup {
630 name: "ravenwood-runtime",
John Wu44386392024-11-01 18:20:48 +0000631 data: [":ravenwood-data"],
632 fonts: [":ravenwood-fonts"],
Makoto Onukie5e97272024-05-23 10:49:31 -0700633 libs: [
634 "100-framework-minus-apex.ravenwood",
635 "200-kxml2-android",
636
637 "ravenwood-runtime-common-ravenwood",
638
639 "android.test.mock.ravenwood",
640 "ravenwood-helper-runtime",
641 "hoststubgen-helper-runtime.ravenwood",
642 "services.core.ravenwood-jarjar",
643 "services.fakes.ravenwood-jarjar",
644
Makoto Onuki953445b2024-07-19 11:21:29 -0700645 // ICU
646 "core-icu4j-for-host.ravenwood",
647 "icu4j-icudata-jarjar",
648 "icu4j-icutzdata-jarjar",
649
John Wu0bbc5442024-10-17 08:46:06 +0000650 // DeviceConfig
651 "framework-configinfrastructure.ravenwood",
652
Makoto Onukib4f5f9e2024-10-22 14:51:17 -0700653 // StatsD
654 "framework-statsd.ravenwood",
655
Makoto Onukie5e97272024-05-23 10:49:31 -0700656 // Provide runtime versions of utils linked in below
657 "junit",
658 "truth",
659 "flag-junit",
660 "ravenwood-framework",
661 "ravenwood-junit-impl",
662 "ravenwood-junit-impl-flag",
663 "mockito-ravenwood-prebuilt",
664 "inline-mockito-ravenwood-prebuilt",
665
666 // It's a stub, so it should be towards the end.
667 "z00-all-updatable-modules-system-stubs",
668 ],
669 jni_libs: [
John Wu5e13e252024-09-25 00:43:28 +0000670 // Libraries has to be loaded in the following order
Makoto Onuki371ac3f2024-11-05 09:35:18 -0800671 "libravenwood_initializer",
John Wu5e13e252024-09-25 00:43:28 +0000672 "libravenwood_sysprop",
Makoto Onukie5e97272024-05-23 10:49:31 -0700673 "libravenwood_runtime",
John Wu5e13e252024-09-25 00:43:28 +0000674 "libandroid_runtime",
Makoto Onukie5e97272024-05-23 10:49:31 -0700675 ],
676}
677
678android_ravenwood_libgroup {
679 name: "ravenwood-utils",
680 libs: [
681 "junit",
682 "truth",
683 "flag-junit",
684 "ravenwood-framework",
685 "ravenwood-junit",
686 "mockito-ravenwood-prebuilt",
687 "inline-mockito-ravenwood-prebuilt",
688 ],
689}
John Wu2abff412024-10-10 21:58:26 +0000690
691build = [
692 "Framework.bp",
693]