| 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)"=="armv5te"', { 'dart_target_arch': 'ARMV5TE', }], | 21 ['"<(target_arch)"=="armv5te"', { 'dart_target_arch': 'ARMV5TE', }], |
| 21 ['"<(target_arch)"=="arm64"', { 'dart_target_arch': 'ARM64', }], | 22 ['"<(target_arch)"=="arm64"', { 'dart_target_arch': 'ARM64', }], |
| 22 ['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }], | 23 ['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }], |
| 24 ['"<(target_arch)"=="simarmv6"', { 'dart_target_arch': 'SIMARMV6', }], |
| 23 ['"<(target_arch)"=="simarmv5te"', { 'dart_target_arch': 'SIMARMV5TE', }], | 25 ['"<(target_arch)"=="simarmv5te"', { 'dart_target_arch': 'SIMARMV5TE', }], |
| 24 ['"<(target_arch)"=="simarm64"', { 'dart_target_arch': 'SIMARM64', }], | 26 ['"<(target_arch)"=="simarm64"', { 'dart_target_arch': 'SIMARM64', }], |
| 25 ['"<(target_arch)"=="mips"', { 'dart_target_arch': 'MIPS', }], | 27 ['"<(target_arch)"=="mips"', { 'dart_target_arch': 'MIPS', }], |
| 26 ['"<(target_arch)"=="simmips"', { 'dart_target_arch': 'SIMMIPS', }], | 28 ['"<(target_arch)"=="simmips"', { 'dart_target_arch': 'SIMMIPS', }], |
| 27 [ 'OS=="linux"', { 'dart_target_os': 'Linux', } ], | 29 [ 'OS=="linux"', { 'dart_target_os': 'Linux', } ], |
| 28 [ 'OS=="mac"', { 'dart_target_os': 'Macos', } ], | 30 [ 'OS=="mac"', { 'dart_target_os': 'Macos', } ], |
| 29 [ 'OS=="win"', { 'dart_target_os': 'Win', } ], | 31 [ 'OS=="win"', { 'dart_target_os': 'Win', } ], |
| 30 # The OS is set to "android" only when we are building Dartium+Clank. We | 32 # The OS is set to "android" only when we are building Dartium+Clank. We |
| 31 # use 'chrome_target_os' so that Release and Debug configurations inherit | 33 # use 'chrome_target_os' so that Release and Debug configurations inherit |
| 32 # from Android configurations when OS=="android". If OS is not set to | 34 # from Android configurations when OS=="android". If OS is not set to |
| (...skipping 23 matching lines...) Expand all Loading... |
| 56 'abstract': 1, | 58 'abstract': 1, |
| 57 }, | 59 }, |
| 58 | 60 |
| 59 'Dart_simarm_Base': { | 61 'Dart_simarm_Base': { |
| 60 'abstract': 1, | 62 'abstract': 1, |
| 61 'defines': [ | 63 'defines': [ |
| 62 'TARGET_ARCH_ARM', | 64 'TARGET_ARCH_ARM', |
| 63 ] | 65 ] |
| 64 }, | 66 }, |
| 65 | 67 |
| 68 'Dart_simarmv6_Base': { |
| 69 'abstract': 1, |
| 70 'defines': [ |
| 71 'TARGET_ARCH_ARM', |
| 72 'TARGET_ARCH_ARM_6', |
| 73 ] |
| 74 }, |
| 75 |
| 66 'Dart_simarmv5te_Base': { | 76 'Dart_simarmv5te_Base': { |
| 67 'abstract': 1, | 77 'abstract': 1, |
| 68 'defines': [ | 78 'defines': [ |
| 69 'TARGET_ARCH_ARM', | 79 'TARGET_ARCH_ARM', |
| 70 'TARGET_ARCH_ARM_5TE', | 80 'TARGET_ARCH_ARM_5TE', |
| 71 ] | 81 ] |
| 72 }, | 82 }, |
| 73 | 83 |
| 74 'Dart_arm_Base': { | 84 'Dart_arm_Base': { |
| 75 'abstract': 1, | 85 'abstract': 1, |
| 76 'defines': [ | 86 'defines': [ |
| 77 'TARGET_ARCH_ARM', | 87 'TARGET_ARCH_ARM', |
| 78 ], | 88 ], |
| 79 }, | 89 }, |
| 80 | 90 |
| 91 'Dart_armv6_Base': { |
| 92 'abstract': 1, |
| 93 'defines': [ |
| 94 'TARGET_ARCH_ARM', |
| 95 'TARGET_ARCH_ARM_6', |
| 96 ], |
| 97 }, |
| 98 |
| 81 'Dart_armv5te_Base': { | 99 'Dart_armv5te_Base': { |
| 82 'abstract': 1, | 100 'abstract': 1, |
| 83 'defines': [ | 101 'defines': [ |
| 84 'TARGET_ARCH_ARM', | 102 'TARGET_ARCH_ARM', |
| 85 'TARGET_ARCH_ARM_5TE', | 103 'TARGET_ARCH_ARM_5TE', |
| 86 ], | 104 ], |
| 87 }, | 105 }, |
| 88 | 106 |
| 89 'Dart_simarm64_Base': { | 107 'Dart_simarm64_Base': { |
| 90 'abstract': 1, | 108 'abstract': 1, |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 | 195 |
| 178 'ReleaseSIMARM': { | 196 'ReleaseSIMARM': { |
| 179 'inherit_from': [ | 197 'inherit_from': [ |
| 180 'Dart_Base', 'Dart_simarm_Base', 'Dart_Release', | 198 'Dart_Base', 'Dart_simarm_Base', 'Dart_Release', |
| 181 'Dart_<(dart_target_os)_Base', | 199 'Dart_<(dart_target_os)_Base', |
| 182 'Dart_<(dart_target_os)_simarm_Base', | 200 'Dart_<(dart_target_os)_simarm_Base', |
| 183 'Dart_<(dart_target_os)_Release', | 201 'Dart_<(dart_target_os)_Release', |
| 184 ], | 202 ], |
| 185 }, | 203 }, |
| 186 | 204 |
| 205 'DebugSIMARMV6': { |
| 206 'inherit_from': [ |
| 207 'Dart_Base', 'Dart_simarmv6_Base', 'Dart_Debug', |
| 208 'Dart_<(dart_target_os)_Base', |
| 209 'Dart_<(dart_target_os)_simarmv6_Base', |
| 210 'Dart_<(dart_target_os)_Debug', |
| 211 ], |
| 212 'defines': [ |
| 213 'DEBUG', |
| 214 ], |
| 215 }, |
| 216 |
| 217 'ReleaseSIMARMV6': { |
| 218 'inherit_from': [ |
| 219 'Dart_Base', 'Dart_simarmv6_Base', 'Dart_Release', |
| 220 'Dart_<(dart_target_os)_Base', |
| 221 'Dart_<(dart_target_os)_simarmv6_Base', |
| 222 'Dart_<(dart_target_os)_Release', |
| 223 ], |
| 224 }, |
| 225 |
| 187 'DebugSIMARMV5TE': { | 226 'DebugSIMARMV5TE': { |
| 188 'inherit_from': [ | 227 'inherit_from': [ |
| 189 'Dart_Base', 'Dart_simarmv5te_Base', 'Dart_Debug', | 228 'Dart_Base', 'Dart_simarmv5te_Base', 'Dart_Debug', |
| 190 'Dart_<(dart_target_os)_Base', | 229 'Dart_<(dart_target_os)_Base', |
| 191 'Dart_<(dart_target_os)_simarmv5te_Base', | 230 'Dart_<(dart_target_os)_simarmv5te_Base', |
| 192 'Dart_<(dart_target_os)_Debug', | 231 'Dart_<(dart_target_os)_Debug', |
| 193 ], | 232 ], |
| 194 'defines': [ | 233 'defines': [ |
| 195 'DEBUG', | 234 'DEBUG', |
| 196 ], | 235 ], |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 | 317 |
| 279 'ReleaseARM': { | 318 'ReleaseARM': { |
| 280 'inherit_from': [ | 319 'inherit_from': [ |
| 281 'Dart_Base', 'Dart_arm_Base', 'Dart_Release', | 320 'Dart_Base', 'Dart_arm_Base', 'Dart_Release', |
| 282 'Dart_Linux_Base', | 321 'Dart_Linux_Base', |
| 283 'Dart_Linux_arm_Base', | 322 'Dart_Linux_arm_Base', |
| 284 'Dart_Linux_Release', | 323 'Dart_Linux_Release', |
| 285 ], | 324 ], |
| 286 }, | 325 }, |
| 287 | 326 |
| 327 'DebugXARMV6': { |
| 328 'inherit_from': [ |
| 329 'Dart_Base', 'Dart_armv6_Base', 'Dart_Debug', |
| 330 'Dart_Linux_Base', |
| 331 'Dart_Linux_xarmv6_Base', |
| 332 'Dart_Linux_Debug', |
| 333 ], |
| 334 }, |
| 335 |
| 336 'ReleaseXARMV6': { |
| 337 'inherit_from': [ |
| 338 'Dart_Base', 'Dart_armv6_Base', 'Dart_Release', |
| 339 'Dart_Linux_Base', |
| 340 'Dart_Linux_xarmv6_Base', |
| 341 'Dart_Linux_Release', |
| 342 ], |
| 343 }, |
| 344 |
| 345 'DebugARMV6': { |
| 346 'inherit_from': [ |
| 347 'Dart_Base', 'Dart_armv6_Base', 'Dart_Debug', |
| 348 'Dart_Linux_Base', |
| 349 'Dart_Linux_armv6_Base', |
| 350 'Dart_Linux_Debug', |
| 351 ], |
| 352 }, |
| 353 |
| 354 'ReleaseARMV6': { |
| 355 'inherit_from': [ |
| 356 'Dart_Base', 'Dart_armv6_Base', 'Dart_Release', |
| 357 'Dart_Linux_Base', |
| 358 'Dart_Linux_armv6_Base', |
| 359 'Dart_Linux_Release', |
| 360 ], |
| 361 }, |
| 362 |
| 288 'DebugXARMV5TE': { | 363 'DebugXARMV5TE': { |
| 289 'inherit_from': [ | 364 'inherit_from': [ |
| 290 'Dart_Base', 'Dart_armv5te_Base', 'Dart_Debug', | 365 'Dart_Base', 'Dart_armv5te_Base', 'Dart_Debug', |
| 291 'Dart_Linux_Base', | 366 'Dart_Linux_Base', |
| 292 'Dart_Linux_xarmv5te_Base', | 367 'Dart_Linux_xarmv5te_Base', |
| 293 'Dart_Linux_Debug', | 368 'Dart_Linux_Debug', |
| 294 ], | 369 ], |
| 295 }, | 370 }, |
| 296 | 371 |
| 297 'ReleaseXARMV5TE': { | 372 'ReleaseXARMV5TE': { |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 472 }, | 547 }, |
| 473 | 548 |
| 474 'ReleaseX64_x64': { | 549 'ReleaseX64_x64': { |
| 475 'inherit_from': [ 'ReleaseX64' ] | 550 'inherit_from': [ 'ReleaseX64' ] |
| 476 }, | 551 }, |
| 477 }], | 552 }], |
| 478 ], | 553 ], |
| 479 }, | 554 }, |
| 480 }, | 555 }, |
| 481 } | 556 } |
| OLD | NEW |