| 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)"=="simarmv5te"', { 'dart_target_arch': 'SIMARMV5TE', }], |
| 24 ['"<(target_arch)"=="simarm64"', { 'dart_target_arch': 'SIMARM64', }], | 24 ['"<(target_arch)"=="simarm64"', { 'dart_target_arch': 'SIMARM64', }], |
| 25 ['"<(target_arch)"=="mips"', { 'dart_target_arch': 'MIPS', }], | 25 ['"<(target_arch)"=="mips"', { 'dart_target_arch': 'MIPS', }], |
| 26 ['"<(target_arch)"=="simmips"', { 'dart_target_arch': 'SIMMIPS', }], | 26 ['"<(target_arch)"=="simmips"', { 'dart_target_arch': 'SIMMIPS', }], |
| 27 [ 'OS=="linux"', { 'dart_target_os': 'Linux', } ], | 27 [ 'OS=="linux"', { 'dart_target_os': 'Linux', } ], |
| 28 [ 'OS=="openbsd"', { 'dart_target_os': 'OpenBSD', } ], |
| 28 [ 'OS=="mac"', { 'dart_target_os': 'Macos', } ], | 29 [ 'OS=="mac"', { 'dart_target_os': 'Macos', } ], |
| 29 [ 'OS=="win"', { 'dart_target_os': 'Win', } ], | 30 [ 'OS=="win"', { 'dart_target_os': 'Win', } ], |
| 30 # The OS is set to "android" only when we are building Dartium+Clank. We | 31 # 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 | 32 # use 'chrome_target_os' so that Release and Debug configurations inherit |
| 32 # from Android configurations when OS=="android". If OS is not set to | 33 # from Android configurations when OS=="android". If OS is not set to |
| 33 # Android, then Release and Debug inherit from the usual configurations. | 34 # Android, then Release and Debug inherit from the usual configurations. |
| 34 [ 'OS=="android"', { 'chrome_target_os': 'Android',}, | 35 [ 'OS=="android"', { 'chrome_target_os': 'Android',}, |
| 35 { 'chrome_target_os': '',}], | 36 { 'chrome_target_os': '',}], |
| 36 ], | 37 ], |
| 37 }, | 38 }, |
| 38 'includes': [ | 39 'includes': [ |
| 39 'configurations_android.gypi', | 40 'configurations_android.gypi', |
| 40 'configurations_make.gypi', | 41 'configurations_make.gypi', |
| 42 'configurations_openbsd.gypi', |
| 41 'configurations_xcode.gypi', | 43 'configurations_xcode.gypi', |
| 42 'configurations_msvs.gypi', | 44 'configurations_msvs.gypi', |
| 43 ], | 45 ], |
| 44 'target_defaults': { | 46 'target_defaults': { |
| 45 'default_configuration': 'DebugIA32', | 47 'default_configuration': 'DebugIA32', |
| 46 'configurations': { | 48 'configurations': { |
| 47 'Dart_Base': { | 49 'Dart_Base': { |
| 48 'abstract': 1, | 50 'abstract': 1, |
| 49 }, | 51 }, |
| 50 | 52 |
| (...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 472 }, | 474 }, |
| 473 | 475 |
| 474 'ReleaseX64_x64': { | 476 'ReleaseX64_x64': { |
| 475 'inherit_from': [ 'ReleaseX64' ] | 477 'inherit_from': [ 'ReleaseX64' ] |
| 476 }, | 478 }, |
| 477 }], | 479 }], |
| 478 ], | 480 ], |
| 479 }, | 481 }, |
| 480 }, | 482 }, |
| 481 } | 483 } |
| OLD | NEW |