diff options
| author | 2024-08-30 15:37:27 +0000 | |
|---|---|---|
| committer | 2024-09-03 16:24:51 -0400 | |
| commit | df1b7d1d817d07772073a8ee35dc1d83b6872047 (patch) | |
| tree | 544206af8de5fdaa5672c0aa8803aa4a4408115d /tools/warn/java_warn_patterns.py | |
| parent | 0ad443b80cda57beae30f17d77c0b7759c2e3e4a (diff) | |
Add a function to fingerprint flag/offset info.
Uses SipHasher implementation added to the project. Ideally the output
would remain consistent between builds (though the worst case of an
updated algorithm would be a string lookup for cross-container reads
only).
Sort the flags first so everything is always added to the hasher in the
same order - note this code is only run at build time, not runtime.
Next step is to write this fingerprint into the package.map file and
introduce a flag to guard this change.
Bug: 316357686
Test: atest aconfig.test
Change-Id: Ie5f34541d982dfa120ffb05fc0790603689d47c0
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions