diff options
| author | 2025-01-22 16:23:08 -0500 | |
|---|---|---|
| committer | 2025-02-03 14:49:20 -0500 | |
| commit | 1057f9a1c6d71bad4c75249206efe0673df116f2 (patch) | |
| tree | b9bb7979560e81285c1d768413d70c4f694796e7 /tools/fileslist_util.py | |
| parent | 600ae901d6cc54d81ee9b6ed15ca45a183bae143 (diff) | |
aconfig: Add script to generate finalized flag proto.
Takes /prebuilts/sdk/<level>/finalized-flags.txt and creates
aconfig_internal FinalizedFlags proto. For use in automatically adding
the sdk check in exported flag codegen.
Test
1. m convert_finalized_flags_to_proto
2. /path/to/aosp/out/host/linux-x86/bin/convert_finalized_flags_to_proto /path/to/aosp/prebuits/sdk > tmp_flags.pb
3. inspect proto for correctness
Next steps:
-Add genrule which uses this binary
-Read proto output in codegen
Test: manual, see above
Change-Id: I730a1c20347fe1a11fe7213fa25fffbe4ea3fc23
Diffstat (limited to 'tools/fileslist_util.py')
0 files changed, 0 insertions, 0 deletions