diff options
| author | 2019-07-11 10:58:17 -0700 | |
|---|---|---|
| committer | 2019-07-11 14:52:17 -0700 | |
| commit | 2647ced06ebaf5774d3c812756b1dd3a84bf019c (patch) | |
| tree | 452b108106d6f8a4a072b660adc462cc78310578 /scripts/jsonmodify.py | |
| parent | ee94d6ab14ee9480e9c68ca9616698ba2bd93e70 (diff) | |
Fix android.Expand and ninja escaping
RuleBuilder does its own ninja escaping, so values that will be
passed to RuleBuilder must not be pre-escaped. Add a new
android.ExpandNinjaEscaped method that explicitly handles ninja
escaping. Some of the expansion functions return ninja values
(like "${in}") that need to stay unescaped, so add a bool return
value to the expansion function in android.ExpandNinjaEscaped.
Test: expand_test.go
Change-Id: Ib03d4db38b5e3e5bffbd87acf14f55e276a53d04
Diffstat (limited to 'scripts/jsonmodify.py')
0 files changed, 0 insertions, 0 deletions