diff options
author | Anton Hansson <hansson@google.com> | 2020-08-13 19:40:13 +0100 |
---|---|---|
committer | Anton Hansson <hansson@google.com> | 2020-08-17 12:05:51 +0100 |
commit | cf42e98eeff2ae6c6a62870d4848f50fee651e7e (patch) | |
tree | f8cdadb40803ed755bf330a79c383a2a8ec79965 /StubLibraries.bp | |
parent | 329c6ff777518a0b9ff4c1bb5aa2ee5cd7501b20 (diff) |
Make framework-res dep in stubs explicit
The android.jar stubs includes the resource from framework-res. This
dependency was previously added implicitly inside the build system, but
using a java_genrule we can add it directly, which makes it easier to
make changes to this rule.
This change has the side-effect of adding the resources to some stubs
that did not previously include the resources (e.g. module-libs), which
I think is desired.
Bug: 161214753
Test: build sdk, diff out/dist before and after (shows resources added
to some stubs)
Change-Id: I1829789af207cc45c49c0c68369fc7c0c085bcb0
Merged-In: I1829789af207cc45c49c0c68369fc7c0c085bcb0
Diffstat (limited to 'StubLibraries.bp')
-rw-r--r-- | StubLibraries.bp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/StubLibraries.bp b/StubLibraries.bp index b999a10d0a3f..146b848ef2d1 100644 --- a/StubLibraries.bp +++ b/StubLibraries.bp @@ -287,6 +287,7 @@ java_defaults { // License notices from art module "art-notices-for-framework-stubs-jar", + "framework-res-package-jar", // Export package of framework-res ], errorprone: { javacflags: [ |