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

Side by Side Diff: tools/gyp/configurations_make.gypi

Issue 10832125: Make the debug optimization level configurable through a variable. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
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 | tools/gyp/configurations_msvs.gypi » ('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 Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'arm_cross_libc%': '/opt/codesourcery/arm-2009q1/arm-none-linux-gnueabi/libc ', 7 'arm_cross_libc%': '/opt/codesourcery/arm-2009q1/arm-none-linux-gnueabi/libc ',
8 'dart_debug_optimization_level%': '2',
8 }, 9 },
9 'target_defaults': { 10 'target_defaults': {
10 'configurations': { 11 'configurations': {
11 'Dart_Base': { 12 'Dart_Base': {
12 'cflags': [ 13 'cflags': [
13 '-Werror', 14 '-Werror',
14 '<@(common_gcc_warning_flags)', 15 '<@(common_gcc_warning_flags)',
15 '-Wnon-virtual-dtor', 16 '-Wnon-virtual-dtor',
16 '-Wvla', 17 '-Wvla',
17 '-Wno-conversion-null', 18 '-Wno-conversion-null',
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 '-mfpu=vfp', 54 '-mfpu=vfp',
54 '-mfloat-abi=softfp', 55 '-mfloat-abi=softfp',
55 '-fno-strict-overflow', 56 '-fno-strict-overflow',
56 ], 57 ],
57 'ldflags': [ 58 'ldflags': [
58 '-Wl,-rpath=<(arm_cross_libc)/usr/lib', 59 '-Wl,-rpath=<(arm_cross_libc)/usr/lib',
59 ], 60 ],
60 }, 61 },
61 62
62 'Dart_Debug': { 63 'Dart_Debug': {
63 'cflags': [ '-O2' ], 64 'cflags': [ '-O<(dart_debug_optimization_level)' ],
64 }, 65 },
65 66
66 'Dart_Release': { 67 'Dart_Release': {
67 'cflags': [ '-O3', ], 68 'cflags': [ '-O3', ],
68 }, 69 },
69 }, 70 },
70 }, 71 },
71 } 72 }
OLDNEW
« no previous file with comments | « no previous file | tools/gyp/configurations_msvs.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698