blob: 3f46ab859bf90d9e27df8a612554132f99c8efb6 [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"],
8}
9
10filegroup {
11 name: "ravenwood-annotations",
12 srcs: [
13 "annotations-src/**/*.java",
14 ],
Anton Hanssond82cbc72023-10-30 20:00:39 +000015 path: "annotations-src",
Makoto Onuki3aefe332023-10-06 10:02:07 -070016 visibility: ["//visibility:public"],
17}
18
Makoto Onuki3aefe332023-10-06 10:02:07 -070019java_library {
20 name: "ravenwood-annotations-lib",
21 srcs: [":ravenwood-annotations"],
22 sdk_version: "core_current",
23 host_supported: true,
24 visibility: ["//visibility:public"],
25}
Jeff Sharkey91f414e2023-11-07 15:43:59 -070026
27java_library {
Jeff Sharkey41cfbb32023-11-16 09:26:28 -070028 name: "ravenwood-junit-impl",
29 srcs: [
30 "junit-src/**/*.java",
31 "junit-impl-src/**/*.java",
32 ],
Jeff Sharkey91f414e2023-11-07 15:43:59 -070033 libs: [
Jeff Sharkey5e210d72023-11-10 11:22:05 -070034 "framework-minus-apex.ravenwood",
Jeff Sharkey91f414e2023-11-07 15:43:59 -070035 "junit",
36 ],
Jeff Sharkey41cfbb32023-11-16 09:26:28 -070037 visibility: ["//frameworks/base"],
38}
39
40// Carefully compiles against only test_current to support tests that
41// want to verify they're unbundled. The "impl" library above is what
42// ships inside the Ravenwood environment to actually drive any API
43// access to implementation details.
44java_library {
45 name: "ravenwood-junit",
46 srcs: [
47 "junit-src/**/*.java",
48 "junit-stub-src/**/*.java",
49 ],
50 sdk_version: "test_current",
51 libs: [
52 "junit",
53 ],
Jeff Sharkey91f414e2023-11-07 15:43:59 -070054 visibility: ["//visibility:public"],
55}
Jeff Sharkey4ee8a652023-11-14 08:45:56 -070056
57java_host_for_device {
58 name: "core-xml-for-device",
59 libs: [
60 "core-xml-for-host",
61 ],
62}