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)"=="armv5"', { 'dart_target_arch': 'ARMV5', }], |
20 ['"<(target_arch)"=="arm64"', { 'dart_target_arch': 'ARM64', }], | 21 ['"<(target_arch)"=="arm64"', { 'dart_target_arch': 'ARM64', }], |
21 ['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }], | 22 ['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }], |
22 ['"<(target_arch)"=="simarm64"', { 'dart_target_arch': 'SIMARM64', }], | 23 ['"<(target_arch)"=="simarm64"', { 'dart_target_arch': 'SIMARM64', }], |
23 ['"<(target_arch)"=="mips"', { 'dart_target_arch': 'MIPS', }], | 24 ['"<(target_arch)"=="mips"', { 'dart_target_arch': 'MIPS', }], |
24 ['"<(target_arch)"=="simmips"', { 'dart_target_arch': 'SIMMIPS', }], | 25 ['"<(target_arch)"=="simmips"', { 'dart_target_arch': 'SIMMIPS', }], |
25 [ 'OS=="linux"', { 'dart_target_os': 'Linux', } ], | 26 [ 'OS=="linux"', { 'dart_target_os': 'Linux', } ], |
26 [ 'OS=="mac"', { 'dart_target_os': 'Macos', } ], | 27 [ 'OS=="mac"', { 'dart_target_os': 'Macos', } ], |
27 [ 'OS=="win"', { 'dart_target_os': 'Win', } ], | 28 [ 'OS=="win"', { 'dart_target_os': 'Win', } ], |
28 # The OS is set to "android" only when we are building Dartium+Clank. We | 29 # The OS is set to "android" only when we are building Dartium+Clank. We |
29 # use 'chrome_target_os' so that Release and Debug configurations inherit | 30 # use 'chrome_target_os' so that Release and Debug configurations inherit |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 ] | 62 ] |
62 }, | 63 }, |
63 | 64 |
64 'Dart_arm_Base': { | 65 'Dart_arm_Base': { |
65 'abstract': 1, | 66 'abstract': 1, |
66 'defines': [ | 67 'defines': [ |
67 'TARGET_ARCH_ARM', | 68 'TARGET_ARCH_ARM', |
68 ], | 69 ], |
69 }, | 70 }, |
70 | 71 |
| 72 'Dart_armv5_Base': { |
| 73 'abstract': 1, |
| 74 'defines': [ |
| 75 'TARGET_ARCH_ARM', |
| 76 ], |
| 77 }, |
| 78 |
71 'Dart_simarm64_Base': { | 79 'Dart_simarm64_Base': { |
72 'abstract': 1, | 80 'abstract': 1, |
73 'defines': [ | 81 'defines': [ |
74 'TARGET_ARCH_ARM64', | 82 'TARGET_ARCH_ARM64', |
75 ] | 83 ] |
76 }, | 84 }, |
77 | 85 |
78 'Dart_arm64_Base': { | 86 'Dart_arm64_Base': { |
79 'abstract': 1, | 87 'abstract': 1, |
80 'defines': [ | 88 'defines': [ |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 | 247 |
240 'ReleaseARM': { | 248 'ReleaseARM': { |
241 'inherit_from': [ | 249 'inherit_from': [ |
242 'Dart_Base', 'Dart_arm_Base', 'Dart_Release', | 250 'Dart_Base', 'Dart_arm_Base', 'Dart_Release', |
243 'Dart_Linux_Base', | 251 'Dart_Linux_Base', |
244 'Dart_Linux_arm_Base', | 252 'Dart_Linux_arm_Base', |
245 'Dart_Linux_Release', | 253 'Dart_Linux_Release', |
246 ], | 254 ], |
247 }, | 255 }, |
248 | 256 |
| 257 'DebugXARMV5': { |
| 258 'inherit_from': [ |
| 259 'Dart_Base', 'Dart_armv5_Base', 'Dart_Debug', |
| 260 'Dart_Linux_Base', |
| 261 'Dart_Linux_xarmv5_Base', |
| 262 'Dart_Linux_Debug', |
| 263 ], |
| 264 }, |
| 265 |
| 266 'ReleaseXARMV5': { |
| 267 'inherit_from': [ |
| 268 'Dart_Base', 'Dart_armv5_Base', 'Dart_Release', |
| 269 'Dart_Linux_Base', |
| 270 'Dart_Linux_xarmv5_Base', |
| 271 'Dart_Linux_Release', |
| 272 ], |
| 273 }, |
| 274 |
| 275 'DebugARMV5': { |
| 276 'inherit_from': [ |
| 277 'Dart_Base', 'Dart_armv5_Base', 'Dart_Debug', |
| 278 'Dart_Linux_Base', |
| 279 'Dart_Linux_armv5_Base', |
| 280 'Dart_Linux_Debug', |
| 281 ], |
| 282 }, |
| 283 |
| 284 'ReleaseARMV5': { |
| 285 'inherit_from': [ |
| 286 'Dart_Base', 'Dart_armv5_Base', 'Dart_Release', |
| 287 'Dart_Linux_Base', |
| 288 'Dart_Linux_armv5_Base', |
| 289 'Dart_Linux_Release', |
| 290 ], |
| 291 }, |
| 292 |
249 'DebugXARM64': { | 293 'DebugXARM64': { |
250 'inherit_from': [ | 294 'inherit_from': [ |
251 'Dart_Base', 'Dart_arm64_Base', 'Dart_Debug', | 295 'Dart_Base', 'Dart_arm64_Base', 'Dart_Debug', |
252 'Dart_Linux_Base', | 296 'Dart_Linux_Base', |
253 'Dart_Linux_xarm64_Base', | 297 'Dart_Linux_xarm64_Base', |
254 'Dart_Linux_Debug', | 298 'Dart_Linux_Debug', |
255 ], | 299 ], |
256 }, | 300 }, |
257 | 301 |
258 'ReleaseXARM64': { | 302 'ReleaseXARM64': { |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 }, | 441 }, |
398 | 442 |
399 'ReleaseX64_x64': { | 443 'ReleaseX64_x64': { |
400 'inherit_from': [ 'ReleaseX64' ] | 444 'inherit_from': [ 'ReleaseX64' ] |
401 }, | 445 }, |
402 }], | 446 }], |
403 ], | 447 ], |
404 }, | 448 }, |
405 }, | 449 }, |
406 } | 450 } |
OLD | NEW |