diff options
| author | 2019-10-04 14:06:26 +0100 | |
|---|---|---|
| committer | 2020-05-19 02:06:45 +0000 | |
| commit | 1dbb0c3d1ee1f2545f7fbce41e1370fc3e18e8cc (patch) | |
| tree | c0de9abfd5bf019d0a05ccc9ffed1805e58cbf2c /tools/warn/cpp_warn_patterns.py | |
| parent | 4a475b4740322d3d7e5b6ef79723d68c0d005be6 (diff) | |
Introduce build variable `OVERRIDE_TARGET_FLATTEN_APEX`.
When `OVERRIDE_TARGET_FLATTEN_APEX` is defined (e.g. set in the
environment), `TARGET_FLATTEN_APEX` is forcibly assigned its value.
This is useful to enable/disable APEX flattening from the command
line (thus ignoring the product's default configuration), for testing
purposes.
Note: Previously it was possible to set `TARGET_FLATTEN_APEX` directly
and have the same effect, but recent changes in the build
configuration now prevent that option.
Test: Check that:
export OVERRIDE_TARGET_FLATTEN_APEX=true \
&& . ./build/envsetup.sh \
&& lunch aosp_walleye-userdebug \
&& export OVERRIDE_TARGET_FLATTEN_APEX=true \
&& build/soong/soong_ui.bash --dumpvar-mode TARGET_FLATTEN_APEX
returns:
true
Bug: 121117762
Merged-In: Ib9ccae38430340de38e4758b4f55df2c65ea60d5
Change-Id: Ib9ccae38430340de38e4758b4f55df2c65ea60d5
(cherry picked from commit b3a503df7fc569207a349882b8c74f744323df08)
Diffstat (limited to 'tools/warn/cpp_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions