Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index c899e14d4bf06b80ac8bf7f7c478145b59e4caab..92ee53d341329357e6a4f57b07caef2ec18615e5 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -2521,6 +2521,9 @@ |
# code generated by flex (used in angle) contains that keyword. |
# http://crbug.com/255186 |
'-Wno-deprecated-register', |
+ |
+ # TODO(hans): Get this cleaned up. |
+ '-Wno-inconsistent-missing-override', |
], |
}, |
'includes': [ 'set_clang_warning_flags.gypi', ], |
@@ -4185,6 +4188,13 @@ |
], |
}], |
], |
+ 'conditions': [ |
+ ['OS=="mac"', { |
+ 'cflags': [ |
+ '-mllvm -asan-globals=0', # http://crbug.com/352073 |
+ ], |
+ }], |
+ ], |
}], |
['ubsan==1', { |
'target_conditions': [ |
@@ -4235,7 +4245,7 @@ |
'target_conditions': [ |
['_toolset=="target"', { |
'cflags': [ |
- '-mllvm -asan-coverage=<(asan_coverage)', |
+ '-fsanitize-coverage=<(asan_coverage)', |
], |
}], |
], |
@@ -4606,16 +4616,6 @@ |
# TODO(eugenis): find a way to reenable this. |
'-mllvm -asan-globals=0', |
], |
- 'conditions': [ |
- ['target_arch=="arm"', { |
- 'ldflags': [ |
- # TODO(hans): The ASan runtime is no longer automatically |
- # added to the link line when using -nostdlib. Can we |
- # stop adding -nostdlib? (crbug.com/423429) |
- '<!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/lib/clang/3.6.0/lib/linux/libclang_rt.asan-arm-android.so', |
- ], |
- }], |
- ], |
}], |
['android_webview_build==0', { |
'defines': [ |
@@ -4900,6 +4900,7 @@ |
'xcode_settings': { |
'OTHER_CFLAGS': [ |
'-fsanitize=address', |
+ '-mllvm -asan-globals=0', # http://crbug.com/352073 |
'-gline-tables-only', |
], |
}, |
@@ -4908,7 +4909,7 @@ |
'target_conditions': [ |
['_toolset=="target"', { |
'cflags': [ |
- '-mllvm -asan-coverage=<(asan_coverage)', |
+ '-fsanitize-coverage=<(asan_coverage)', |
], |
}], |
], |