Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 36b28b37 authored by Yurii Zubrytskyi's avatar Yurii Zubrytskyi
Browse files

[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
parent da61b0b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment