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