diff options
| author | 2021-03-24 14:20:33 +0900 | |
|---|---|---|
| committer | 2021-03-24 14:20:33 +0900 | |
| commit | 3dfb8b8d7aa93e4ea735985d01c55c1695abf844 (patch) | |
| tree | b361b176d11dc22b78d94178d5d6efa108240bab /tools/warn/java_warn_patterns.py | |
| parent | 26c77daaa458c7b4e5e3de9b69bd0d0c37577833 (diff) | |
Add filter to some boolean variables
add_json_bool converts non-empty string to true, and empty string to
false. But some of boolean variables are meant to be set either "true"
or "false". In that case "false" may lead to a mismatch. This adds
filter to boolean variables which are directly compared to "true", like
ifeq ($(VAR),true)
Bug: 183483152
Test: build
Change-Id: I0dc4a05293a3233ae4958335781a19e6445a3799
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions