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

Side by Side Diff: build/common.gypi

Issue 10828084: Use early expansion for debug_optimize and release_optimize (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 | 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 2036 matching lines...) Expand 10 before | Expand all | Expand 10 after
2047 # (This is currently observed only in chromeos valgrind bots) 2047 # (This is currently observed only in chromeos valgrind bots)
2048 # The following flag is to disable --gc-sections linker 2048 # The following flag is to disable --gc-sections linker
2049 # option for these bots. 2049 # option for these bots.
2050 'no_gc_sections%': 0, 2050 'no_gc_sections%': 0,
2051 2051
2052 # TODO(bradnelson): reexamine how this is done if we change the 2052 # TODO(bradnelson): reexamine how this is done if we change the
2053 # expansion of configurations 2053 # expansion of configurations
2054 'release_valgrind_build%': 0, 2054 'release_valgrind_build%': 0,
2055 }, 2055 },
2056 'cflags': [ 2056 'cflags': [
2057 '-O>(release_optimize)', 2057 '-O<(release_optimize)',
2058 # Don't emit the GCC version ident directives, they just end up 2058 # Don't emit the GCC version ident directives, they just end up
2059 # in the .comment section taking up binary size. 2059 # in the .comment section taking up binary size.
2060 '-fno-ident', 2060 '-fno-ident',
2061 # Put data and code in their own sections, so that unused symbols 2061 # Put data and code in their own sections, so that unused symbols
2062 # can be removed at link time with --gc-sections. 2062 # can be removed at link time with --gc-sections.
2063 '-fdata-sections', 2063 '-fdata-sections',
2064 '-ffunction-sections', 2064 '-ffunction-sections',
2065 ], 2065 ],
2066 'ldflags': [ 2066 'ldflags': [
2067 # Specifically tell the linker to perform optimizations. 2067 # Specifically tell the linker to perform optimizations.
(...skipping 1265 matching lines...) Expand 10 before | Expand all | Expand 10 after
3333 # settings in target dicts. SYMROOT is a special case, because many other 3333 # settings in target dicts. SYMROOT is a special case, because many other
3334 # Xcode variables depend on it, including variables such as 3334 # Xcode variables depend on it, including variables such as
3335 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3335 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3336 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3336 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3337 # files to appear (when present) in the UI as actual files and not red 3337 # files to appear (when present) in the UI as actual files and not red
3338 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3338 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3339 # and therefore SYMROOT, needs to be set at the project level. 3339 # and therefore SYMROOT, needs to be set at the project level.
3340 'SYMROOT': '<(DEPTH)/xcodebuild', 3340 'SYMROOT': '<(DEPTH)/xcodebuild',
3341 }, 3341 },
3342 } 3342 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698