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

Side by Side Diff: build/common.gypi

Issue 11377146: Allow windows ASAN build to work (Closed) Base URL: http://git.chromium.org/chromium/src.git@pdb
Patch Set: A smaller rev is acceptable here Created 8 years, 1 month 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 | « build/all.gyp ('k') | no next file » | 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 1348 matching lines...) Expand 10 before | Expand all | Expand 10 after
1359 ['clang_use_chrome_plugins==1 and OS!="win"', { 1359 ['clang_use_chrome_plugins==1 and OS!="win"', {
1360 'clang_chrome_plugins_flags': [ 1360 'clang_chrome_plugins_flags': [
1361 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)' 1361 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)'
1362 ], 1362 ],
1363 }], 1363 }],
1364 1364
1365 ['enable_web_intents_tag==1', { 1365 ['enable_web_intents_tag==1', {
1366 'grit_defines': ['-D', 'enable_web_intents_tag'], 1366 'grit_defines': ['-D', 'enable_web_intents_tag'],
1367 }], 1367 }],
1368 1368
1369 ['asan==1', { 1369 ['asan==1 and OS!="win"', {
1370 'clang%': 1, 1370 'clang%': 1,
1371 }], 1371 }],
1372 ['asan==1 and OS=="mac"', { 1372 ['asan==1 and OS=="mac"', {
1373 # See http://crbug.com/145503. 1373 # See http://crbug.com/145503.
1374 'component': "static_library", 1374 'component': "static_library",
1375 }], 1375 }],
1376 ['tsan==1', { 1376 ['tsan==1', {
1377 'clang%': 1, 1377 'clang%': 1,
1378 }], 1378 }],
1379 1379
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
1742 ['enable_eglimage==1', { 1742 ['enable_eglimage==1', {
1743 'defines': [ 1743 'defines': [
1744 'ENABLE_EGLIMAGE=1', 1744 'ENABLE_EGLIMAGE=1',
1745 ], 1745 ],
1746 }], 1746 }],
1747 ['use_skia==1', { 1747 ['use_skia==1', {
1748 'defines': [ 1748 'defines': [
1749 'USE_SKIA=1', 1749 'USE_SKIA=1',
1750 ], 1750 ],
1751 }], 1751 }],
1752 ['asan==1 and OS=="win"', {
1753 # Since asan on windows uses Syzygy, we need /PROFILE turned on to
1754 # produce appropriate pdbs.
1755 'msvs_settings': {
1756 'VCLinkerTool': {
1757 'Profile': 'true',
1758 },
1759 },
1760 }], # asan==1 and OS=="win"
1752 ['coverage!=0', { 1761 ['coverage!=0', {
1753 'conditions': [ 1762 'conditions': [
1754 ['OS=="mac" or OS=="ios"', { 1763 ['OS=="mac" or OS=="ios"', {
1755 'xcode_settings': { 1764 'xcode_settings': {
1756 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS': 'YES', # -fprofile-arcs 1765 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS': 'YES', # -fprofile-arcs
1757 'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES', # -ftest-coverage 1766 'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES', # -ftest-coverage
1758 }, 1767 },
1759 }], 1768 }],
1760 ['OS=="mac"', { 1769 ['OS=="mac"', {
1761 # Add -lgcov for types executable, shared_library, and 1770 # Add -lgcov for types executable, shared_library, and
(...skipping 2084 matching lines...) Expand 10 before | Expand all | Expand 10 after
3846 # settings in target dicts. SYMROOT is a special case, because many other 3855 # settings in target dicts. SYMROOT is a special case, because many other
3847 # Xcode variables depend on it, including variables such as 3856 # Xcode variables depend on it, including variables such as
3848 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3857 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3849 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3858 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3850 # files to appear (when present) in the UI as actual files and not red 3859 # files to appear (when present) in the UI as actual files and not red
3851 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3860 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3852 # and therefore SYMROOT, needs to be set at the project level. 3861 # and therefore SYMROOT, needs to be set at the project level.
3853 'SYMROOT': '<(DEPTH)/xcodebuild', 3862 'SYMROOT': '<(DEPTH)/xcodebuild',
3854 }, 3863 },
3855 } 3864 }
OLDNEW
« no previous file with comments | « build/all.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698