platform_build_soong/apex
Paul Duffin 2a999332ef 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)
2021-06-22 19:16:27 +01:00
..
Android.bp Add ClasspathElement support 2021-06-18 21:02:10 +01:00
OWNERS Move allowed_deps.txt to packages/modules/common. 2021-03-17 15:26:16 +00:00
TEST_MAPPING Add TEST_MAPPING for build/soong/apex 2019-08-07 17:33:24 +09:00
androidmk.go Ignore cc.Module.HideFromMake when producing flattened apex Android.mk entries 2021-04-29 13:54:49 -07:00
apex.go Merge "Set default value of generate_hashtree property to true" into sc-dev 2021-06-19 00:12:16 +00:00
apex_singleton.go Merge changes from topic "move_allowed_deps_txt" am: 2b077baa5e am: 0ee372ad6f am: 3c5d96925f 2021-03-22 12:45:29 +00:00
apex_test.go Fix monolithic hidden API processing with prebuilts 2021-06-22 19:16:27 +01:00
bootclasspath_fragment_test.go Export boot image files from prebuilt_apex/apex_set 2021-06-18 12:11:17 +01:00
builder.go Rename test_only_no_hashtree to generate_hashtree 2021-06-09 19:43:46 +01:00
classpath_element_test.go Add ClasspathElement support 2021-06-18 21:02:10 +01:00
deapexer.go Simplify deapexer support 2021-06-21 10:54:22 +01:00
key.go Extract apex registration code into function for reuse 2021-03-09 23:03:40 +00:00
platform_bootclasspath_test.go Use classpath elements in platform_bootclasspath 2021-06-22 19:16:27 +01:00
prebuilt.go Simplify deapexer support 2021-06-21 10:54:22 +01:00
systemserver_classpath_fragment_test.go Rename generate proto config file to match classpath type. 2021-05-24 13:38:45 +01:00
testing.go bootclasspath_fragment: Add contents to snapshot 2021-04-21 23:54:22 +01:00
vndk.go Remove global state from VNDK apexes 2021-03-02 12:23:16 -08:00
vndk_test.go Don't use incorrect version names like VER or BOARD even in tests 2021-04-05 09:32:06 +09:00