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

Side by Side Diff: dart/tools/gyp/configurations.gypi

Issue 10475003: Remove underscores from configurations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 6 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
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 'common_gcc_warning_flags': [ 7 'common_gcc_warning_flags': [
8 '-Wall', 8 '-Wall',
9 '-Wextra', # Also known as -W. 9 '-Wextra', # Also known as -W.
10 '-Wno-unused-parameter', 10 '-Wno-unused-parameter',
11 # TODO(v8-team): Fix V8 build. 11 # TODO(v8-team): Fix V8 build.
12 #'-Wold-style-cast', 12 #'-Wold-style-cast',
13 ], 13 ],
14 14
15 # Default value. This may be overridden in a containing project gyp. 15 # Default value. This may be overridden in a containing project gyp.
16 'target_arch%': 'ia32', 16 'target_arch%': 'ia32',
17 17
18 # Don't use separate host toolset for compiling V8. 18 # Don't use separate host toolset for compiling V8.
19 'want_separate_host_toolset': 0, 19 'want_separate_host_toolset': 0,
20
21 'conditions': [
22 ['"<(target_arch)"=="ia32"', { 'dart_target_arch': 'IA32', }],
23 ['"<(target_arch)"=="x64"', { 'dart_target_arch': 'X64', }],
24 ['"<(target_arch)"=="arm"', { 'dart_target_arch': 'ARM', }],
25 ['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }],
26 ],
20 }, 27 },
21 'conditions': [ 28 'conditions': [
22 [ 'OS=="linux"', { 'includes': [ 'configurations_make.gypi', ], } ], 29 [ 'OS=="linux"', { 'includes': [ 'configurations_make.gypi', ], } ],
23 [ 'OS=="mac"', { 'includes': [ 'configurations_xcode.gypi', ], } ], 30 [ 'OS=="mac"', { 'includes': [ 'configurations_xcode.gypi', ], } ],
24 [ 'OS=="win"', { 'includes': [ 'configurations_msvs.gypi', ], } ], 31 [ 'OS=="win"', { 'includes': [ 'configurations_msvs.gypi', ], } ],
25 ], 32 ],
26 'target_defaults': { 33 'target_defaults': {
27 'default_configuration': 'Debug_ia32', 34 'default_configuration': 'DebugIA32',
28 'configurations': { 35 'configurations': {
29 'Dart_Base': { 36 'Dart_Base': {
30 'abstract': 1, 37 'abstract': 1,
31 }, 38 },
32 39
33 'Dart_ia32_Base': { 40 'Dart_ia32_Base': {
34 'abstract': 1, 41 'abstract': 1,
35 }, 42 },
36 43
37 'Dart_x64_Base': { 44 'Dart_x64_Base': {
(...skipping 18 matching lines...) Expand all
56 'abstract': 1, 63 'abstract': 1,
57 }, 64 },
58 65
59 'Dart_Release': { 66 'Dart_Release': {
60 'abstract': 1, 67 'abstract': 1,
61 'defines': [ 68 'defines': [
62 'NDEBUG', 69 'NDEBUG',
63 ], 70 ],
64 }, 71 },
65 72
66 'Debug_ia32': { 73 'DebugIA32': {
67 'inherit_from': ['Dart_Base', 'Dart_ia32_Base', 'Dart_Debug'], 74 'inherit_from': ['Dart_Base', 'Dart_ia32_Base', 'Dart_Debug'],
68 }, 75 },
69 76
70 'Release_ia32': { 77 'ReleaseIA32': {
71 'inherit_from': ['Dart_Base', 'Dart_ia32_Base', 'Dart_Release'], 78 'inherit_from': ['Dart_Base', 'Dart_ia32_Base', 'Dart_Release'],
72 }, 79 },
73 80
74 'Debug_x64': { 81 'DebugX64': {
75 'inherit_from': ['Dart_Base', 'Dart_x64_Base', 'Dart_Debug'], 82 'inherit_from': ['Dart_Base', 'Dart_x64_Base', 'Dart_Debug'],
76 }, 83 },
77 84
78 'Release_x64': { 85 'ReleaseX64': {
79 'inherit_from': ['Dart_Base', 'Dart_x64_Base', 'Dart_Release'], 86 'inherit_from': ['Dart_Base', 'Dart_x64_Base', 'Dart_Release'],
80 }, 87 },
81 88
82 'Debug_simarm': { 89 'DebugSIMARM': {
83 # Should not inherit from Dart_Debug because Dart_simarm_Base defines 90 # Should not inherit from Dart_Debug because Dart_simarm_Base defines
84 # the optimization level to be -O3, as the simulator runs too slow 91 # the optimization level to be -O3, as the simulator runs too slow
85 # otherwise. 92 # otherwise.
86 'inherit_from': ['Dart_Base', 'Dart_simarm_Base'], 93 'inherit_from': ['Dart_Base', 'Dart_simarm_Base'],
87 'defines': [ 94 'defines': [
88 'DEBUG', 95 'DEBUG',
89 ], 96 ],
90 }, 97 },
91 98
92 'Release_simarm': { 99 'ReleaseSIMARM': {
93 # Should not inherit from Dart_Release (see Debug_simarm). 100 # Should not inherit from Dart_Release (see DebugSIMARM).
94 'inherit_from': ['Dart_Base', 'Dart_simarm_Base'], 101 'inherit_from': ['Dart_Base', 'Dart_simarm_Base'],
95 'defines': [ 102 'defines': [
96 'NDEBUG', 103 'NDEBUG',
97 ], 104 ],
98 }, 105 },
99 106
100 'Debug_arm': { 107 'DebugARM': {
101 'inherit_from': ['Dart_Base', 'Dart_arm_Base', 'Dart_Debug'], 108 'inherit_from': ['Dart_Base', 'Dart_arm_Base', 'Dart_Debug'],
102 }, 109 },
103 110
104 'Release_arm': { 111 'ReleaseARM': {
105 'inherit_from': ['Dart_Base', 'Dart_arm_Base', 'Dart_Release'], 112 'inherit_from': ['Dart_Base', 'Dart_arm_Base', 'Dart_Release'],
106 }, 113 },
107 114
108 'Debug_dartc': {
109 # If we build any native code (e.g. V8), then we should just use the
110 # release version.
111 'inherit_from': ['Release_ia32'],
112 },
113
114 'Release_dartc': {
115 'inherit_from': ['Release_ia32'],
116 },
117
118 # These targets assume that target_arch is passed in explicitly 115 # These targets assume that target_arch is passed in explicitly
119 # by the containing project (e.g., chromium). 116 # by the containing project (e.g., chromium).
120 'Debug': { 117 'Debug': {
121 'inherit_from': ['Debug_<(target_arch)'] 118 'inherit_from': ['Debug<(dart_target_arch)']
122 }, 119 },
123 120
124 'Release': { 121 'Release': {
125 'inherit_from': ['Release_<(target_arch)'] 122 'inherit_from': ['Release<(dart_target_arch)']
126 }, 123 },
127 }, 124 },
128 }, 125 },
129 } 126 }
OLDNEW
« no previous file with comments | « no previous file | dart/tools/testing/dart/test_suite.dart » ('j') | dart/tools/testing/dart/test_suite.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698