summaryrefslogtreecommitdiff
path: root/java/systemserver_classpath_fragment.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2021-05-14 10:45:25 +0100
committer Paul Duffin <paulduffin@google.com> 2021-05-14 10:19:46 +0000
commit098c878838e18ac4d24844088a99d6d06ca0b9b0 (patch)
tree473845588de678c30a88c1632b93671b7c1125c5 /java/systemserver_classpath_fragment.go
parent34827d4c0ec854bee766ec3db2be6e66b34ebb28 (diff)
Make hidden API handle jacoco-stubs consistently
Previously, when code coverage was enabled the monolithic hidden API processing would add jacoco-stubs to public APIs only as that would make them accessible for everyone. However, the art-bootclasspath-fragment added jacoco-stubs to public, system and test APIs as that was the simplest way of handling it and while the extract APIs were unnecessary they would not change behavior. Unfortunately, that lead to a difference in the flags generated which caused the check that verifies flags are consistent between the monolithic and modular files to fail. This change adds jacoco-stubs to system and test APIs for the monolithic hidden API processing to ensure consistency. Bug: 179354495 Bug: 188143639 Test: m EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true out/soong/hiddenapi/hiddenapi-flags.csv - ran before making the change to reproduce the problem and after to verify the fix. Change-Id: Icbd15f0ece871a8c44d9e4a73fd0f7acc3760bba
Diffstat (limited to 'java/systemserver_classpath_fragment.go')
0 files changed, 0 insertions, 0 deletions