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

Side by Side Diff: build/common.gypi

Issue 891663004: Disable ASan instrumentation of select sandbox code on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | tools/memory/asan/blacklist_win.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 5573 matching lines...) Expand 10 before | Expand all | Expand 10 after
5584 'AdditionalOptions': ['/largeaddressaware'], 5584 'AdditionalOptions': ['/largeaddressaware'],
5585 }, 5585 },
5586 }], 5586 }],
5587 ['asan==1', { 5587 ['asan==1', {
5588 # TODO(asan/win): Move this down into the general 5588 # TODO(asan/win): Move this down into the general
5589 # win-target_defaults section once the 64-bit asan runtime 5589 # win-target_defaults section once the 64-bit asan runtime
5590 # exists. See crbug.com/345874. 5590 # exists. See crbug.com/345874.
5591 'VCCLCompilerTool': { 5591 'VCCLCompilerTool': {
5592 'AdditionalOptions': [ 5592 'AdditionalOptions': [
5593 '-fsanitize=address', 5593 '-fsanitize=address',
5594 '-fsanitize-blacklist=<(PRODUCT_DIR)/../../tools/memory/as an/blacklist_win.txt',
5594 ], 5595 ],
5595 'AdditionalIncludeDirectories': [ 5596 'AdditionalIncludeDirectories': [
5596 # MSVC needs to be able to find the sanitizer headers when 5597 # MSVC needs to be able to find the sanitizer headers when
5597 # invoked via /fallback. This is critical for using macros 5598 # invoked via /fallback. This is critical for using macros
5598 # like ASAN_UNPOISON_MEMORY_REGION in files where we fall 5599 # like ASAN_UNPOISON_MEMORY_REGION in files where we fall
5599 # back. 5600 # back.
5600 '<(DEPTH)/<(make_clang_dir)/lib/clang/3.7.0/include_saniti zer', 5601 '<(DEPTH)/<(make_clang_dir)/lib/clang/3.7.0/include_saniti zer',
5601 ], 5602 ],
5602 }, 5603 },
5603 'VCLinkerTool': { 5604 'VCLinkerTool': {
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
5861 # settings in target dicts. SYMROOT is a special case, because many other 5862 # settings in target dicts. SYMROOT is a special case, because many other
5862 # Xcode variables depend on it, including variables such as 5863 # Xcode variables depend on it, including variables such as
5863 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5864 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5864 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5865 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5865 # files to appear (when present) in the UI as actual files and not red 5866 # files to appear (when present) in the UI as actual files and not red
5866 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5867 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5867 # and therefore SYMROOT, needs to be set at the project level. 5868 # and therefore SYMROOT, needs to be set at the project level.
5868 'SYMROOT': '<(DEPTH)/xcodebuild', 5869 'SYMROOT': '<(DEPTH)/xcodebuild',
5869 }, 5870 },
5870 } 5871 }
OLDNEW
« no previous file with comments | « no previous file | tools/memory/asan/blacklist_win.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698