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

Unified Diff: build/common.gypi

Issue 9479002: Allow to override the location of ASan blacklist. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
===================================================================
--- build/common.gypi (revision 123931)
+++ build/common.gypi (working copy)
@@ -208,6 +208,7 @@
# -faddress-sanitizer only works with clang, but asan=1 implies clang=1
# See https://sites.google.com/a/chromium.org/dev/developers/testing/addresssanitizer
'asan%': 0,
+ 'asan_blacklist%': '<(PRODUCT_DIR)/../../third_party/asan/ignore.txt',
# Use the provided profiled order file to link Chrome image with it.
# This makes Chrome faster by better using CPU cache when executing code.
@@ -458,6 +459,7 @@
'notifications%': '<(notifications)',
'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)',
'asan%': '<(asan)',
+ 'asan_blacklist%': '<(asan_blacklist)',
'order_text_section%': '<(order_text_section)',
'enable_register_protocol_handler%': '<(enable_register_protocol_handler)',
'enable_web_intents%': '<(enable_web_intents)',
@@ -1964,7 +1966,7 @@
'-faddress-sanitizer',
'-fno-omit-frame-pointer',
'-w',
- '-mllvm', '-asan-blacklist=<(PRODUCT_DIR)/../../third_party/asan/ignore.txt',
+ '-mllvm', '-asan-blacklist=<(asan_blacklist)',
],
'ldflags': [
'-faddress-sanitizer',
@@ -2387,7 +2389,7 @@
'OTHER_CFLAGS': [
'-faddress-sanitizer',
'-w',
- '-mllvm', '-asan-blacklist=<(PRODUCT_DIR)/../../third_party/asan/ignore.txt',
+ '-mllvm', '-asan-blacklist=<(asan_blacklist)',
],
'OTHER_LDFLAGS': [
'-faddress-sanitizer',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698