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

Unified Diff: build/common.gypi

Issue 281413006: Win-clang update script: make an auxiliary copy of the sanitizer headers (Closed) Base URL: https://chromium.googlesource.com/chromium/src
Patch Set: Add comment suggested by timurrrr Created 6 years, 7 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 | tools/clang/scripts/update.py » ('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 d8e60f182335a6007d2cea3c3ecede989ec27f01..cdcc0d3f5fc7e8b88243bf9ab4407de08a7734ed 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -5060,6 +5060,13 @@
'AdditionalOptions': [
'-fsanitize=address',
],
+ 'AdditionalIncludeDirectories': [
+ # MSVC needs to be able to find the sanitizer headers when
+ # invoked via /fallback. This is critical for using macros
+ # like ASAN_UNPOISON_MEMORY_REGION in files where we fall
+ # back.
+ '<(DEPTH)/<(make_clang_dir)/lib/clang/3.5.0/include_sanitizer',
+ ],
},
'VCLinkerTool': {
'AdditionalLibraryDirectories': [
« no previous file with comments | « no previous file | tools/clang/scripts/update.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698