| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'variables': { | |
| 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, | |
| 9 # then do not build the native libraries supporting dart:io. | |
| 10 'dart_io_support%': 0, | |
| 11 'dart_io_secure_socket%': 1, | |
| 12 'asan%': 0, | |
| 13 'msan%': 0, | |
| 14 'tsan%': 0, | |
| 15 # Intel VTune related variables. | |
| 16 'dart_vtune_support%': 0, | |
| 17 'conditions': [ | |
| 18 ['OS=="linux"', { | |
| 19 'dart_vtune_root%': '/opt/intel/vtune_amplifier_xe', | |
| 20 }], | |
| 21 ['OS=="win"', { | |
| 22 'dart_vtune_root%': 'C:/Program Files (x86)/Intel/VTune Amplifier XE 201
3', | |
| 23 }], | |
| 24 ], | |
| 25 }, | |
| 26 | |
| 27 'target_defaults': { | |
| 28 'configurations': { | |
| 29 | |
| 30 'Dart_Base': { | |
| 31 'abstract': 1, | |
| 32 'xcode_settings': { | |
| 33 'GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS': 'YES', # -Woverloaded-virtual | |
| 34 }, | |
| 35 }, | |
| 36 | |
| 37 'Dart_ia32_Base': { | |
| 38 'abstract': 1, | |
| 39 'xcode_settings': { | |
| 40 'ARCHS': [ 'i386' ], | |
| 41 }, | |
| 42 'conditions': [ | |
| 43 ['OS=="linux" and dart_vtune_support==1', { | |
| 44 'ldflags': ['-L<(dart_vtune_root)/lib32'], | |
| 45 }], | |
| 46 ['OS=="win" and dart_vtune_support==1', { | |
| 47 'msvs_settings': { | |
| 48 'VCLinkerTool': { | |
| 49 'AdditionalLibraryDirectories': ['<(dart_vtune_root)/lib32'], | |
| 50 }, | |
| 51 }, | |
| 52 }], | |
| 53 ], | |
| 54 }, | |
| 55 | |
| 56 'Dart_x64_Base': { | |
| 57 'abstract': 1, | |
| 58 'xcode_settings': { | |
| 59 'ARCHS': [ 'x86_64' ], | |
| 60 }, | |
| 61 'conditions': [ | |
| 62 ['OS=="linux" and dart_vtune_support==1', { | |
| 63 'ldflags': ['-L<(dart_vtune_root)/lib64'], | |
| 64 }], | |
| 65 ['OS=="win" and dart_vtune_support==1', { | |
| 66 'msvs_settings': { | |
| 67 'VCLinkerTool': { | |
| 68 'AdditionalLibraryDirectories': ['<(dart_vtune_root)/lib32'], | |
| 69 }, | |
| 70 }, | |
| 71 }], | |
| 72 ], | |
| 73 }, | |
| 74 | |
| 75 'Dart_simarm_Base': { | |
| 76 'abstract': 1, | |
| 77 'xcode_settings': { | |
| 78 'ARCHS': [ 'i386' ], | |
| 79 }, | |
| 80 }, | |
| 81 | |
| 82 'Dart_simarmv6_Base': { | |
| 83 'abstract': 1, | |
| 84 'xcode_settings': { | |
| 85 'ARCHS': [ 'i386' ], | |
| 86 }, | |
| 87 }, | |
| 88 | |
| 89 'Dart_simarmv5te_Base': { | |
| 90 'abstract': 1, | |
| 91 'xcode_settings': { | |
| 92 'ARCHS': [ 'i386' ], | |
| 93 }, | |
| 94 }, | |
| 95 | |
| 96 'Dart_Debug': { | |
| 97 'abstract': 1, | |
| 98 'defines': [ | |
| 99 'DEBUG', | |
| 100 ], | |
| 101 'xcode_settings': { | |
| 102 'GCC_OPTIMIZATION_LEVEL': '<(dart_debug_optimization_level)', | |
| 103 }, | |
| 104 }, | |
| 105 | |
| 106 'Debug': { | |
| 107 'defines': [ | |
| 108 'DEBUG', | |
| 109 ], | |
| 110 }, | |
| 111 | |
| 112 'Dart_Release': { | |
| 113 'abstract': 1, | |
| 114 'xcode_settings': { | |
| 115 'GCC_OPTIMIZATION_LEVEL': '3', | |
| 116 }, | |
| 117 }, | |
| 118 | |
| 119 'Dart_Product' : { | |
| 120 'abstract': 1, | |
| 121 'xcode_settings': { | |
| 122 'GCC_OPTIMIZATION_LEVEL': '3', | |
| 123 } | |
| 124 }, | |
| 125 }, | |
| 126 }, | |
| 127 } | |
| OLD | NEW |