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

Side by Side Diff: build/common.gypi

Issue 295103014: Build official release builds on Mac with ASAN. Not for check-in (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/asan.saves ('k') | ppapi/native_client/src/trusted/plugin/plugin.gyp » ('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 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 'syzygy_optimize%': 0, 559 'syzygy_optimize%': 0,
560 560
561 # Enable hole punching for the protected video. 561 # Enable hole punching for the protected video.
562 'video_hole%': 0, 562 'video_hole%': 0,
563 563
564 # Automatically select platforms under ozone. Turn this off to 564 # Automatically select platforms under ozone. Turn this off to
565 # build only explicitly selected platforms. 565 # build only explicitly selected platforms.
566 'ozone_auto_platforms%': 1, 566 'ozone_auto_platforms%': 1,
567 567
568 'conditions': [ 568 'conditions': [
569 ['OS=="mac" and buildtype=="Official" and branding=="Chrome"', {
570 'asan%': 1,
571 }],
572
569 # A flag for POSIX platforms 573 # A flag for POSIX platforms
570 ['OS=="win"', { 574 ['OS=="win"', {
571 'os_posix%': 0, 575 'os_posix%': 0,
572 }, { 576 }, {
573 'os_posix%': 1, 577 'os_posix%': 1,
574 }], 578 }],
575 579
576 # A flag for BSD platforms 580 # A flag for BSD platforms
577 ['OS=="freebsd" or OS=="openbsd"', { 581 ['OS=="freebsd" or OS=="openbsd"', {
578 'os_bsd%': 1, 582 'os_bsd%': 1,
(...skipping 1419 matching lines...) Expand 10 before | Expand all | Expand 10 after
1998 ['clang_use_chrome_plugins==1 and OS!="win"', { 2002 ['clang_use_chrome_plugins==1 and OS!="win"', {
1999 'clang_chrome_plugins_flags': [ 2003 'clang_chrome_plugins_flags': [
2000 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)' 2004 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)'
2001 ], 2005 ],
2002 }], 2006 }],
2003 2007
2004 ['asan==1', { 2008 ['asan==1', {
2005 'clang%': 1, 2009 'clang%': 1,
2006 'use_allocator%': 'none', 2010 'use_allocator%': 'none',
2007 }], 2011 }],
2008 ['asan==1 and OS=="mac"', {
2009 # TODO(glider): we do not strip ASan binaries until the dynamic ASan
2010 # runtime is fully adopted. See http://crbug.com/242503.
2011 'mac_strip_release': 0,
2012 }],
2013 ['lsan==1', { 2012 ['lsan==1', {
2014 'clang%': 1, 2013 'clang%': 1,
2015 }], 2014 }],
2016 ['tsan==1', { 2015 ['tsan==1', {
2017 'clang%': 1, 2016 'clang%': 1,
2018 'use_custom_libcxx%': 1, 2017 'use_custom_libcxx%': 1,
2019 }], 2018 }],
2020 ['msan==1', { 2019 ['msan==1', {
2021 'clang%': 1, 2020 'clang%': 1,
2022 }], 2021 }],
(...skipping 3324 matching lines...) Expand 10 before | Expand all | Expand 10 after
5347 # settings in target dicts. SYMROOT is a special case, because many other 5346 # settings in target dicts. SYMROOT is a special case, because many other
5348 # Xcode variables depend on it, including variables such as 5347 # Xcode variables depend on it, including variables such as
5349 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5348 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5350 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5349 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5351 # files to appear (when present) in the UI as actual files and not red 5350 # files to appear (when present) in the UI as actual files and not red
5352 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5351 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5353 # and therefore SYMROOT, needs to be set at the project level. 5352 # and therefore SYMROOT, needs to be set at the project level.
5354 'SYMROOT': '<(DEPTH)/xcodebuild', 5353 'SYMROOT': '<(DEPTH)/xcodebuild',
5355 }, 5354 },
5356 } 5355 }
OLDNEW
« no previous file with comments | « build/asan.saves ('k') | ppapi/native_client/src/trusted/plugin/plugin.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698