summaryrefslogtreecommitdiff
path: root/apex/Android.bp
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2020-08-18 12:52:44 +0100
committerAnton Hansson <hansson@google.com>2020-09-07 09:14:50 +0100
commit7a9bc4eb26a0296e9b15e085cc478f0d39e1ee0a (patch)
tree22ed08680e9e3ecbadb1a58dd174729204571e9c /apex/Android.bp
parent1d35b7bc249c9c4cadef83692b227d1d2481d300 (diff)
Make framework-all composed of other framework jars
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.bp5
1 files changed, 4 insertions, 1 deletions
diff --git a/apex/Android.bp b/apex/Android.bp
index cf210e238bf9..a5e2b4a5b707 100644
--- a/apex/Android.bp
+++ b/apex/Android.bp
@@ -106,7 +106,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"],
// Collates API usages from each module for further analysis.