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 # Optionally use separate host toolset for compiling dart. |
| 22 'dart_want_separate_host_toolset': 0, |
| 23 |
| 24 'conditions': [ |
| 25 [ 'OS=="android"', { 'dart_want_separate_host_toolset': 1}] |
| 26 ], |
| 27 |
21 'conditions': [ | 28 'conditions': [ |
22 ['"<(target_arch)"=="ia32"', { 'dart_target_arch': 'IA32', }], | 29 ['"<(target_arch)"=="ia32"', { 'dart_target_arch': 'IA32', }], |
23 ['"<(target_arch)"=="x64"', { 'dart_target_arch': 'X64', }], | 30 ['"<(target_arch)"=="x64"', { 'dart_target_arch': 'X64', }], |
24 ['"<(target_arch)"=="arm"', { 'dart_target_arch': 'ARM', }], | 31 ['"<(target_arch)"=="arm"', { 'dart_target_arch': 'ARM', }], |
25 ['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }], | 32 ['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }], |
26 ], | 33 ], |
27 }, | 34 }, |
28 'conditions': [ | 35 'conditions': [ |
29 [ 'OS=="linux"', { 'includes': [ 'configurations_make.gypi', ], } ], | 36 [ 'OS=="linux"', { 'includes': [ 'configurations_make.gypi', ], } ], |
30 [ 'OS=="mac"', { 'includes': [ 'configurations_xcode.gypi', ], } ], | 37 [ 'OS=="mac"', { 'includes': [ 'configurations_xcode.gypi', ], } ], |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 'Debug': { | 124 'Debug': { |
118 'inherit_from': ['Debug<(dart_target_arch)'] | 125 'inherit_from': ['Debug<(dart_target_arch)'] |
119 }, | 126 }, |
120 | 127 |
121 'Release': { | 128 'Release': { |
122 'inherit_from': ['Release<(dart_target_arch)'] | 129 'inherit_from': ['Release<(dart_target_arch)'] |
123 }, | 130 }, |
124 }, | 131 }, |
125 }, | 132 }, |
126 } | 133 } |
OLD | NEW |