summaryrefslogtreecommitdiff
path: root/tools/warn/cpp_warn_patterns.py
diff options
context:
space:
mode:
author Anton Hansson <hansson@google.com> 2019-05-06 14:40:57 +0100
committer Anton Hansson <hansson@google.com> 2019-05-06 16:17:20 +0100
commitd26c647f74b25f5681ca65505b358fd114cda596 (patch)
tree03e833b39fc5710a1b0ed4b73fac4f9fc5fe48f2 /tools/warn/cpp_warn_patterns.py
parent1c5610915f007a0b9f0e4e404f883ea5219b48c7 (diff)
Add support for single-value product variables
Prior to this change, all PRODUCT_* variables are inherited with list semantics, meaning the variable value in the current makefile as well as all the makefiles it inherits are concatenated together. Many of these variables are not lists, so this change adds the ability to classify a variable as a single-value variable, which will inherit at most one value (the first one), unless the variable is already defined in the current file. This change also marks all current variables as list variables. A future change will re-classify the single-value variables as such. Bug: 116769560 Test: presubmit Change-Id: I57719a5eefd0749e92c08b1773b6f929629267a3
Diffstat (limited to 'tools/warn/cpp_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions