Commit 03453d10 authored by machenbach's avatar machenbach Committed by Commit bot

[gn] Fix config for using clang

Needed for https://codereview.chromium.org/2124263002/

BUG=chromium:474921
TBR=jochen@chromium.org, vogelheim@chromium.org,
NOTRY=true

Review-Url: https://codereview.chromium.org/2125703005
Cr-Commit-Position: refs/heads/master@{#37574}
parent 9a581f60
...@@ -372,7 +372,7 @@ ...@@ -372,7 +372,7 @@
}, },
'asan': { 'asan': {
'gn_args': 'clang=true asan=true', 'gn_args': 'is_clang=true asan=true',
'gyp_defines': 'clang=1 asan=1', 'gyp_defines': 'clang=1 asan=1',
}, },
...@@ -387,7 +387,7 @@ ...@@ -387,7 +387,7 @@
}, },
'clang': { 'clang': {
'gn_args': 'clang=true', 'gn_args': 'is_clang=true',
'gyp_defines': 'clang=1', 'gyp_defines': 'clang=1',
}, },
...@@ -425,7 +425,7 @@ ...@@ -425,7 +425,7 @@
}, },
'gcc': { 'gcc': {
'gn_args': 'clang=false', 'gn_args': 'is_clang=false',
'gyp_defines': 'clang=0', 'gyp_defines': 'clang=0',
}, },
...@@ -466,7 +466,7 @@ ...@@ -466,7 +466,7 @@
}, },
'msan': { 'msan': {
'gn_args': 'clang=true msan=true', 'gn_args': 'is_clang=true msan=true',
'gyp_defines': 'clang=1 msan=1', 'gyp_defines': 'clang=1 msan=1',
}, },
...@@ -550,7 +550,7 @@ ...@@ -550,7 +550,7 @@
}, },
'tsan': { 'tsan': {
'gn_args': 'clang=true tsan=true', 'gn_args': 'is_clang=true tsan=true',
'gyp_defines': 'clang=1 tsan=1', 'gyp_defines': 'clang=1 tsan=1',
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment