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

Side by Side Diff: runtime/tools/gyp/runtime-configurations.gypi

Issue 1663863002: Add product mode: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Reworked the flags setting: Moving to single file for all flag defintions. Created 4 years, 10 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
« no previous file with comments | « no previous file | runtime/vm/assembler.cc » ('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 Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2012, 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 'dart_debug_optimization_level%': '2', 7 'dart_debug_optimization_level%': '2',
8 # If we have not set dart_io_support to 1 in Dart's all.gypi or common.gypi, 8 # If we have not set dart_io_support to 1 in Dart's all.gypi or common.gypi,
9 # then do not build the native libraries supporting dart:io. 9 # then do not build the native libraries supporting dart:io.
10 'dart_io_support%': 0, 10 'dart_io_support%': 0,
(...skipping 13 matching lines...) Expand all
24 'target_defaults': { 24 'target_defaults': {
25 'configurations': { 25 'configurations': {
26 26
27 'Dart_Base': { 27 'Dart_Base': {
28 'abstract': 1, 28 'abstract': 1,
29 'xcode_settings': { 29 'xcode_settings': {
30 'GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS': 'YES', # -Woverloaded-virtual 30 'GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS': 'YES', # -Woverloaded-virtual
31 }, 31 },
32 }, 32 },
33 33
34 'Dart_Debug': {
35 'abstract': 1,
36 'defines': [
37 'DEBUG',
38 ],
39 'xcode_settings': {
40 'GCC_OPTIMIZATION_LEVEL': '<(dart_debug_optimization_level)',
41 },
42 },
43
44 'Debug': {
45 'defines': [
46 'DEBUG',
47 ],
48 },
49
50 'Dart_ia32_Base': { 34 'Dart_ia32_Base': {
51 'abstract': 1, 35 'abstract': 1,
52 'xcode_settings': { 36 'xcode_settings': {
53 'ARCHS': [ 'i386' ], 37 'ARCHS': [ 'i386' ],
54 }, 38 },
55 'conditions': [ 39 'conditions': [
56 ['OS=="linux" and dart_vtune_support==1', { 40 ['OS=="linux" and dart_vtune_support==1', {
57 'ldflags': ['-L<(dart_vtune_root)/lib32'], 41 'ldflags': ['-L<(dart_vtune_root)/lib32'],
58 }], 42 }],
59 ['OS=="win" and dart_vtune_support==1', { 43 ['OS=="win" and dart_vtune_support==1', {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 }, 90 },
107 }, 91 },
108 92
109 'Dart_simmips_Base': { 93 'Dart_simmips_Base': {
110 'abstract': 1, 94 'abstract': 1,
111 'xcode_settings': { 95 'xcode_settings': {
112 'ARCHS': [ 'i386' ], 96 'ARCHS': [ 'i386' ],
113 }, 97 },
114 }, 98 },
115 99
100 'Dart_Debug': {
101 'abstract': 1,
102 'defines': [
103 'DEBUG',
104 ],
105 'xcode_settings': {
106 'GCC_OPTIMIZATION_LEVEL': '<(dart_debug_optimization_level)',
107 },
108 },
109
110 'Debug': {
111 'defines': [
112 'DEBUG',
113 ],
114 },
115
116 'Dart_Release': { 116 'Dart_Release': {
117 'abstract': 1, 117 'abstract': 1,
118 'xcode_settings': { 118 'xcode_settings': {
119 'GCC_OPTIMIZATION_LEVEL': '3', 119 'GCC_OPTIMIZATION_LEVEL': '3',
120 }, 120 },
121 }, 121 },
122
123 'Dart_Product' : {
124 'abstract': 1,
125 'xcode_settings': {
126 'GCC_OPTIMIZATION_LEVEL': '3',
127 }
128 },
122 }, 129 },
123 }, 130 },
124 } 131 }
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698