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

Unified Diff: build/common.gypi

Issue 1322483002: Revert https://codereview.chromium.org/1291903002 (protobuf roll). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months 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 | third_party/protobuf/.gitignore » ('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 193c5f6d2636e030d2daeef9927b8357b5225ac0..b58fede74469c9d22504ed5c30cf6f3e238fc13f 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -2864,6 +2864,13 @@
}],
],
}],
+ ['asan==1', {
+ 'defines': [
+ 'ADDRESS_SANITIZER',
+ 'MEMORY_TOOL_REPLACES_ALLOCATOR',
+ 'MEMORY_SANITIZER_INITIAL_SIZE',
+ ],
+ }],
['syzyasan==1', {
# SyzyAsan needs /PROFILE turned on to produce appropriate pdbs.
'msvs_settings': {
@@ -3121,13 +3128,6 @@
['<(chromeos)==1 and >(nacl_untrusted_build)==0', {
'defines': ['OS_CHROMEOS=1'],
}],
- ['<(asan)==1 and >(nacl_untrusted_build)==0', {
- 'defines': [
- 'ADDRESS_SANITIZER',
- 'MEMORY_TOOL_REPLACES_ALLOCATOR',
- 'MEMORY_SANITIZER_INITIAL_SIZE',
- ],
- }],
['enable_wexit_time_destructors==1 and OS!="win"', {
# TODO: Enable on Windows too, http://crbug.com/404525
'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']},
« no previous file with comments | « no previous file | third_party/protobuf/.gitignore » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698