| 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(vm-team): Convert old style casts to C++ casts. | |
| 12 #'-Wold-style-cast', | |
| 13 ], | 11 ], |
| 14 | 12 |
| 15 # Default value. This may be overridden in a containing project gyp. | 13 # Default value. This may be overridden in a containing project gyp. |
| 16 'target_arch%': 'ia32', | 14 'target_arch%': 'ia32', |
| 17 | 15 |
| 18 'conditions': [ | 16 'conditions': [ |
| 19 ['"<(target_arch)"=="ia32"', { 'dart_target_arch': 'IA32', }], | 17 ['"<(target_arch)"=="ia32"', { 'dart_target_arch': 'IA32', }], |
| 20 ['"<(target_arch)"=="x64"', { 'dart_target_arch': 'X64', }], | 18 ['"<(target_arch)"=="x64"', { 'dart_target_arch': 'X64', }], |
| 21 ['"<(target_arch)"=="arm"', { 'dart_target_arch': 'ARM', }], | 19 ['"<(target_arch)"=="arm"', { 'dart_target_arch': 'ARM', }], |
| 22 ['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }], | 20 ['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }], |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 'Debug': { | 141 'Debug': { |
| 144 'inherit_from': ['Debug<(dart_target_arch)'] | 142 'inherit_from': ['Debug<(dart_target_arch)'] |
| 145 }, | 143 }, |
| 146 | 144 |
| 147 'Release': { | 145 'Release': { |
| 148 'inherit_from': ['Release<(dart_target_arch)'] | 146 'inherit_from': ['Release<(dart_target_arch)'] |
| 149 }, | 147 }, |
| 150 }, | 148 }, |
| 151 }, | 149 }, |
| 152 } | 150 } |
| OLD | NEW |