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

Side by Side Diff: build/common.gypi

Issue 9789003: lto Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gets a bit further Created 8 years, 9 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 | « no previous file | tools/clang/scripts/update.sh » ('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 1592 matching lines...) Expand 10 before | Expand all | Expand 10 after
1603 }, 1603 },
1604 }], 1604 }],
1605 ], 1605 ],
1606 }, 1606 },
1607 'Release_Base': { 1607 'Release_Base': {
1608 'abstract': 1, 1608 'abstract': 1,
1609 'defines': [ 1609 'defines': [
1610 'NDEBUG', 1610 'NDEBUG',
1611 ], 1611 ],
1612 'xcode_settings': { 1612 'xcode_settings': {
1613 'DEAD_CODE_STRIPPING': 'YES', # -Wl,-dead_strip 1613 #'DEAD_CODE_STRIPPING': 'YES', # -Wl,-dead_strip # lto + this = ld c rash
1614 'GCC_OPTIMIZATION_LEVEL': '<(mac_release_optimization)', 1614 'GCC_OPTIMIZATION_LEVEL': '<(mac_release_optimization)',
1615 'OTHER_CFLAGS': [ '<@(release_extra_cflags)', ], 1615 'OTHER_CFLAGS': [ '<@(release_extra_cflags)',
1616 '-Qunused-arguments', # -flto for .S files for example.
1617 ],
1618 'LLVM_LTO': 'YES', # -flto, XXX
1619 # makes libtool complain like
1620 # "descriptor.o is not an object file (not allowed in a library)"
1621 # with xcodebuild? at least with xcode 3.2.6.
1616 }, 1622 },
1617 'msvs_settings': { 1623 'msvs_settings': {
1618 'VCCLCompilerTool': { 1624 'VCCLCompilerTool': {
1619 'RuntimeLibrary': '<(win_release_RuntimeLibrary)', 1625 'RuntimeLibrary': '<(win_release_RuntimeLibrary)',
1620 'conditions': [ 1626 'conditions': [
1621 # In official builds, each target will self-select 1627 # In official builds, each target will self-select
1622 # an optimization level. 1628 # an optimization level.
1623 ['buildtype!="Official"', { 1629 ['buildtype!="Official"', {
1624 'Optimization': '<(win_release_Optimization)', 1630 'Optimization': '<(win_release_Optimization)',
1625 }, 1631 },
(...skipping 1322 matching lines...) Expand 10 before | Expand all | Expand 10 after
2948 # settings in target dicts. SYMROOT is a special case, because many other 2954 # settings in target dicts. SYMROOT is a special case, because many other
2949 # Xcode variables depend on it, including variables such as 2955 # Xcode variables depend on it, including variables such as
2950 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2956 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2951 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2957 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2952 # files to appear (when present) in the UI as actual files and not red 2958 # files to appear (when present) in the UI as actual files and not red
2953 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2959 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2954 # and therefore SYMROOT, needs to be set at the project level. 2960 # and therefore SYMROOT, needs to be set at the project level.
2955 'SYMROOT': '<(DEPTH)/xcodebuild', 2961 'SYMROOT': '<(DEPTH)/xcodebuild',
2956 }, 2962 },
2957 } 2963 }
OLDNEW
« no previous file with comments | « no previous file | tools/clang/scripts/update.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698