OLD | NEW |
| (Empty) |
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 | |
3 # BSD-style license that can be found in the LICENSE file. | |
4 | |
5 { | |
6 'variables': { | |
7 'common_gcc_warning_flags': [ | |
8 '-Wall', | |
9 '-Wextra', # Also known as -W. | |
10 '-Wno-unused-parameter', | |
11 ], | |
12 | |
13 # Default value. This may be overridden in a containing project gyp. | |
14 'target_arch%': 'ia32', | |
15 | |
16 'conditions': [ | |
17 ['"<(target_arch)"=="ia32"', { 'dart_target_arch': 'IA32', }], | |
18 ['"<(target_arch)"=="x64"', { 'dart_target_arch': 'X64', }], | |
19 ['"<(target_arch)"=="arm"', { 'dart_target_arch': 'ARM', }], | |
20 ['"<(target_arch)"=="armv6"', { 'dart_target_arch': 'ARMV6', }], | |
21 ['"<(target_arch)"=="armv5te"', { 'dart_target_arch': 'ARMV5TE', }], | |
22 ['"<(target_arch)"=="arm64"', { 'dart_target_arch': 'ARM64', }], | |
23 ['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }], | |
24 ['"<(target_arch)"=="simarmv6"', { 'dart_target_arch': 'SIMARMV6', }], | |
25 ['"<(target_arch)"=="simarmv5te"', { 'dart_target_arch': 'SIMARMV5TE', }], | |
26 ['"<(target_arch)"=="simarm64"', { 'dart_target_arch': 'SIMARM64', }], | |
27 ['"<(target_arch)"=="simdbc"', { 'dart_target_arch': 'SIMDBC', }], | |
28 ['"<(target_arch)"=="simdbc64"', { 'dart_target_arch': 'SIMDBC64', }], | |
29 [ 'OS=="linux"', { 'dart_target_os': 'Linux', } ], | |
30 [ 'OS=="mac"', { 'dart_target_os': 'Macos', } ], | |
31 [ 'OS=="win"', { 'dart_target_os': 'Win', } ], | |
32 # The OS is set to "android" only when we are building Dartium+Clank. We | |
33 # use 'chrome_target_os' so that Release and Debug configurations inherit | |
34 # from Android configurations when OS=="android". If OS is not set to | |
35 # Android, then Release and Debug inherit from the usual configurations. | |
36 [ 'OS=="android"', { 'chrome_target_os': 'Android',}, | |
37 { 'chrome_target_os': '',}], | |
38 ], | |
39 }, | |
40 'includes': [ | |
41 'configurations_android.gypi', | |
42 'configurations_make.gypi', | |
43 'configurations_xcode.gypi', | |
44 'configurations_msvs.gypi', | |
45 ], | |
46 'target_defaults': { | |
47 'default_configuration': 'DebugIA32', | |
48 'configurations': { | |
49 'Dart_Base': { | |
50 'abstract': 1, | |
51 }, | |
52 | |
53 'Dart_ia32_Base': { | |
54 'abstract': 1, | |
55 }, | |
56 | |
57 'Dart_x64_Base': { | |
58 'abstract': 1, | |
59 }, | |
60 | |
61 'Dart_simarm_Base': { | |
62 'abstract': 1, | |
63 'defines': [ | |
64 'TARGET_ARCH_ARM', | |
65 ] | |
66 }, | |
67 | |
68 'Dart_simarmv6_Base': { | |
69 'abstract': 1, | |
70 'defines': [ | |
71 'TARGET_ARCH_ARM', | |
72 'TARGET_ARCH_ARM_6', | |
73 ] | |
74 }, | |
75 | |
76 'Dart_simarmv5te_Base': { | |
77 'abstract': 1, | |
78 'defines': [ | |
79 'TARGET_ARCH_ARM', | |
80 'TARGET_ARCH_ARM_5TE', | |
81 ] | |
82 }, | |
83 | |
84 'Dart_arm_Base': { | |
85 'abstract': 1, | |
86 'defines': [ | |
87 'TARGET_ARCH_ARM', | |
88 ], | |
89 }, | |
90 | |
91 'Dart_armv6_Base': { | |
92 'abstract': 1, | |
93 'defines': [ | |
94 'TARGET_ARCH_ARM', | |
95 'TARGET_ARCH_ARM_6', | |
96 ], | |
97 }, | |
98 | |
99 'Dart_armv5te_Base': { | |
100 'abstract': 1, | |
101 'defines': [ | |
102 'TARGET_ARCH_ARM', | |
103 'TARGET_ARCH_ARM_5TE', | |
104 ], | |
105 }, | |
106 | |
107 'Dart_simarm64_Base': { | |
108 'abstract': 1, | |
109 'defines': [ | |
110 'TARGET_ARCH_ARM64', | |
111 ] | |
112 }, | |
113 | |
114 'Dart_arm64_Base': { | |
115 'abstract': 1, | |
116 'defines': [ | |
117 'TARGET_ARCH_ARM64', | |
118 ], | |
119 }, | |
120 | |
121 'Dart_simdbc_Base': { | |
122 'abstract': 1, | |
123 'defines': [ | |
124 'TARGET_ARCH_DBC', | |
125 'USING_SIMULATOR', | |
126 ] | |
127 }, | |
128 | |
129 'Dart_Debug': { | |
130 'abstract': 1, | |
131 }, | |
132 | |
133 'Dart_Release': { | |
134 'abstract': 1, | |
135 'defines': [ | |
136 'NDEBUG', | |
137 ], | |
138 }, | |
139 | |
140 'Dart_Product' : { | |
141 'abstract': 1, | |
142 'defines' : [ | |
143 'NDEBUG', | |
144 'PRODUCT', | |
145 ] | |
146 }, | |
147 | |
148 # Configurations | |
149 'DebugIA32': { | |
150 'inherit_from': [ | |
151 'Dart_Base', 'Dart_ia32_Base', 'Dart_Debug', | |
152 'Dart_<(dart_target_os)_Base', | |
153 'Dart_<(dart_target_os)_ia32_Base', | |
154 'Dart_<(dart_target_os)_Debug', | |
155 ], | |
156 }, | |
157 | |
158 'ReleaseIA32': { | |
159 'inherit_from': [ | |
160 'Dart_Base', 'Dart_ia32_Base', 'Dart_Release', | |
161 'Dart_<(dart_target_os)_Base', | |
162 'Dart_<(dart_target_os)_ia32_Base', | |
163 'Dart_<(dart_target_os)_Release', | |
164 ], | |
165 }, | |
166 | |
167 'ProductIA32': { | |
168 'inherit_from': [ | |
169 'Dart_Base', 'Dart_ia32_Base', 'Dart_Product', | |
170 'Dart_<(dart_target_os)_Base', | |
171 'Dart_<(dart_target_os)_ia32_Base', | |
172 'Dart_<(dart_target_os)_Product', | |
173 ], | |
174 }, | |
175 | |
176 'DebugX64': { | |
177 'inherit_from': [ | |
178 'Dart_Base', 'Dart_x64_Base', 'Dart_Debug', | |
179 'Dart_<(dart_target_os)_Base', | |
180 'Dart_<(dart_target_os)_x64_Base', | |
181 'Dart_<(dart_target_os)_Debug', | |
182 ], | |
183 }, | |
184 | |
185 'ReleaseX64': { | |
186 'inherit_from': [ | |
187 'Dart_Base', 'Dart_x64_Base', 'Dart_Release', | |
188 'Dart_<(dart_target_os)_Base', | |
189 'Dart_<(dart_target_os)_x64_Base', | |
190 'Dart_<(dart_target_os)_Release', | |
191 ], | |
192 }, | |
193 | |
194 'ProductX64': { | |
195 'inherit_from': [ | |
196 'Dart_Base', 'Dart_x64_Base', 'Dart_Product', | |
197 'Dart_<(dart_target_os)_Base', | |
198 'Dart_<(dart_target_os)_x64_Base', | |
199 'Dart_<(dart_target_os)_Product', | |
200 ], | |
201 }, | |
202 | |
203 'DebugSIMARM': { | |
204 'inherit_from': [ | |
205 'Dart_Base', 'Dart_simarm_Base', 'Dart_Debug', | |
206 'Dart_<(dart_target_os)_Base', | |
207 'Dart_<(dart_target_os)_simarm_Base', | |
208 'Dart_<(dart_target_os)_Debug', | |
209 ], | |
210 'defines': [ | |
211 'DEBUG', | |
212 ], | |
213 }, | |
214 | |
215 'ReleaseSIMARM': { | |
216 'inherit_from': [ | |
217 'Dart_Base', 'Dart_simarm_Base', 'Dart_Release', | |
218 'Dart_<(dart_target_os)_Base', | |
219 'Dart_<(dart_target_os)_simarm_Base', | |
220 'Dart_<(dart_target_os)_Release', | |
221 ], | |
222 }, | |
223 | |
224 'ProductSIMARM': { | |
225 'inherit_from': [ | |
226 'Dart_Base', 'Dart_simarm_Base', 'Dart_Product', | |
227 'Dart_<(dart_target_os)_Base', | |
228 'Dart_<(dart_target_os)_simarm_Base', | |
229 'Dart_<(dart_target_os)_Product', | |
230 ], | |
231 }, | |
232 | |
233 'DebugSIMARMV6': { | |
234 'inherit_from': [ | |
235 'Dart_Base', 'Dart_simarmv6_Base', 'Dart_Debug', | |
236 'Dart_<(dart_target_os)_Base', | |
237 'Dart_<(dart_target_os)_simarmv6_Base', | |
238 'Dart_<(dart_target_os)_Debug', | |
239 ], | |
240 'defines': [ | |
241 'DEBUG', | |
242 ], | |
243 }, | |
244 | |
245 'ReleaseSIMARMV6': { | |
246 'inherit_from': [ | |
247 'Dart_Base', 'Dart_simarmv6_Base', 'Dart_Release', | |
248 'Dart_<(dart_target_os)_Base', | |
249 'Dart_<(dart_target_os)_simarmv6_Base', | |
250 'Dart_<(dart_target_os)_Release', | |
251 ], | |
252 }, | |
253 | |
254 'ProductSIMARMV6': { | |
255 'inherit_from': [ | |
256 'Dart_Base', 'Dart_simarmv6_Base', 'Dart_Product', | |
257 'Dart_<(dart_target_os)_Base', | |
258 'Dart_<(dart_target_os)_simarmv6_Base', | |
259 'Dart_<(dart_target_os)_Product', | |
260 ], | |
261 }, | |
262 | |
263 'DebugSIMARMV5TE': { | |
264 'inherit_from': [ | |
265 'Dart_Base', 'Dart_simarmv5te_Base', 'Dart_Debug', | |
266 'Dart_<(dart_target_os)_Base', | |
267 'Dart_<(dart_target_os)_simarmv5te_Base', | |
268 'Dart_<(dart_target_os)_Debug', | |
269 ], | |
270 'defines': [ | |
271 'DEBUG', | |
272 ], | |
273 }, | |
274 | |
275 'ReleaseSIMARMV5TE': { | |
276 'inherit_from': [ | |
277 'Dart_Base', 'Dart_simarmv5te_Base', 'Dart_Release', | |
278 'Dart_<(dart_target_os)_Base', | |
279 'Dart_<(dart_target_os)_simarmv5te_Base', | |
280 'Dart_<(dart_target_os)_Release', | |
281 ], | |
282 }, | |
283 | |
284 'ProductSIMARMV5TE': { | |
285 'inherit_from': [ | |
286 'Dart_Base', 'Dart_simarmv5te_Base', 'Dart_Product', | |
287 'Dart_<(dart_target_os)_Base', | |
288 'Dart_<(dart_target_os)_simarmv5te_Base', | |
289 'Dart_<(dart_target_os)_Product', | |
290 ], | |
291 }, | |
292 | |
293 'DebugSIMARM64': { | |
294 'inherit_from': [ | |
295 'Dart_Base', 'Dart_simarm64_Base', 'Dart_Debug', | |
296 'Dart_<(dart_target_os)_Base', | |
297 'Dart_<(dart_target_os)_simarm64_Base', | |
298 'Dart_<(dart_target_os)_Debug', | |
299 ], | |
300 'defines': [ | |
301 'DEBUG', | |
302 ], | |
303 }, | |
304 | |
305 'ReleaseSIMARM64': { | |
306 'inherit_from': [ | |
307 'Dart_Base', 'Dart_simarm64_Base', 'Dart_Release', | |
308 'Dart_<(dart_target_os)_Base', | |
309 'Dart_<(dart_target_os)_simarm64_Base', | |
310 'Dart_<(dart_target_os)_Release', | |
311 ], | |
312 }, | |
313 | |
314 'ProductSIMARM64': { | |
315 'inherit_from': [ | |
316 'Dart_Base', 'Dart_simarm64_Base', 'Dart_Product', | |
317 'Dart_<(dart_target_os)_Base', | |
318 'Dart_<(dart_target_os)_simarm64_Base', | |
319 'Dart_<(dart_target_os)_Product', | |
320 ], | |
321 }, | |
322 | |
323 'DebugSIMDBC': { | |
324 'inherit_from': [ | |
325 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Debug', | |
326 'Dart_<(dart_target_os)_Base', | |
327 'Dart_<(dart_target_os)_simdbc_Base', | |
328 'Dart_<(dart_target_os)_Debug', | |
329 ], | |
330 'defines': [ | |
331 'DEBUG', | |
332 ], | |
333 }, | |
334 | |
335 'ReleaseSIMDBC': { | |
336 'inherit_from': [ | |
337 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Release', | |
338 'Dart_<(dart_target_os)_Base', | |
339 'Dart_<(dart_target_os)_simdbc_Base', | |
340 'Dart_<(dart_target_os)_Release', | |
341 ], | |
342 }, | |
343 | |
344 'ProductSIMDBC': { | |
345 'inherit_from': [ | |
346 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Product', | |
347 'Dart_<(dart_target_os)_Base', | |
348 'Dart_<(dart_target_os)_simdbc_Base', | |
349 'Dart_<(dart_target_os)_Product', | |
350 ], | |
351 }, | |
352 | |
353 'DebugSIMDBC64': { | |
354 'inherit_from': [ | |
355 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Debug', | |
356 'Dart_<(dart_target_os)_Base', | |
357 'Dart_<(dart_target_os)_simdbc64_Base', | |
358 'Dart_<(dart_target_os)_Debug', | |
359 ], | |
360 'defines': [ | |
361 'DEBUG', | |
362 ], | |
363 }, | |
364 | |
365 'ReleaseSIMDBC64': { | |
366 'inherit_from': [ | |
367 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Release', | |
368 'Dart_<(dart_target_os)_Base', | |
369 'Dart_<(dart_target_os)_simdbc64_Base', | |
370 'Dart_<(dart_target_os)_Release', | |
371 ], | |
372 }, | |
373 | |
374 'ProductSIMDBC64': { | |
375 'inherit_from': [ | |
376 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Product', | |
377 'Dart_<(dart_target_os)_Base', | |
378 'Dart_<(dart_target_os)_simdbc64_Base', | |
379 'Dart_<(dart_target_os)_Product', | |
380 ], | |
381 }, | |
382 | |
383 # Special Linux-only targets to enable SIMDBC cross compilation for | |
384 # non-Android ARM devices. | |
385 'DebugXARMSIMDBC': { | |
386 'inherit_from': [ | |
387 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Debug', | |
388 'Dart_Linux_Base', | |
389 'Dart_Linux_xarm_Base', | |
390 'Dart_Linux_Debug', | |
391 ], | |
392 'defines': [ | |
393 'DEBUG', | |
394 ], | |
395 }, | |
396 | |
397 'ReleaseXARMSIMDBC': { | |
398 'inherit_from': [ | |
399 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Release', | |
400 'Dart_Linux_Base', | |
401 'Dart_Linux_xarm_Base', | |
402 'Dart_Linux_Release', | |
403 ], | |
404 }, | |
405 | |
406 'ProductXARMSIMDBC': { | |
407 'inherit_from': [ | |
408 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Product', | |
409 'Dart_Linux_Base', | |
410 'Dart_Linux_xarm_Base', | |
411 'Dart_Linux_Product', | |
412 ], | |
413 }, | |
414 | |
415 # ARM hardware configurations are only for Linux and Android. | |
416 'DebugXARM': { | |
417 'inherit_from': [ | |
418 'Dart_Base', 'Dart_arm_Base', 'Dart_Debug', | |
419 'Dart_Linux_Base', | |
420 'Dart_Linux_xarm_Base', | |
421 'Dart_Linux_Debug', | |
422 ], | |
423 }, | |
424 | |
425 'ReleaseXARM': { | |
426 'inherit_from': [ | |
427 'Dart_Base', 'Dart_arm_Base', 'Dart_Release', | |
428 'Dart_Linux_Base', | |
429 'Dart_Linux_xarm_Base', | |
430 'Dart_Linux_Release', | |
431 ], | |
432 }, | |
433 | |
434 'ProductXARM': { | |
435 'inherit_from': [ | |
436 'Dart_Base', 'Dart_arm_Base', 'Dart_Product', | |
437 'Dart_Linux_Base', | |
438 'Dart_Linux_xarm_Base', | |
439 'Dart_Linux_Product', | |
440 ], | |
441 }, | |
442 | |
443 'DebugARM': { | |
444 'inherit_from': [ | |
445 'Dart_Base', 'Dart_arm_Base', 'Dart_Debug', | |
446 'Dart_Linux_Base', | |
447 'Dart_Linux_arm_Base', | |
448 'Dart_Linux_Debug', | |
449 ], | |
450 }, | |
451 | |
452 'ReleaseARM': { | |
453 'inherit_from': [ | |
454 'Dart_Base', 'Dart_arm_Base', 'Dart_Release', | |
455 'Dart_Linux_Base', | |
456 'Dart_Linux_arm_Base', | |
457 'Dart_Linux_Release', | |
458 ], | |
459 }, | |
460 | |
461 'ProductARM': { | |
462 'inherit_from': [ | |
463 'Dart_Base', 'Dart_arm_Base', 'Dart_Product', | |
464 'Dart_Linux_Base', | |
465 'Dart_Linux_arm_Base', | |
466 'Dart_Linux_Product', | |
467 ], | |
468 }, | |
469 | |
470 'DebugXARMV6': { | |
471 'inherit_from': [ | |
472 'Dart_Base', 'Dart_armv6_Base', 'Dart_Debug', | |
473 'Dart_Linux_Base', | |
474 'Dart_Linux_xarmv6_Base', | |
475 'Dart_Linux_Debug', | |
476 ], | |
477 }, | |
478 | |
479 'ReleaseXARMV6': { | |
480 'inherit_from': [ | |
481 'Dart_Base', 'Dart_armv6_Base', 'Dart_Release', | |
482 'Dart_Linux_Base', | |
483 'Dart_Linux_xarmv6_Base', | |
484 'Dart_Linux_Release', | |
485 ], | |
486 }, | |
487 | |
488 'ProductXARMV6': { | |
489 'inherit_from': [ | |
490 'Dart_Base', 'Dart_armv6_Base', 'Dart_Product', | |
491 'Dart_Linux_Base', | |
492 'Dart_Linux_xarmv6_Base', | |
493 'Dart_Linux_Product', | |
494 ], | |
495 }, | |
496 | |
497 'DebugARMV6': { | |
498 'inherit_from': [ | |
499 'Dart_Base', 'Dart_armv6_Base', 'Dart_Debug', | |
500 'Dart_Linux_Base', | |
501 'Dart_Linux_armv6_Base', | |
502 'Dart_Linux_Debug', | |
503 ], | |
504 }, | |
505 | |
506 'ReleaseARMV6': { | |
507 'inherit_from': [ | |
508 'Dart_Base', 'Dart_armv6_Base', 'Dart_Release', | |
509 'Dart_Linux_Base', | |
510 'Dart_Linux_armv6_Base', | |
511 'Dart_Linux_Release', | |
512 ], | |
513 }, | |
514 | |
515 'ProductARMV6': { | |
516 'inherit_from': [ | |
517 'Dart_Base', 'Dart_armv6_Base', 'Dart_Product', | |
518 'Dart_Linux_Base', | |
519 'Dart_Linux_armv6_Base', | |
520 'Dart_Linux_Product', | |
521 ], | |
522 }, | |
523 | |
524 'DebugXARMV5TE': { | |
525 'inherit_from': [ | |
526 'Dart_Base', 'Dart_armv5te_Base', 'Dart_Debug', | |
527 'Dart_Linux_Base', | |
528 'Dart_Linux_xarmv5te_Base', | |
529 'Dart_Linux_Debug', | |
530 ], | |
531 }, | |
532 | |
533 'ReleaseXARMV5TE': { | |
534 'inherit_from': [ | |
535 'Dart_Base', 'Dart_armv5te_Base', 'Dart_Release', | |
536 'Dart_Linux_Base', | |
537 'Dart_Linux_xarmv5te_Base', | |
538 'Dart_Linux_Release', | |
539 ], | |
540 }, | |
541 | |
542 'ProductXARMV5TE': { | |
543 'inherit_from': [ | |
544 'Dart_Base', 'Dart_armv5te_Base', 'Dart_Product', | |
545 'Dart_Linux_Base', | |
546 'Dart_Linux_xarmv5te_Base', | |
547 'Dart_Linux_Product', | |
548 ], | |
549 }, | |
550 | |
551 'DebugARMV5TE': { | |
552 'inherit_from': [ | |
553 'Dart_Base', 'Dart_armv5te_Base', 'Dart_Debug', | |
554 'Dart_Linux_Base', | |
555 'Dart_Linux_armv5te_Base', | |
556 'Dart_Linux_Debug', | |
557 ], | |
558 }, | |
559 | |
560 'ReleaseARMV5TE': { | |
561 'inherit_from': [ | |
562 'Dart_Base', 'Dart_armv5te_Base', 'Dart_Release', | |
563 'Dart_Linux_Base', | |
564 'Dart_Linux_armv5te_Base', | |
565 'Dart_Linux_Release', | |
566 ], | |
567 }, | |
568 | |
569 'ProductARMV5TE': { | |
570 'inherit_from': [ | |
571 'Dart_Base', 'Dart_armv5te_Base', 'Dart_Product', | |
572 'Dart_Linux_Base', | |
573 'Dart_Linux_armv5te_Base', | |
574 'Dart_Linux_Product', | |
575 ], | |
576 }, | |
577 | |
578 'DebugXARM64': { | |
579 'inherit_from': [ | |
580 'Dart_Base', 'Dart_arm64_Base', 'Dart_Debug', | |
581 'Dart_Linux_Base', | |
582 'Dart_Linux_xarm64_Base', | |
583 'Dart_Linux_Debug', | |
584 ], | |
585 }, | |
586 | |
587 'ReleaseXARM64': { | |
588 'inherit_from': [ | |
589 'Dart_Base', 'Dart_arm64_Base', 'Dart_Release', | |
590 'Dart_Linux_Base', | |
591 'Dart_Linux_xarm64_Base', | |
592 'Dart_Linux_Release', | |
593 ], | |
594 }, | |
595 | |
596 'ProductXARM64': { | |
597 'inherit_from': [ | |
598 'Dart_Base', 'Dart_arm64_Base', 'Dart_Product', | |
599 'Dart_Linux_Base', | |
600 'Dart_Linux_xarm64_Base', | |
601 'Dart_Linux_Product', | |
602 ], | |
603 }, | |
604 | |
605 'DebugARM64': { | |
606 'inherit_from': [ | |
607 'Dart_Base', 'Dart_arm64_Base', 'Dart_Debug', | |
608 'Dart_Linux_Base', | |
609 'Dart_Linux_arm64_Base', | |
610 'Dart_Linux_Debug', | |
611 ], | |
612 }, | |
613 | |
614 'ReleaseARM64': { | |
615 'inherit_from': [ | |
616 'Dart_Base', 'Dart_arm64_Base', 'Dart_Release', | |
617 'Dart_Linux_Base', | |
618 'Dart_Linux_arm64_Base', | |
619 'Dart_Linux_Release', | |
620 ], | |
621 }, | |
622 | |
623 'ProductARM64': { | |
624 'inherit_from': [ | |
625 'Dart_Base', 'Dart_arm64_Base', 'Dart_Product', | |
626 'Dart_Linux_Base', | |
627 'Dart_Linux_arm64_Base', | |
628 'Dart_Linux_Product', | |
629 ], | |
630 }, | |
631 | |
632 # Android configurations. The configuration names explicitly include | |
633 # 'Android' because we are cross-building from Linux, and, when building | |
634 # the standalone VM, we cannot inspect the gyp built-in 'OS' variable to | |
635 # figure out that we are building for Android. Since we have not re-run | |
636 # gyp, it will still be 'linux'. | |
637 'DebugAndroidIA32': { | |
638 'inherit_from': [ | |
639 'Dart_Base', 'Dart_ia32_Base', 'Dart_Debug', | |
640 'Dart_Android_Base', | |
641 'Dart_Android_ia32_Base', | |
642 'Dart_Android_Debug', | |
643 ], | |
644 }, | |
645 | |
646 'ReleaseAndroidIA32': { | |
647 'inherit_from': [ | |
648 'Dart_Base', 'Dart_ia32_Base', 'Dart_Release', | |
649 'Dart_Android_Base', | |
650 'Dart_Android_ia32_Base', | |
651 'Dart_Android_Release', | |
652 ], | |
653 }, | |
654 | |
655 'ProductAndroidIA32': { | |
656 'inherit_from': [ | |
657 'Dart_Base', 'Dart_ia32_Base', 'Dart_Product', | |
658 'Dart_Android_Base', | |
659 'Dart_Android_ia32_Base', | |
660 'Dart_Android_Product', | |
661 ], | |
662 }, | |
663 | |
664 'DebugAndroidX64': { | |
665 'inherit_from': [ | |
666 'Dart_Base', 'Dart_x64_Base', 'Dart_Debug', | |
667 'Dart_Android_Base', | |
668 'Dart_Android_x64_Base', | |
669 'Dart_Android_Debug', | |
670 ], | |
671 }, | |
672 | |
673 'ReleaseAndroidX64': { | |
674 'inherit_from': [ | |
675 'Dart_Base', 'Dart_x64_Base', 'Dart_Release', | |
676 'Dart_Android_Base', | |
677 'Dart_Android_x64_Base', | |
678 'Dart_Android_Release', | |
679 ], | |
680 }, | |
681 | |
682 'ProductAndroidX64': { | |
683 'inherit_from': [ | |
684 'Dart_Base', 'Dart_x64_Base', 'Dart_Product', | |
685 'Dart_Android_Base', | |
686 'Dart_Android_x64_Base', | |
687 'Dart_Android_Product', | |
688 ], | |
689 }, | |
690 | |
691 'DebugAndroidARM': { | |
692 'inherit_from': [ | |
693 'Dart_Base', 'Dart_arm_Base', 'Dart_Debug', | |
694 'Dart_Android_Base', | |
695 'Dart_Android_arm_Base', | |
696 'Dart_Android_Debug', | |
697 ], | |
698 }, | |
699 | |
700 'ReleaseAndroidARM': { | |
701 'inherit_from': [ | |
702 'Dart_Base', 'Dart_arm_Base', 'Dart_Release', | |
703 'Dart_Android_Base', | |
704 'Dart_Android_arm_Base', | |
705 'Dart_Android_Release', | |
706 ], | |
707 }, | |
708 | |
709 'ProductAndroidARM': { | |
710 'inherit_from': [ | |
711 'Dart_Base', 'Dart_arm_Base', 'Dart_Product', | |
712 'Dart_Android_Base', | |
713 'Dart_Android_arm_Base', | |
714 'Dart_Android_Product', | |
715 ], | |
716 }, | |
717 | |
718 'DebugAndroidARM64': { | |
719 'inherit_from': [ | |
720 'Dart_Base', 'Dart_arm64_Base', 'Dart_Debug', | |
721 'Dart_Android_Base', | |
722 'Dart_Android_arm64_Base', | |
723 'Dart_Android_Debug', | |
724 ], | |
725 }, | |
726 | |
727 'ReleaseAndroidARM64': { | |
728 'inherit_from': [ | |
729 'Dart_Base', 'Dart_arm64_Base', 'Dart_Release', | |
730 'Dart_Android_Base', | |
731 'Dart_Android_arm64_Base', | |
732 'Dart_Android_Release', | |
733 ], | |
734 }, | |
735 | |
736 'ProductAndroidARM64': { | |
737 'inherit_from': [ | |
738 'Dart_Base', 'Dart_arm64_Base', 'Dart_Product', | |
739 'Dart_Android_Base', | |
740 'Dart_Android_arm64_Base', | |
741 'Dart_Android_Product', | |
742 ], | |
743 }, | |
744 | |
745 'DebugAndroidSIMDBC': { | |
746 'inherit_from': [ | |
747 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Debug', | |
748 'Dart_Android_Base', | |
749 # Default SIMDBC on Android targets arm. | |
750 'Dart_Android_arm_Base', | |
751 'Dart_Android_Debug', | |
752 ], | |
753 'defines': [ | |
754 'DEBUG', | |
755 ], | |
756 }, | |
757 | |
758 'ReleaseAndroidSIMDBC': { | |
759 'inherit_from': [ | |
760 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Release', | |
761 'Dart_Android_Base', | |
762 # Default SIMDBC on Android targets arm. | |
763 'Dart_Android_arm_Base', | |
764 'Dart_Android_Release', | |
765 ], | |
766 }, | |
767 | |
768 'ProductAndroidSIMDBC': { | |
769 'inherit_from': [ | |
770 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Product', | |
771 'Dart_Android_Base', | |
772 # Default SIMDBC on Android targets arm. | |
773 'Dart_Android_arm_Base', | |
774 'Dart_Android_Product', | |
775 ], | |
776 }, | |
777 | |
778 'DebugAndroidSIMDBC64': { | |
779 'inherit_from': [ | |
780 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Debug', | |
781 'Dart_Android_Base', | |
782 # Default SIMDBC on Android targets arm64. | |
783 'Dart_Android_arm64_Base', | |
784 'Dart_Android_Debug', | |
785 ], | |
786 'defines': [ | |
787 'DEBUG', | |
788 ], | |
789 }, | |
790 | |
791 'ReleaseAndroidSIMDBC64': { | |
792 'inherit_from': [ | |
793 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Release', | |
794 'Dart_Android_Base', | |
795 # Default SIMDBC on Android targets arm64. | |
796 'Dart_Android_arm64_Base', | |
797 'Dart_Android_Release', | |
798 ], | |
799 }, | |
800 | |
801 'ProductAndroidSIMDBC64': { | |
802 'inherit_from': [ | |
803 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Product', | |
804 'Dart_Android_Base', | |
805 # Default SIMDBC on Android targets arm64. | |
806 'Dart_Android_arm64_Base', | |
807 'Dart_Android_Product', | |
808 ], | |
809 }, | |
810 | |
811 # These targets assume that target_arch is passed in explicitly | |
812 # by the containing project (e.g., chromium). | |
813 'Debug': { | |
814 'inherit_from': ['Debug<(chrome_target_os)<(dart_target_arch)'] | |
815 }, | |
816 | |
817 'Release': { | |
818 'inherit_from': ['Release<(chrome_target_os)<(dart_target_arch)'] | |
819 }, | |
820 | |
821 'conditions': [ | |
822 # On Windows ninja generator has hardcorded configuration naming | |
823 # patterns and it expects that x64 configurations are named smth_x64. | |
824 # This is a workaround for the crash that these expectations cause. | |
825 [ 'OS=="win" and GENERATOR=="ninja"', { | |
826 'DebugX64_x64': { | |
827 'inherit_from': [ 'DebugX64' ] | |
828 }, | |
829 | |
830 'ReleaseX64_x64': { | |
831 'inherit_from': [ 'ReleaseX64' ] | |
832 }, | |
833 }], | |
834 ], | |
835 }, | |
836 }, | |
837 } | |
OLD | NEW |