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

Side by Side Diff: build/common.gypi

Issue 10873039: Use early expansion for debug_optimize (Closed) Base URL: svn://svn.chromium.org/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 2024 matching lines...) Expand 10 before | Expand all | Expand 10 after
2035 ], 2035 ],
2036 'configurations': { 2036 'configurations': {
2037 'Debug_Base': { 2037 'Debug_Base': {
2038 'variables': { 2038 'variables': {
2039 'debug_optimize%': '0', 2039 'debug_optimize%': '0',
2040 }, 2040 },
2041 'defines': [ 2041 'defines': [
2042 '_DEBUG', 2042 '_DEBUG',
2043 ], 2043 ],
2044 'cflags': [ 2044 'cflags': [
2045 '-O>(debug_optimize)', 2045 '-O<(debug_optimize)',
2046 '-g', 2046 '-g',
2047 ], 2047 ],
2048 'conditions' : [ 2048 'conditions' : [
2049 ['OS=="android" and android_full_debug==0', { 2049 ['OS=="android" and android_full_debug==0', {
2050 # Some configurations are copied from Release_Base to reduce 2050 # Some configurations are copied from Release_Base to reduce
2051 # the binary size. 2051 # the binary size.
2052 'variables': { 2052 'variables': {
2053 'debug_optimize%': 's', 2053 'debug_optimize%': 's',
2054 }, 2054 },
2055 'cflags': [ 2055 'cflags': [
(...skipping 1339 matching lines...) Expand 10 before | Expand all | Expand 10 after
3395 # settings in target dicts. SYMROOT is a special case, because many other 3395 # settings in target dicts. SYMROOT is a special case, because many other
3396 # Xcode variables depend on it, including variables such as 3396 # Xcode variables depend on it, including variables such as
3397 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3397 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3398 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3398 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3399 # files to appear (when present) in the UI as actual files and not red 3399 # files to appear (when present) in the UI as actual files and not red
3400 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3400 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3401 # and therefore SYMROOT, needs to be set at the project level. 3401 # and therefore SYMROOT, needs to be set at the project level.
3402 'SYMROOT': '<(DEPTH)/xcodebuild', 3402 'SYMROOT': '<(DEPTH)/xcodebuild',
3403 }, 3403 },
3404 } 3404 }
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