platform_build_soong/apex
Paul Duffin 67b9d61ac2 Separate creation of signature patterns from overlap checking
Previously, the signatures used to select the subset of the monolithic
flags were simply the signatures read from the modular flags file. This
change moves the creation of the signature list into a separate script
that outputs the signatures to a file and then passes the path through
Soong from the bootclasspath_fragment modules that create it to the
platform_bootclasspath module that uses it to compare the modular
flags against the monolithic flags.

Currently, the signatures are the full signatures but follow up changes
will replace them with patterns (hence the name) that avoids having to
include implementation details in the hidden API flags that are output
as part of a bootclasspath_fragment's snapshot.

This change moves the stub flags related code next to the all flags
related code as they are treated in a similar way.

Bug: 194063708
Test: atest --host verify_overlaps_test signature_patterns_test
      m out/soong/hiddenapi/hiddenapi-flags.csv
      - manually change files to cause difference in flags to check
        that it detects the differences.
Change-Id: I2855bf6d05c91b8a09591664185750361c7e644f
2021-08-06 13:40:34 +01:00
..
Android.bp Add partial bp2build support for APEX targets (second try). 2021-07-02 07:36:07 -04: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 changes Ie2012adb,Ib0283ca6 2021-08-04 04:35:20 +00:00
apex_singleton.go Update error message for new policy. 2021-08-03 14:40:46 +01:00
apex_test.go static rust binaries are also prohibited in APEXes 2021-08-03 07:52:46 +00:00
bootclasspath_fragment_test.go Merge "Rename UpdatableBootJars to ApexBootJars." 2021-07-26 17:59:36 +00:00
builder.go apex: pass --align-file-size to signapk 2021-07-12 11:35:48 +09:00
classpath_element_test.go Add ClasspathElement support 2021-06-18 11:46:52 +01:00
deapexer.go Export boot image files from prebuilt_apex/apex_set 2021-06-17 23:05:43 +01:00
key.go Add initial bp2build converter support for apex_key modules. 2021-07-28 01:45:54 -04:00
OWNERS Move allowed_deps.txt to packages/modules/common. 2021-03-17 13:44:16 +00:00
platform_bootclasspath_test.go Separate creation of signature patterns from overlap checking 2021-08-06 13:40:34 +01:00
prebuilt.go Ignore license and similar dependencies of prebuilt_apex/apex_set 2021-06-30 00:08:49 +01:00
systemserver_classpath_fragment_test.go Add classpath fragment property to skip proto generation. 2021-06-17 12:59:33 +01:00
TEST_MAPPING Add TEST_MAPPING for build/soong/apex 2019-08-07 17:33:24 +09: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