diff options
| author | 2019-03-28 15:45:40 +0000 | |
|---|---|---|
| committer | 2019-03-28 15:54:25 +0000 | |
| commit | 8dab0a6f50d8ee7207b756e8ddac84d3994dd365 (patch) | |
| tree | efe94c383a9424d63d153f9bc6cda77014441201 /tools/warn/cpp_warn_patterns.py | |
| parent | 13ea2a6a7daefe4e691e91930821c60b7f81702b (diff) | |
Access PRODUCT_ variables directly
This CL simplifies the PRODUCTS.$(INTERNAL_PRODUCT).X accesses of
product variables, and removes unnecessary stripping of them.
Replace: '\$\(PRODUCTS\.\$\(INTERNAL_PRODUCT\)\.([^\)]*)\)' with '$(\1)'
Replace: '\$\(strip\s*\$\(PRODUCT_([^\)]*)\)\)' with '$(PRODUCT_\1)'
A few minor manual tweaks.
Bug: 116769560
Test: presubmit
Change-Id: I70c54f1582e3cc780028535960147d99ebc2e0e1
Diffstat (limited to 'tools/warn/cpp_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions