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

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

Issue 13826002: - Do not emit PIC code and frame pointers for release targets. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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) 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 'dart_debug_optimization_level%': '2',
9 }, 9 },
10 'target_defaults': { 10 'target_defaults': {
11 'configurations': { 11 'configurations': {
12 'Dart_Base': { 12 'Dart_Base': {
13 'abstract': 1, 13 'abstract': 1,
14 'cflags': [ 14 'cflags': [
15 '-Werror', 15 '-Werror',
16 '<@(common_gcc_warning_flags)', 16 '<@(common_gcc_warning_flags)',
17 '-Wnon-virtual-dtor', 17 '-Wnon-virtual-dtor',
18 '-Wvla', 18 '-Wvla',
19 '-Wno-conversion-null', 19 '-Wno-conversion-null',
20 # TODO(v8-team): Fix V8 build. 20 # TODO(v8-team): Fix V8 build.
21 #'-Woverloaded-virtual', 21 #'-Woverloaded-virtual',
22 '-g3', 22 '-g3',
23 '-ggdb3', 23 '-ggdb3',
24 # TODO(iposva): Figure out if we need to pass anything else. 24 # TODO(iposva): Figure out if we need to pass anything else.
25 #'-ansi', 25 #'-ansi',
26 '-fno-rtti', 26 '-fno-rtti',
27 '-fno-exceptions', 27 '-fno-exceptions',
28 '-fPIC',
29 '-fvisibility=hidden', 28 '-fvisibility=hidden',
30 '-fvisibility-inlines-hidden', 29 '-fvisibility-inlines-hidden',
31 '-fno-omit-frame-pointer',
32 ], 30 ],
33 }, 31 },
34 32
35 'Dart_ia32_Base': { 33 'Dart_ia32_Base': {
36 'cflags': [ '-m32', '-msse2' ], 34 'cflags': [ '-m32', '-msse2' ],
37 'ldflags': [ '-m32', ], 35 'ldflags': [ '-m32', ],
38 }, 36 },
39 37
40 'Dart_x64_Base': { 38 'Dart_x64_Base': {
41 'cflags': [ '-m64', '-msse2' ], 39 'cflags': [ '-m64', '-msse2' ],
(...skipping 21 matching lines...) Expand all
63 61
64 'Dart_mips_Base': { 62 'Dart_mips_Base': {
65 'cflags': [ 63 'cflags': [
66 '-march=mips32r2', 64 '-march=mips32r2',
67 '-mhard-float', 65 '-mhard-float',
68 '-fno-strict-overflow', 66 '-fno-strict-overflow',
69 ], 67 ],
70 }, 68 },
71 69
72 'Dart_Debug': { 70 'Dart_Debug': {
73 'cflags': [ '-O<(dart_debug_optimization_level)' ], 71 'cflags': [
72 '-O<(dart_debug_optimization_level)',
73 '-fno-omit-frame-pointer',
74 ],
74 }, 75 },
75 76
76 'Dart_Release': { 77 'Dart_Release': {
77 'cflags': [ '-O3', ], 78 'cflags': [ '-O3', ],
78 }, 79 },
79 }, 80 },
80 }, 81 },
81 } 82 }
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