| 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 # If we have not set dart_io_support to 1 in Dart's all.gypi or common.gypi, | 8 # If we have not set dart_io_support to 1 in Dart's all.gypi or common.gypi, |
| 9 # then do not build the native libraries supporting dart:io. | 9 # then do not build the native libraries supporting dart:io. |
| 10 'dart_io_support%': 0, | 10 'dart_io_support%': 0, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 'target_defaults': { | 24 'target_defaults': { |
| 25 'configurations': { | 25 'configurations': { |
| 26 | 26 |
| 27 'Dart_Base': { | 27 'Dart_Base': { |
| 28 'abstract': 1, | 28 'abstract': 1, |
| 29 'xcode_settings': { | 29 'xcode_settings': { |
| 30 'GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS': 'YES', # -Woverloaded-virtual | 30 'GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS': 'YES', # -Woverloaded-virtual |
| 31 }, | 31 }, |
| 32 }, | 32 }, |
| 33 | 33 |
| 34 'Dart_Debug': { | |
| 35 'abstract': 1, | |
| 36 'defines': [ | |
| 37 'DEBUG', | |
| 38 ], | |
| 39 'xcode_settings': { | |
| 40 'GCC_OPTIMIZATION_LEVEL': '<(dart_debug_optimization_level)', | |
| 41 }, | |
| 42 }, | |
| 43 | |
| 44 'Debug': { | |
| 45 'defines': [ | |
| 46 'DEBUG', | |
| 47 ], | |
| 48 }, | |
| 49 | |
| 50 'Dart_ia32_Base': { | 34 'Dart_ia32_Base': { |
| 51 'abstract': 1, | 35 'abstract': 1, |
| 52 'xcode_settings': { | 36 'xcode_settings': { |
| 53 'ARCHS': [ 'i386' ], | 37 'ARCHS': [ 'i386' ], |
| 54 }, | 38 }, |
| 55 'conditions': [ | 39 'conditions': [ |
| 56 ['OS=="linux" and dart_vtune_support==1', { | 40 ['OS=="linux" and dart_vtune_support==1', { |
| 57 'ldflags': ['-L<(dart_vtune_root)/lib32'], | 41 'ldflags': ['-L<(dart_vtune_root)/lib32'], |
| 58 }], | 42 }], |
| 59 ['OS=="win" and dart_vtune_support==1', { | 43 ['OS=="win" and dart_vtune_support==1', { |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 }, | 90 }, |
| 107 }, | 91 }, |
| 108 | 92 |
| 109 'Dart_simmips_Base': { | 93 'Dart_simmips_Base': { |
| 110 'abstract': 1, | 94 'abstract': 1, |
| 111 'xcode_settings': { | 95 'xcode_settings': { |
| 112 'ARCHS': [ 'i386' ], | 96 'ARCHS': [ 'i386' ], |
| 113 }, | 97 }, |
| 114 }, | 98 }, |
| 115 | 99 |
| 100 'Dart_Debug': { |
| 101 'abstract': 1, |
| 102 'defines': [ |
| 103 'DEBUG', |
| 104 ], |
| 105 'xcode_settings': { |
| 106 'GCC_OPTIMIZATION_LEVEL': '<(dart_debug_optimization_level)', |
| 107 }, |
| 108 }, |
| 109 |
| 110 'Debug': { |
| 111 'defines': [ |
| 112 'DEBUG', |
| 113 ], |
| 114 }, |
| 115 |
| 116 'Dart_Release': { | 116 'Dart_Release': { |
| 117 'abstract': 1, | 117 'abstract': 1, |
| 118 'xcode_settings': { | 118 'xcode_settings': { |
| 119 'GCC_OPTIMIZATION_LEVEL': '3', | 119 'GCC_OPTIMIZATION_LEVEL': '3', |
| 120 }, | 120 }, |
| 121 }, | 121 }, |
| 122 |
| 123 'Dart_Product' : { |
| 124 'abstract': 1, |
| 125 'xcode_settings': { |
| 126 'GCC_OPTIMIZATION_LEVEL': '3', |
| 127 } |
| 128 }, |
| 122 }, | 129 }, |
| 123 }, | 130 }, |
| 124 } | 131 } |
| OLD | NEW |