platform_build_soong/scripts/hiddenapi
Paul Duffin 280bae6d20 Filter blocked entries from modular flag files
Previously, the sdk snapshot would include all the entries from the
stub-flags.csv and all-flags.csv modular files generated by a single
bootclasspath_fragment. That included implementation details, i.e.
class members that are not part of a stable API or the hidden API which
meant that the sdk snapshots were implementation dependent.

This change removes the implementation details from the modular flag
files, i.e. those entries that are only marked as "blocked". When
comparing the files against the corresponding subset of the monolithic
files it assumes that any entries missing from the modular flag files
are blocked.

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: I6b67b2253cf029d6830b58a06ebb0c8fcaa0dd71
2021-08-11 17:29:47 +01:00
..
Android.bp Separate creation of signature patterns from overlap checking 2021-08-06 13:40:34 +01:00
generate_hiddenapi_lists.py Allow generate_hiddenapi_lists.py to work with no custom flag files 2021-04-21 17:15:25 +01:00
generate_hiddenapi_lists_test.py Add target for generate_hiddenapi_lists_test 2021-07-20 19:17:49 +01:00
merge_csv.py Maintain header order in merge_csv 2021-06-09 14:02:03 +01:00
signature_patterns.py Remove member signature and inner classes from signature-patterns.csv 2021-08-10 14:01:51 +01:00
signature_patterns_test.py Remove member signature and inner classes from signature-patterns.csv 2021-08-10 14:01:51 +01:00
verify_overlaps.py Filter blocked entries from modular flag files 2021-08-11 17:29:47 +01:00
verify_overlaps_test.py Filter blocked entries from modular flag files 2021-08-11 17:29:47 +01:00