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