OLD | NEW |
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 ], | 11 ], |
12 | 12 |
13 # Default value. This may be overridden in a containing project gyp. | 13 # Default value. This may be overridden in a containing project gyp. |
14 'target_arch%': 'ia32', | 14 'target_arch%': 'ia32', |
15 | 15 |
16 'conditions': [ | 16 'conditions': [ |
17 ['"<(target_arch)"=="ia32"', { 'dart_target_arch': 'IA32', }], | 17 ['"<(target_arch)"=="ia32"', { 'dart_target_arch': 'IA32', }], |
18 ['"<(target_arch)"=="x64"', { 'dart_target_arch': 'X64', }], | 18 ['"<(target_arch)"=="x64"', { 'dart_target_arch': 'X64', }], |
19 ['"<(target_arch)"=="arm"', { 'dart_target_arch': 'ARM', }], | 19 ['"<(target_arch)"=="arm"', { 'dart_target_arch': 'ARM', }], |
20 ['"<(target_arch)"=="armv6"', { 'dart_target_arch': 'ARMV6', }], | 20 ['"<(target_arch)"=="armv6"', { 'dart_target_arch': 'ARMV6', }], |
21 ['"<(target_arch)"=="armv5te"', { 'dart_target_arch': 'ARMV5TE', }], | 21 ['"<(target_arch)"=="armv5te"', { 'dart_target_arch': 'ARMV5TE', }], |
22 ['"<(target_arch)"=="arm64"', { 'dart_target_arch': 'ARM64', }], | 22 ['"<(target_arch)"=="arm64"', { 'dart_target_arch': 'ARM64', }], |
23 ['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }], | 23 ['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }], |
24 ['"<(target_arch)"=="simarmv6"', { 'dart_target_arch': 'SIMARMV6', }], | 24 ['"<(target_arch)"=="simarmv6"', { 'dart_target_arch': 'SIMARMV6', }], |
25 ['"<(target_arch)"=="simarmv5te"', { 'dart_target_arch': 'SIMARMV5TE', }], | 25 ['"<(target_arch)"=="simarmv5te"', { 'dart_target_arch': 'SIMARMV5TE', }], |
26 ['"<(target_arch)"=="simarm64"', { 'dart_target_arch': 'SIMARM64', }], | 26 ['"<(target_arch)"=="simarm64"', { 'dart_target_arch': 'SIMARM64', }], |
27 ['"<(target_arch)"=="mips"', { 'dart_target_arch': 'MIPS', }], | 27 ['"<(target_arch)"=="mips"', { 'dart_target_arch': 'MIPS', }], |
28 ['"<(target_arch)"=="simmips"', { 'dart_target_arch': 'SIMMIPS', }], | 28 ['"<(target_arch)"=="simmips"', { 'dart_target_arch': 'SIMMIPS', }], |
| 29 ['"<(target_arch)"=="simdbc"', { 'dart_target_arch': 'SIMDBC', }], |
29 [ 'OS=="linux"', { 'dart_target_os': 'Linux', } ], | 30 [ 'OS=="linux"', { 'dart_target_os': 'Linux', } ], |
30 [ 'OS=="mac"', { 'dart_target_os': 'Macos', } ], | 31 [ 'OS=="mac"', { 'dart_target_os': 'Macos', } ], |
31 [ 'OS=="win"', { 'dart_target_os': 'Win', } ], | 32 [ 'OS=="win"', { 'dart_target_os': 'Win', } ], |
32 # The OS is set to "android" only when we are building Dartium+Clank. We | 33 # 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 # 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 # from Android configurations when OS=="android". If OS is not set to |
35 # Android, then Release and Debug inherit from the usual configurations. | 36 # Android, then Release and Debug inherit from the usual configurations. |
36 [ 'OS=="android"', { 'chrome_target_os': 'Android',}, | 37 [ 'OS=="android"', { 'chrome_target_os': 'Android',}, |
37 { 'chrome_target_os': '',}], | 38 { 'chrome_target_os': '',}], |
38 ], | 39 ], |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 ] | 126 ] |
126 }, | 127 }, |
127 | 128 |
128 'Dart_mips_Base': { | 129 'Dart_mips_Base': { |
129 'abstract': 1, | 130 'abstract': 1, |
130 'defines': [ | 131 'defines': [ |
131 'TARGET_ARCH_MIPS', | 132 'TARGET_ARCH_MIPS', |
132 ], | 133 ], |
133 }, | 134 }, |
134 | 135 |
| 136 'Dart_simdbc_Base': { |
| 137 'abstract': 1, |
| 138 'defines': [ |
| 139 'TARGET_ARCH_DBC', |
| 140 'USING_SIMULATOR', |
| 141 ] |
| 142 }, |
| 143 |
135 'Dart_Debug': { | 144 'Dart_Debug': { |
136 'abstract': 1, | 145 'abstract': 1, |
137 }, | 146 }, |
138 | 147 |
139 'Dart_Release': { | 148 'Dart_Release': { |
140 'abstract': 1, | 149 'abstract': 1, |
141 'defines': [ | 150 'defines': [ |
142 'NDEBUG', | 151 'NDEBUG', |
143 ], | 152 ], |
144 }, | 153 }, |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 | 358 |
350 'ProductSIMMIPS': { | 359 'ProductSIMMIPS': { |
351 'inherit_from': [ | 360 'inherit_from': [ |
352 'Dart_Base', 'Dart_simmips_Base', 'Dart_Product', | 361 'Dart_Base', 'Dart_simmips_Base', 'Dart_Product', |
353 'Dart_<(dart_target_os)_Base', | 362 'Dart_<(dart_target_os)_Base', |
354 'Dart_<(dart_target_os)_simmips_Base', | 363 'Dart_<(dart_target_os)_simmips_Base', |
355 'Dart_<(dart_target_os)_Product', | 364 'Dart_<(dart_target_os)_Product', |
356 ], | 365 ], |
357 }, | 366 }, |
358 | 367 |
| 368 'DebugSIMDBC': { |
| 369 'inherit_from': [ |
| 370 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Debug', |
| 371 'Dart_<(dart_target_os)_Base', |
| 372 'Dart_<(dart_target_os)_simdbc_Base', |
| 373 'Dart_<(dart_target_os)_Debug', |
| 374 ], |
| 375 'defines': [ |
| 376 'DEBUG', |
| 377 ], |
| 378 }, |
| 379 |
| 380 'ReleaseSIMDBC': { |
| 381 'inherit_from': [ |
| 382 'Dart_Base', 'Dart_simdbc_Base', 'Dart_Release', |
| 383 'Dart_<(dart_target_os)_Base', |
| 384 'Dart_<(dart_target_os)_simdbc_Base', |
| 385 'Dart_<(dart_target_os)_Release', |
| 386 ], |
| 387 }, |
359 | 388 |
360 # ARM and MIPS hardware configurations are only for Linux and Android. | 389 # ARM and MIPS hardware configurations are only for Linux and Android. |
361 'DebugXARM': { | 390 'DebugXARM': { |
362 'inherit_from': [ | 391 'inherit_from': [ |
363 'Dart_Base', 'Dart_arm_Base', 'Dart_Debug', | 392 'Dart_Base', 'Dart_arm_Base', 'Dart_Debug', |
364 'Dart_Linux_Base', | 393 'Dart_Linux_Base', |
365 'Dart_Linux_xarm_Base', | 394 'Dart_Linux_xarm_Base', |
366 'Dart_Linux_Debug', | 395 'Dart_Linux_Debug', |
367 ], | 396 ], |
368 }, | 397 }, |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 }, | 790 }, |
762 | 791 |
763 'ReleaseX64_x64': { | 792 'ReleaseX64_x64': { |
764 'inherit_from': [ 'ReleaseX64' ] | 793 'inherit_from': [ 'ReleaseX64' ] |
765 }, | 794 }, |
766 }], | 795 }], |
767 ], | 796 ], |
768 }, | 797 }, |
769 }, | 798 }, |
770 } | 799 } |
OLD | NEW |