Chromium Code Reviews| Index: build/common.gypi |
| diff --git a/build/common.gypi b/build/common.gypi |
| index 52bde82f85be12f1d68e986911f035f39263a100..9f9e6be0b1db5d1b6b05de468418d82cd0b32b56 100644 |
| --- a/build/common.gypi |
| +++ b/build/common.gypi |
| @@ -4383,6 +4383,14 @@ |
| # '-Wl,--threads', |
| # '-Wl,--thread-count=4', |
| ], |
| + 'conditions': [ |
| + # TODO(thestig): Enable this for CrOS and Sanitizers. |
| + [ 'chromeos==0 and asan==0 and lsan==0 and tsan==0 and msan==0 and ubsan==0 and ubsan_vptr==0', { |
| + 'ldflags': [ |
| + '-Wl,--detect-odr-violations', |
| + ], |
| + }], |
| + ], |
| }], |
| ], |
| 'conditions': [ |