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

Side by Side Diff: build/common.gypi

Issue 7828043: If the 'asan' GYP variable is set to 1 on Mac, do not strip the __asan_init symbol from the binar... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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') | chrome/app/app_asan.saves » ('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) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 1718 matching lines...) Expand 10 before | Expand all | Expand 10 after
1729 }], 1729 }],
1730 ], 1730 ],
1731 }, 1731 },
1732 'postbuild_name': 'Change Mach-O Flags', 1732 'postbuild_name': 'Change Mach-O Flags',
1733 'action': [ 1733 'action': [
1734 '<(change_mach_o_flags_path)', 1734 '<(change_mach_o_flags_path)',
1735 '>@(change_mach_o_flags_options)', 1735 '>@(change_mach_o_flags_options)',
1736 ], 1736 ],
1737 }, 1737 },
1738 ], 1738 ],
1739 'conditions': [
1740 ['asan==1', {
1741 'variables': {
1742 'asan_saves_file': 'asan.saves',
1743 },
1744 'xcode_settings': {
1745 'CHROMIUM_STRIP_SAVE_FILE': '<(asan_saves_file)'
1746 },
1747 }],
1748 ],
1739 }], 1749 }],
1740 ['_type=="executable" and release_valgrind_build==0', { 1750 ['_type=="executable" and release_valgrind_build==0', {
1741 # Turn on position-independence (ASLR) for executables. When PIE 1751 # Turn on position-independence (ASLR) for executables. When PIE
1742 # is on for the Chrome executables, the framework will also be 1752 # is on for the Chrome executables, the framework will also be
1743 # subject to ASLR. 1753 # subject to ASLR.
1744 # Don't do this when building for Valgrind because Valgrind 1754 # Don't do this when building for Valgrind because Valgrind
1745 # doesn't understand slide. TODO: Make Valgrind on Mac OS X 1755 # doesn't understand slide. TODO: Make Valgrind on Mac OS X
1746 # understand slide, and get rid of the Valgrind check. 1756 # understand slide, and get rid of the Valgrind check.
1747 'xcode_settings': { 1757 'xcode_settings': {
1748 'OTHER_LDFLAGS': [ 1758 'OTHER_LDFLAGS': [
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
2012 # settings in target dicts. SYMROOT is a special case, because many other 2022 # settings in target dicts. SYMROOT is a special case, because many other
2013 # Xcode variables depend on it, including variables such as 2023 # Xcode variables depend on it, including variables such as
2014 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2024 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2015 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2025 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2016 # files to appear (when present) in the UI as actual files and not red 2026 # files to appear (when present) in the UI as actual files and not red
2017 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2027 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2018 # and therefore SYMROOT, needs to be set at the project level. 2028 # and therefore SYMROOT, needs to be set at the project level.
2019 'SYMROOT': '<(DEPTH)/xcodebuild', 2029 'SYMROOT': '<(DEPTH)/xcodebuild',
2020 }, 2030 },
2021 } 2031 }
OLDNEW
« no previous file with comments | « build/asan.saves ('k') | chrome/app/app_asan.saves » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698