| 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': { |
| 7 'dart_debug_optimization_level%': '2', |
| 8 }, |
| 6 'target_defaults': { | 9 'target_defaults': { |
| 7 'configurations': { | 10 'configurations': { |
| 11 |
| 12 'Dart_Base': { |
| 13 'xcode_settings': { |
| 14 'GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS': 'YES', # -Woverloaded-virtual |
| 15 }, |
| 16 }, |
| 17 |
| 8 'Dart_Debug': { | 18 'Dart_Debug': { |
| 9 'abstract': 1, | 19 'abstract': 1, |
| 10 'defines': [ | 20 'defines': [ |
| 11 'DEBUG', | 21 'DEBUG', |
| 12 ], | 22 ], |
| 13 }, | 23 }, |
| 24 |
| 14 'Debug': { | 25 'Debug': { |
| 15 'defines': [ | 26 'defines': [ |
| 16 'DEBUG', | 27 'DEBUG', |
| 17 ], | 28 ], |
| 18 }, | 29 }, |
| 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 }, |
| 19 }, | 61 }, |
| 20 }, | 62 }, |
| 21 } | 63 } |
| OLD | NEW |