diff options
author | Paul Duffin <paulduffin@google.com> | 2021-05-18 16:32:50 +0100 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2021-05-24 20:26:02 +0100 |
commit | 54c1f08aa971a8bad74d6889f55aef22b348a86a (patch) | |
tree | 49a05c32f9b5fbcc217acb12861a5250cf0212e9 /java/bootclasspath_fragment_test.go | |
parent | 67c1e575515c9c0fa51e52bfda4eb7bc220c878e (diff) |
Support removed API members in modular hidden API processing
Previously, the hidden API flags generated for a bootclasspath_fragment
did not include removed API members. That was because it did not supply
a file containing the dex signatures of the removed API members.
The monolithic hidden API processing uses combined-removed-dex which is
the output of a genrule that takes as input the *removed.txt files from
all the APIs and uses metalava to construct the dex signatures file.
This change does the equivalent for the *removed.txt files for the APIs
provided by a bootclasspath_fragment and then passes them to the rule
that generates the final all-flags.csv.
Bug: 179354495
Test: - Update packages/modules/RuntimeI18N to enable hidden API
processing.
m out/soong/hiddenapi/hiddenapi-flags.csv
- Before this change that fails as the flags generated for the
i18n-bootclasspath-fragment differ from the monolithic flags.
After this change that passes.
- Verify that this change does not change any of the monolithic
hidden API files.
m com.android.i18n
- Verify that the apex file before and after this change are byte
for byte identical.
Merged-In: I6a21edb8a5231666e3f35b2c99a8687f36dd98fd
Change-Id: I6a21edb8a5231666e3f35b2c99a8687f36dd98fd
(cherry picked from commit 32cf58a8fcfc043246a9c402b32c863e8aebc499)
Diffstat (limited to 'java/bootclasspath_fragment_test.go')
0 files changed, 0 insertions, 0 deletions