Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(505)

Unified Diff: build/common.gypi

Issue 790263003: Roll Clang 218707:223109 (+r223211, +r223219, -r220714), take 2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't bump the plugin number Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)',
],
}],
],
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698