summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2021-06-07 21:36:01 +0100
committerPaul Duffin <paulduffin@google.com>2021-06-22 19:16:27 +0100
commit2a999332efcbf95c44593c1a9d0f83410b247d19 (patch)
tree1ac20967821747bfb455c79e0bd020f60543e5c6 /java/java.go
parent4c2f78bff4d11f0a7e86ac04f7013512e7620854 (diff)
Fix monolithic hidden API processing with prebuilts
Prebuilt modules do not provide classesJars containing annotations. Previously, the monolithic hidden API processing just used classesJars from all the modules that provided them so when building against prebuilts would have fewer classesJars than when building against sources and so would produce different hidden API flags. This change will generate the monolithic files from both classesJars and files previously generated from hidden API processing. A fragment that has performed hidden API processing will contribute its generated files whereas standalone libraries and fragments which have not performed hidden API processing will contribute classesJars. Bug: 177892522 Test: m out/soong/hiddenapi/hiddenapi-flags.csv m SOONG_CONFIG_art_module_source_build=false out/soong/hiddenapi/hiddenapi-flags.csv - verify that the files are identical whether built from source or prebuilts. Merged-In: I06f3c7df49626bec21a452bc9abf1bb9e7545e5c Change-Id: I06f3c7df49626bec21a452bc9abf1bb9e7545e5c (cherry picked from commit d061d40eb6ffbc9d7cece2945b7276fe2f6759d1)
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions