platform_build_soong/sdk
Paul Duffin d061d40eb6 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.
Change-Id: I06f3c7df49626bec21a452bc9abf1bb9e7545e5c
2021-06-20 19:09:09 +01:00
..
Android.bp Add baseline test for license with sdk 2021-05-11 08:24:59 +01:00
bootclasspath_fragment_sdk_test.go Fix monolithic hidden API processing with prebuilts 2021-06-20 19:09:09 +01:00
bp.go Add support for name-less modules and property comments 2021-05-11 01:00:12 +01:00
bp_test.go Replace AssertPanic with AssertPanicMessageContains 2021-03-20 12:08:51 +00:00
cc_sdk_test.go Make sdk tests more realistic 2021-05-06 23:13:06 +01:00
compat_config_sdk_test.go Filter duplicate modules in platform_compat_config_singleton 2021-03-25 12:53:25 +00:00
exports.go Extract sdk registration code into function for reuse 2021-03-09 23:03:45 +00:00
exports_test.go Migrate sdk tests away from checkAndroidBpContents 2021-04-16 18:48:20 +01:00
java_sdk_test.go Add support for SOONG_SDK_SNAPSHOT_USE_SRCJAR 2021-05-12 23:13:22 +01:00
license_sdk_test.go Add package module to sdk snapshot that contains licenses 2021-05-11 08:38:30 +01:00
sdk.go Allow an sdk member type not to provide a bp property 2021-05-11 01:00:06 +01:00
sdk_test.go Add SOONG_SDK_SNAPSHOT_VERSION support 2021-05-12 22:14:32 +01:00
testing.go Add SOONG_SDK_SNAPSHOT_VERSION support 2021-05-12 22:14:32 +01:00
update.go Add SOONG_SDK_SNAPSHOT_VERSION support 2021-05-12 22:14:32 +01:00