diff options
| author | 2024-12-20 17:28:39 -0800 | |
|---|---|---|
| committer | 2024-12-20 17:32:44 -0800 | |
| commit | 36b28b379693be6d6edc07c74a0b76d14accb772 (patch) | |
| tree | 9b618abcef5324287bb136a09b599666106a0cdf /libs/androidfw/StringPool.cpp | |
| parent | da61b0b812fb119b044026acf861099afae6a3fb (diff) | |
[aapt2] Add a way to set command line from environment
Sometimes one needs to test or alter aapt2 behavior inside the
system build. This CL allows for a simple way of adding command
line flags when you're not the one running it directly:
_AAPT2_FLAG_NAME adds the '--flag-name' command line parameter
before all actual parameters passed through the command line,
while AAPT2_FLAG_NAME_ adds it after all of those. This way
it's easy to either add a default value, or a hard override to
whatever you need.
+ Allow '-h' shorthands for the long '--help' switches when it's
  unambiguous
Test: build + boot
Flag: EXEMPT command line tool
Change-Id: I3effd25ec207d671ba87200b530601525382240d
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions