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
This commit is contained in:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user