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)"=="armv5te"', { 'dart_target_arch': 'ARMV5TE', }], | 20 ['"<(target_arch)"=="armv5te"', { 'dart_target_arch': 'ARMV5TE', }], |
21 ['"<(target_arch)"=="arm64"', { 'dart_target_arch': 'ARM64', }], | 21 ['"<(target_arch)"=="arm64"', { 'dart_target_arch': 'ARM64', }], |
22 ['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }], | 22 ['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }], |
| 23 ['"<(target_arch)"=="simarmv5te"', { 'dart_target_arch': 'SIMARMV5TE', }], |
23 ['"<(target_arch)"=="simarm64"', { 'dart_target_arch': 'SIMARM64', }], | 24 ['"<(target_arch)"=="simarm64"', { 'dart_target_arch': 'SIMARM64', }], |
24 ['"<(target_arch)"=="mips"', { 'dart_target_arch': 'MIPS', }], | 25 ['"<(target_arch)"=="mips"', { 'dart_target_arch': 'MIPS', }], |
25 ['"<(target_arch)"=="simmips"', { 'dart_target_arch': 'SIMMIPS', }], | 26 ['"<(target_arch)"=="simmips"', { 'dart_target_arch': 'SIMMIPS', }], |
26 [ 'OS=="linux"', { 'dart_target_os': 'Linux', } ], | 27 [ 'OS=="linux"', { 'dart_target_os': 'Linux', } ], |
27 [ 'OS=="mac"', { 'dart_target_os': 'Macos', } ], | 28 [ 'OS=="mac"', { 'dart_target_os': 'Macos', } ], |
28 [ 'OS=="win"', { 'dart_target_os': 'Win', } ], | 29 [ 'OS=="win"', { 'dart_target_os': 'Win', } ], |
29 # The OS is set to "android" only when we are building Dartium+Clank. We | 30 # The OS is set to "android" only when we are building Dartium+Clank. We |
30 # use 'chrome_target_os' so that Release and Debug configurations inherit | 31 # use 'chrome_target_os' so that Release and Debug configurations inherit |
31 # from Android configurations when OS=="android". If OS is not set to | 32 # from Android configurations when OS=="android". If OS is not set to |
32 # Android, then Release and Debug inherit from the usual configurations. | 33 # Android, then Release and Debug inherit from the usual configurations. |
(...skipping 22 matching lines...) Expand all Loading... |
55 'abstract': 1, | 56 'abstract': 1, |
56 }, | 57 }, |
57 | 58 |
58 'Dart_simarm_Base': { | 59 'Dart_simarm_Base': { |
59 'abstract': 1, | 60 'abstract': 1, |
60 'defines': [ | 61 'defines': [ |
61 'TARGET_ARCH_ARM', | 62 'TARGET_ARCH_ARM', |
62 ] | 63 ] |
63 }, | 64 }, |
64 | 65 |
| 66 'Dart_simarmv5te_Base': { |
| 67 'abstract': 1, |
| 68 'defines': [ |
| 69 'TARGET_ARCH_ARM', |
| 70 'TARGET_ARCH_ARM_5TE', |
| 71 ] |
| 72 }, |
| 73 |
65 'Dart_arm_Base': { | 74 'Dart_arm_Base': { |
66 'abstract': 1, | 75 'abstract': 1, |
67 'defines': [ | 76 'defines': [ |
68 'TARGET_ARCH_ARM', | 77 'TARGET_ARCH_ARM', |
69 ], | 78 ], |
70 }, | 79 }, |
71 | 80 |
72 'Dart_armv5te_Base': { | 81 'Dart_armv5te_Base': { |
73 'abstract': 1, | 82 'abstract': 1, |
74 'defines': [ | 83 'defines': [ |
75 'TARGET_ARCH_ARM', | 84 'TARGET_ARCH_ARM', |
| 85 'TARGET_ARCH_ARM_5TE', |
76 ], | 86 ], |
77 }, | 87 }, |
78 | 88 |
79 'Dart_simarm64_Base': { | 89 'Dart_simarm64_Base': { |
80 'abstract': 1, | 90 'abstract': 1, |
81 'defines': [ | 91 'defines': [ |
82 'TARGET_ARCH_ARM64', | 92 'TARGET_ARCH_ARM64', |
83 ] | 93 ] |
84 }, | 94 }, |
85 | 95 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 | 177 |
168 'ReleaseSIMARM': { | 178 'ReleaseSIMARM': { |
169 'inherit_from': [ | 179 'inherit_from': [ |
170 'Dart_Base', 'Dart_simarm_Base', 'Dart_Release', | 180 'Dart_Base', 'Dart_simarm_Base', 'Dart_Release', |
171 'Dart_<(dart_target_os)_Base', | 181 'Dart_<(dart_target_os)_Base', |
172 'Dart_<(dart_target_os)_simarm_Base', | 182 'Dart_<(dart_target_os)_simarm_Base', |
173 'Dart_<(dart_target_os)_Release', | 183 'Dart_<(dart_target_os)_Release', |
174 ], | 184 ], |
175 }, | 185 }, |
176 | 186 |
| 187 'DebugSIMARMV5TE': { |
| 188 'inherit_from': [ |
| 189 'Dart_Base', 'Dart_simarmv5te_Base', 'Dart_Debug', |
| 190 'Dart_<(dart_target_os)_Base', |
| 191 'Dart_<(dart_target_os)_simarmv5te_Base', |
| 192 'Dart_<(dart_target_os)_Debug', |
| 193 ], |
| 194 'defines': [ |
| 195 'DEBUG', |
| 196 ], |
| 197 }, |
| 198 |
| 199 'ReleaseSIMARMV5TE': { |
| 200 'inherit_from': [ |
| 201 'Dart_Base', 'Dart_simarmv5te_Base', 'Dart_Release', |
| 202 'Dart_<(dart_target_os)_Base', |
| 203 'Dart_<(dart_target_os)_simarmv5te_Base', |
| 204 'Dart_<(dart_target_os)_Release', |
| 205 ], |
| 206 }, |
| 207 |
177 'DebugSIMARM64': { | 208 'DebugSIMARM64': { |
178 'inherit_from': [ | 209 'inherit_from': [ |
179 'Dart_Base', 'Dart_simarm64_Base', 'Dart_Debug', | 210 'Dart_Base', 'Dart_simarm64_Base', 'Dart_Debug', |
180 'Dart_<(dart_target_os)_Base', | 211 'Dart_<(dart_target_os)_Base', |
181 'Dart_<(dart_target_os)_simarm64_Base', | 212 'Dart_<(dart_target_os)_simarm64_Base', |
182 'Dart_<(dart_target_os)_Debug', | 213 'Dart_<(dart_target_os)_Debug', |
183 ], | 214 ], |
184 'defines': [ | 215 'defines': [ |
185 'DEBUG', | 216 'DEBUG', |
186 ], | 217 ], |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 }, | 472 }, |
442 | 473 |
443 'ReleaseX64_x64': { | 474 'ReleaseX64_x64': { |
444 'inherit_from': [ 'ReleaseX64' ] | 475 'inherit_from': [ 'ReleaseX64' ] |
445 }, | 476 }, |
446 }], | 477 }], |
447 ], | 478 ], |
448 }, | 479 }, |
449 }, | 480 }, |
450 } | 481 } |
OLD | NEW |