diff options
author | Anton Hansson <hansson@google.com> | 2020-08-18 12:52:44 +0100 |
---|---|---|
committer | Anton Hansson <hansson@google.com> | 2021-02-01 11:27:16 +0000 |
commit | 486eb760ac127c5093e9966b4aa9418eb552594e (patch) | |
tree | 7a1ef0d1b6570a7092432fdc5306df821da48fa2 /apex/Android.bp | |
parent | 09159170d770f2c8b53ea18030c4b5528b7d953b (diff) |
Make framework-all composed of other framework jars
(partial cherry-pick)
This avoids duplicating the compilation of the module java source
code, as well as maintaining the compilation rules in two places.
Bug: 149906971
Test: m FrameworkServicesRoboTests
Change-Id: I1cea62aaedb7e653648130e3d315761c0c9aece4
Merged-In: I1cea62aaedb7e653648130e3d315761c0c9aece4
Diffstat (limited to 'apex/Android.bp')
-rw-r--r-- | apex/Android.bp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apex/Android.bp b/apex/Android.bp index 4de76c8fe441..74e31cc2ed85 100644 --- a/apex/Android.bp +++ b/apex/Android.bp @@ -115,7 +115,10 @@ java_defaults { stubs_library_visibility: ["//visibility:public"], // Hide impl library and stub sources - impl_library_visibility: [":__package__"], + impl_library_visibility: [ + ":__package__", + "//frameworks/base", // For framework-all + ], stubs_source_visibility: ["//visibility:private"], defaults_visibility: ["//visibility:private"], |