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

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

Issue 189093012: - Start to distinguish between cross-build and native build environments. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 9 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_make.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) 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',
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 'abstract': 1, 88 'abstract': 1,
89 'defines': [ 89 'defines': [
90 'NDEBUG', 90 'NDEBUG',
91 ], 91 ],
92 }, 92 },
93 93
94 94
95 # Configurations 95 # Configurations
96 'DebugIA32': { 96 'DebugIA32': {
97 'inherit_from': [ 97 'inherit_from': [
98 'Dart_Base', 'Dart_ia32_Base', 'Dart_Debug', 98 'Dart_Base', 'Dart_ia32_Base', 'Dart_Debug',
99 'Dart_<(dart_target_os)_Base', 99 'Dart_<(dart_target_os)_Base',
100 'Dart_<(dart_target_os)_ia32_Base', 100 'Dart_<(dart_target_os)_ia32_Base',
101 'Dart_<(dart_target_os)_Debug',], 101 'Dart_<(dart_target_os)_Debug',
102 ],
102 }, 103 },
103 104
104 'ReleaseIA32': { 105 'ReleaseIA32': {
105 'inherit_from': [ 106 'inherit_from': [
106 'Dart_Base', 'Dart_ia32_Base', 'Dart_Release', 107 'Dart_Base', 'Dart_ia32_Base', 'Dart_Release',
107 'Dart_<(dart_target_os)_Base', 108 'Dart_<(dart_target_os)_Base',
108 'Dart_<(dart_target_os)_ia32_Base', 109 'Dart_<(dart_target_os)_ia32_Base',
109 'Dart_<(dart_target_os)_Release',], 110 'Dart_<(dart_target_os)_Release',
111 ],
110 }, 112 },
111 113
112 'DebugX64': { 114 'DebugX64': {
113 'inherit_from': [ 115 'inherit_from': [
114 'Dart_Base', 'Dart_x64_Base', 'Dart_Debug', 116 'Dart_Base', 'Dart_x64_Base', 'Dart_Debug',
115 'Dart_<(dart_target_os)_Base', 117 'Dart_<(dart_target_os)_Base',
116 'Dart_<(dart_target_os)_x64_Base', 118 'Dart_<(dart_target_os)_x64_Base',
117 'Dart_<(dart_target_os)_Debug',], 119 'Dart_<(dart_target_os)_Debug',
120 ],
118 }, 121 },
119 122
120 'ReleaseX64': { 123 'ReleaseX64': {
121 'inherit_from': [ 124 'inherit_from': [
122 'Dart_Base', 'Dart_x64_Base', 'Dart_Release', 125 'Dart_Base', 'Dart_x64_Base', 'Dart_Release',
123 'Dart_<(dart_target_os)_Base', 126 'Dart_<(dart_target_os)_Base',
124 'Dart_<(dart_target_os)_x64_Base', 127 'Dart_<(dart_target_os)_x64_Base',
125 'Dart_<(dart_target_os)_Release',], 128 'Dart_<(dart_target_os)_Release',
129 ],
126 }, 130 },
127 131
128 'DebugSIMARM': { 132 'DebugSIMARM': {
129 'inherit_from': [ 133 'inherit_from': [
130 'Dart_Base', 'Dart_simarm_Base', 'Dart_Debug', 134 'Dart_Base', 'Dart_simarm_Base', 'Dart_Debug',
131 'Dart_<(dart_target_os)_Base', 135 'Dart_<(dart_target_os)_Base',
132 'Dart_<(dart_target_os)_simarm_Base', 136 'Dart_<(dart_target_os)_simarm_Base',
133 'Dart_<(dart_target_os)_Debug',], 137 'Dart_<(dart_target_os)_Debug',
138 ],
134 'defines': [ 139 'defines': [
135 'DEBUG', 140 'DEBUG',
136 ], 141 ],
137 }, 142 },
138 143
139 'ReleaseSIMARM': { 144 'ReleaseSIMARM': {
140 'inherit_from': [ 145 'inherit_from': [
141 'Dart_Base', 'Dart_simarm_Base', 'Dart_Release', 146 'Dart_Base', 'Dart_simarm_Base', 'Dart_Release',
142 'Dart_<(dart_target_os)_Base', 147 'Dart_<(dart_target_os)_Base',
143 'Dart_<(dart_target_os)_simarm_Base', 148 'Dart_<(dart_target_os)_simarm_Base',
144 'Dart_<(dart_target_os)_Release',], 149 'Dart_<(dart_target_os)_Release',
150 ],
145 }, 151 },
146 152
147 'DebugSIMMIPS': { 153 'DebugSIMMIPS': {
148 'inherit_from': [ 154 'inherit_from': [
149 'Dart_Base', 'Dart_simmips_Base', 'Dart_Debug', 155 'Dart_Base', 'Dart_simmips_Base', 'Dart_Debug',
150 'Dart_<(dart_target_os)_Base', 156 'Dart_<(dart_target_os)_Base',
151 'Dart_<(dart_target_os)_simmips_Base', 157 'Dart_<(dart_target_os)_simmips_Base',
152 'Dart_<(dart_target_os)_Debug',], 158 'Dart_<(dart_target_os)_Debug',
159 ],
153 'defines': [ 160 'defines': [
154 'DEBUG', 161 'DEBUG',
155 ], 162 ],
156 }, 163 },
157 164
158 'ReleaseSIMMIPS': { 165 'ReleaseSIMMIPS': {
159 'inherit_from': [ 166 'inherit_from': [
160 'Dart_Base', 'Dart_simmips_Base', 'Dart_Release', 167 'Dart_Base', 'Dart_simmips_Base', 'Dart_Release',
161 'Dart_<(dart_target_os)_Base', 168 'Dart_<(dart_target_os)_Base',
162 'Dart_<(dart_target_os)_simmips_Base', 169 'Dart_<(dart_target_os)_simmips_Base',
163 'Dart_<(dart_target_os)_Release',], 170 'Dart_<(dart_target_os)_Release',
171 ],
164 }, 172 },
165 173
166 174
167 # ARM and MIPS hardware configurations are only for Linux and Android. 175 # ARM and MIPS hardware configurations are only for Linux and Android.
168 'DebugARM': { 176 'DebugARM': {
169 'inherit_from': [ 177 'inherit_from': [
170 'Dart_Base', 'Dart_arm_Base', 'Dart_Debug', 178 'Dart_Base', 'Dart_arm_Base', 'Dart_Debug',
171 'Dart_Linux_Base', 179 'Dart_Linux_Base',
172 'Dart_Linux_arm_Base', 180 'Dart_Linux_arm_Base',
173 'Dart_Linux_Debug',], 181 'Dart_Linux_Debug',
182 ],
174 }, 183 },
175 184
176 'ReleaseARM': { 185 'ReleaseARM': {
177 'inherit_from': [ 186 'inherit_from': [
178 'Dart_Base', 'Dart_arm_Base', 'Dart_Release', 187 'Dart_Base', 'Dart_arm_Base', 'Dart_Release',
179 'Dart_Linux_Base', 188 'Dart_Linux_Base',
180 'Dart_Linux_arm_Base', 189 'Dart_Linux_arm_Base',
181 'Dart_Linux_Release',], 190 'Dart_Linux_Release',
191 ],
192 },
193
194 'DebugXMIPS': {
195 'inherit_from': [
196 'Dart_Base', 'Dart_mips_Base', 'Dart_Debug',
197 'Dart_Linux_Base',
198 'Dart_Linux_xmips_Base',
199 'Dart_Linux_Debug',
200 ],
201 },
202
203 'ReleaseXMIPS': {
204 'inherit_from': [
205 'Dart_Base', 'Dart_mips_Base', 'Dart_Release',
206 'Dart_Linux_Base',
207 'Dart_Linux_xmips_Base',
208 'Dart_Linux_Release',
209 ],
182 }, 210 },
183 211
184 'DebugMIPS': { 212 'DebugMIPS': {
185 'inherit_from': [ 213 'inherit_from': [
186 'Dart_Base', 'Dart_mips_Base', 'Dart_Debug', 214 'Dart_Base', 'Dart_mips_Base', 'Dart_Debug',
187 'Dart_Linux_Base', 215 'Dart_Linux_Base',
188 'Dart_Linux_mips_Base', 216 'Dart_Linux_mips_Base',
189 'Dart_Linux_Debug',], 217 'Dart_Linux_Debug',
218 ],
190 }, 219 },
191 220
192 'ReleaseMIPS': { 221 'ReleaseMIPS': {
193 'inherit_from': [ 222 'inherit_from': [
194 'Dart_Base', 'Dart_mips_Base', 'Dart_Release', 223 'Dart_Base', 'Dart_mips_Base', 'Dart_Release',
195 'Dart_Linux_Base', 224 'Dart_Linux_Base',
196 'Dart_Linux_mips_Base', 225 'Dart_Linux_mips_Base',
197 'Dart_Linux_Release',], 226 'Dart_Linux_Release',
227 ],
198 }, 228 },
199 229
200 # Android configurations. The configuration names explicitly include 230 # Android configurations. The configuration names explicitly include
201 # 'Android' because we are cross-building from Linux, and, when building 231 # 'Android' because we are cross-building from Linux, and, when building
202 # the standalone VM, we cannot inspect the gyp built-in 'OS' variable to 232 # the standalone VM, we cannot inspect the gyp built-in 'OS' variable to
203 # figure out that we are building for Android. Since we have not re-run 233 # figure out that we are building for Android. Since we have not re-run
204 # gyp, it will still be 'linux'. 234 # gyp, it will still be 'linux'.
205 'DebugAndroidIA32': { 235 'DebugAndroidIA32': {
206 'inherit_from': [ 236 'inherit_from': [
207 'Dart_Base', 'Dart_ia32_Base', 'Dart_Debug', 237 'Dart_Base', 'Dart_ia32_Base', 'Dart_Debug',
208 'Dart_Android_Base', 238 'Dart_Android_Base',
209 'Dart_Android_ia32_Base', 239 'Dart_Android_ia32_Base',
210 'Dart_Android_Debug',], 240 'Dart_Android_Debug',
241 ],
211 }, 242 },
212 243
213 'ReleaseAndroidIA32': { 244 'ReleaseAndroidIA32': {
214 'inherit_from': [ 245 'inherit_from': [
215 'Dart_Base', 'Dart_ia32_Base', 'Dart_Release', 246 'Dart_Base', 'Dart_ia32_Base', 'Dart_Release',
216 'Dart_Android_Base', 247 'Dart_Android_Base',
217 'Dart_Android_ia32_Base', 248 'Dart_Android_ia32_Base',
218 'Dart_Android_Release',], 249 'Dart_Android_Release',
250 ],
219 }, 251 },
220 252
221 'DebugAndroidARM': { 253 'DebugAndroidARM': {
222 'inherit_from': [ 254 'inherit_from': [
223 'Dart_Base', 'Dart_arm_Base', 'Dart_Debug', 255 'Dart_Base', 'Dart_arm_Base', 'Dart_Debug',
224 'Dart_Android_Base', 256 'Dart_Android_Base',
225 'Dart_Android_arm_Base', 257 'Dart_Android_arm_Base',
226 'Dart_Android_Debug',], 258 'Dart_Android_Debug',
259 ],
227 }, 260 },
228 261
229 'ReleaseAndroidARM': { 262 'ReleaseAndroidARM': {
230 'inherit_from': [ 263 'inherit_from': [
231 'Dart_Base', 'Dart_arm_Base', 'Dart_Release', 264 'Dart_Base', 'Dart_arm_Base', 'Dart_Release',
232 'Dart_Android_Base', 265 'Dart_Android_Base',
233 'Dart_Android_arm_Base', 266 'Dart_Android_arm_Base',
234 'Dart_Android_Release',], 267 'Dart_Android_Release',
268 ],
235 }, 269 },
236 270
237 # These targets assume that target_arch is passed in explicitly 271 # These targets assume that target_arch is passed in explicitly
238 # by the containing project (e.g., chromium). 272 # by the containing project (e.g., chromium).
239 'Debug': { 273 'Debug': {
240 'inherit_from': ['Debug<(chrome_target_os)<(dart_target_arch)'] 274 'inherit_from': ['Debug<(chrome_target_os)<(dart_target_arch)']
241 }, 275 },
242 276
243 'Release': { 277 'Release': {
244 'inherit_from': ['Release<(chrome_target_os)<(dart_target_arch)'] 278 'inherit_from': ['Release<(chrome_target_os)<(dart_target_arch)']
245 }, 279 },
246 }, 280 },
247 }, 281 },
248 } 282 }
OLDNEW
« no previous file with comments | « no previous file | tools/gyp/configurations_make.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698