summaryrefslogtreecommitdiff
path: root/tools/cpp-define-generator
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2021-05-17 12:23:01 +0100
committer Paul Duffin <paulduffin@google.com> 2021-05-19 11:11:29 +0000
commit496b9b43c987a2d769d0c178ee1d88cd92da84d9 (patch)
treece2ce6437f348985194554de370de79ddd9a8a85 /tools/cpp-define-generator
parentc07e873ddb17620c18420cf2bfcf76b1978dc291 (diff)
Ignore empty stub dex jars
Some modules do not provide APIs for all API surfaces, e.g. sdk-extensions does not provide any public APIs, only system and above. That means that the public stub dex jars are empty of classes*.dex files. This change prevents "hiddenapi list" from failing in that situation. Bug: 179354495 Test: - migrate packages/modules/SdkExtensions to use bootclasspath_fragment - add the fragment to the platform-bootclasspath m out/soong/hiddenapi/hiddenapi-flags.csv - the previous command will verify that the SdkExtensions' generated all-stubs.flags matches the subset of monolithic flags that overlap. - check the SdkExtensions' generated all-stubs.flags to make sure it is complete. Change-Id: Ib2f18b5ba4adec21b783a274fda8a3b797609f35
Diffstat (limited to 'tools/cpp-define-generator')
0 files changed, 0 insertions, 0 deletions