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 # TODO(v8-team): Fix V8 build. | 11 # TODO(v8-team): Fix V8 build. |
12 #'-Wold-style-cast', | 12 #'-Wold-style-cast', |
13 ], | 13 ], |
14 | 14 |
15 # Default value. This may be overridden in a containing project gyp. | 15 # Default value. This may be overridden in a containing project gyp. |
16 'target_arch%': 'ia32', | 16 'target_arch%': 'ia32', |
17 | 17 |
18 # Don't use separate host toolset for compiling V8. | 18 # Don't use separate host toolset for compiling V8. |
19 'want_separate_host_toolset': 0, | 19 'want_separate_host_toolset': 0, |
20 | 20 |
21 'conditions': [ | 21 'conditions': [ |
22 ['"<(target_arch)"=="ia32"', { 'dart_target_arch': 'IA32', }], | 22 ['"<(target_arch)"=="ia32"', { 'dart_target_arch': 'IA32', }], |
23 ['"<(target_arch)"=="x64"', { 'dart_target_arch': 'X64', }], | 23 ['"<(target_arch)"=="x64"', { 'dart_target_arch': 'X64', }], |
24 ['"<(target_arch)"=="arm"', { 'dart_target_arch': 'ARM', }], | 24 ['"<(target_arch)"=="arm"', { 'dart_target_arch': 'ARM', }], |
25 ['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }], | 25 ['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }], |
26 ], | 26 ], |
27 }, | 27 }, |
28 'conditions': [ | 28 'conditions': [ |
| 29 [ 'OS=="android"', { 'includes': [ 'configurations_android.gypi', ], } ], |
29 [ 'OS=="linux"', { 'includes': [ 'configurations_make.gypi', ], } ], | 30 [ 'OS=="linux"', { 'includes': [ 'configurations_make.gypi', ], } ], |
30 [ 'OS=="mac"', { 'includes': [ 'configurations_xcode.gypi', ], } ], | 31 [ 'OS=="mac"', { 'includes': [ 'configurations_xcode.gypi', ], } ], |
31 [ 'OS=="win"', { 'includes': [ 'configurations_msvs.gypi', ], } ], | 32 [ 'OS=="win"', { 'includes': [ 'configurations_msvs.gypi', ], } ], |
32 ], | 33 ], |
33 'target_defaults': { | 34 'target_defaults': { |
34 'default_configuration': 'DebugIA32', | 35 'default_configuration': 'DebugIA32', |
35 'configurations': { | 36 'configurations': { |
36 'Dart_Base': { | 37 'Dart_Base': { |
37 'abstract': 1, | 38 'abstract': 1, |
38 }, | 39 }, |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 'Debug': { | 118 'Debug': { |
118 'inherit_from': ['Debug<(dart_target_arch)'] | 119 'inherit_from': ['Debug<(dart_target_arch)'] |
119 }, | 120 }, |
120 | 121 |
121 'Release': { | 122 'Release': { |
122 'inherit_from': ['Release<(dart_target_arch)'] | 123 'inherit_from': ['Release<(dart_target_arch)'] |
123 }, | 124 }, |
124 }, | 125 }, |
125 }, | 126 }, |
126 } | 127 } |
OLD | NEW |