| 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', |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 | 361 |
| 362 # These targets assume that target_arch is passed in explicitly | 362 # These targets assume that target_arch is passed in explicitly |
| 363 # by the containing project (e.g., chromium). | 363 # by the containing project (e.g., chromium). |
| 364 'Debug': { | 364 'Debug': { |
| 365 'inherit_from': ['Debug<(chrome_target_os)<(dart_target_arch)'] | 365 'inherit_from': ['Debug<(chrome_target_os)<(dart_target_arch)'] |
| 366 }, | 366 }, |
| 367 | 367 |
| 368 'Release': { | 368 'Release': { |
| 369 'inherit_from': ['Release<(chrome_target_os)<(dart_target_arch)'] | 369 'inherit_from': ['Release<(chrome_target_os)<(dart_target_arch)'] |
| 370 }, | 370 }, |
| 371 |
| 372 'conditions': [ |
| 373 # On Windows ninja generator has hardcorded configuration naming |
| 374 # patterns and it expects that x64 configurations are named smth_x64. |
| 375 # This is a workaround for the crash that these expectations cause. |
| 376 [ 'OS=="win" and GENERATOR=="ninja"', { |
| 377 'DebugX64_x64': { |
| 378 'inherit_from': [ 'DebugX64' ] |
| 379 }, |
| 380 |
| 381 'ReleaseX64_x64': { |
| 382 'inherit_from': [ 'ReleaseX64' ] |
| 383 }, |
| 384 }], |
| 385 ], |
| 371 }, | 386 }, |
| 372 }, | 387 }, |
| 373 } | 388 } |
| OLD | NEW |