| OLD | NEW |
| 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2011, 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': { | |
| 7 'dart_debug_optimization_level%': '2', | |
| 8 }, | |
| 9 'target_defaults': { | 6 'target_defaults': { |
| 10 'configurations': { | 7 'configurations': { |
| 11 | |
| 12 'Dart_Base': { | |
| 13 'xcode_settings': { | |
| 14 'GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS': 'YES', # -Woverloaded-virtual | |
| 15 }, | |
| 16 }, | |
| 17 | |
| 18 'Dart_Debug': { | 8 'Dart_Debug': { |
| 19 'abstract': 1, | 9 'abstract': 1, |
| 20 'defines': [ | 10 'defines': [ |
| 21 'DEBUG', | 11 'DEBUG', |
| 22 ], | 12 ], |
| 23 }, | 13 }, |
| 24 | |
| 25 'Debug': { | 14 'Debug': { |
| 26 'defines': [ | 15 'defines': [ |
| 27 'DEBUG', | 16 'DEBUG', |
| 28 ], | 17 ], |
| 29 }, | 18 }, |
| 30 | |
| 31 'Dart_ia32_Base': { | |
| 32 'xcode_settings': { | |
| 33 'ARCHS': [ 'i386' ], | |
| 34 }, | |
| 35 }, | |
| 36 | |
| 37 'Dart_x64_Base': { | |
| 38 'xcode_settings': { | |
| 39 'ARCHS': [ 'x86_64' ], | |
| 40 }, | |
| 41 }, | |
| 42 | |
| 43 'Dart_simarm_Base': { | |
| 44 'xcode_settings': { | |
| 45 'ARCHS': [ 'i386' ], | |
| 46 'GCC_OPTIMIZATION_LEVEL': '3', | |
| 47 }, | |
| 48 }, | |
| 49 | |
| 50 'Dart_Debug': { | |
| 51 'xcode_settings': { | |
| 52 'GCC_OPTIMIZATION_LEVEL': '<(dart_debug_optimization_level)', | |
| 53 }, | |
| 54 }, | |
| 55 | |
| 56 'Dart_Release': { | |
| 57 'xcode_settings': { | |
| 58 'GCC_OPTIMIZATION_LEVEL': '3', | |
| 59 }, | |
| 60 }, | |
| 61 }, | 19 }, |
| 62 }, | 20 }, |
| 63 } | 21 } |
| OLD | NEW |