| OLD | NEW |
| 1 # Copyright (c) 2011, 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 |
| 18 # Don't use separate host toolset for compiling V8. |
| 19 'want_separate_host_toolset': 0, |
| 17 }, | 20 }, |
| 18 'conditions': [ | 21 'conditions': [ |
| 19 [ 'OS=="linux"', { 'includes': [ 'configurations_make.gypi', ], } ], | 22 [ 'OS=="linux"', { 'includes': [ 'configurations_make.gypi', ], } ], |
| 20 [ 'OS=="mac"', { 'includes': [ 'configurations_xcode.gypi', ], } ], | 23 [ 'OS=="mac"', { 'includes': [ 'configurations_xcode.gypi', ], } ], |
| 21 [ 'OS=="win"', { 'includes': [ 'configurations_msvs.gypi', ], } ], | 24 [ 'OS=="win"', { 'includes': [ 'configurations_msvs.gypi', ], } ], |
| 22 ], | 25 ], |
| 23 'target_defaults': { | 26 'target_defaults': { |
| 24 'default_configuration': 'Debug_ia32', | 27 'default_configuration': 'Debug_ia32', |
| 25 'configurations': { | 28 'configurations': { |
| 26 'Dart_Base': { | 29 'Dart_Base': { |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 'Debug': { | 120 'Debug': { |
| 118 'inherit_from': ['Debug_<(target_arch)'] | 121 'inherit_from': ['Debug_<(target_arch)'] |
| 119 }, | 122 }, |
| 120 | 123 |
| 121 'Release': { | 124 'Release': { |
| 122 'inherit_from': ['Release_<(target_arch)'] | 125 'inherit_from': ['Release_<(target_arch)'] |
| 123 }, | 126 }, |
| 124 }, | 127 }, |
| 125 }, | 128 }, |
| 126 } | 129 } |
| OLD | NEW |