| 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, |
| 11 # Intel VTune related variables. | 11 # Intel VTune related variables. |
| 12 'dart_vtune_support%': 0, | 12 'dart_vtune_support%': 0, |
| 13 'dart_vtune_root%': '/opt/intel/vtune_amplifier_xe', | 13 'conditions': [ |
| 14 }, | 14 ['OS=="linux"', { |
| 15 | 15 'dart_vtune_root%': '/opt/intel/vtune_amplifier_xe', |
| 16 'configurations': { | 16 }], |
| 17 'Dart_ia32_Base': { | 17 ['OS=="win"', { |
| 18 'variables': { | 18 'dart_vtune_root%': 'C:/Program Files (x86)/Intel/VTune Amplifier XE 201
3', |
| 19 'dart_vtune_lib_dir': '<(dart_vtune_root)/lib32', | 19 }], |
| 20 } | 20 ], |
| 21 }, | |
| 22 | |
| 23 'Dart_x64_Base': { | |
| 24 'variables': { | |
| 25 'dart_vtune_lib_dir': '<(dart_vtune_root)/lib64', | |
| 26 } | |
| 27 }, | |
| 28 }, | 21 }, |
| 29 | 22 |
| 30 'target_defaults': { | 23 'target_defaults': { |
| 31 'configurations': { | 24 'configurations': { |
| 32 | 25 |
| 33 'Dart_Base': { | 26 'Dart_Base': { |
| 34 'abstract': 1, | 27 'abstract': 1, |
| 35 'xcode_settings': { | 28 'xcode_settings': { |
| 36 'GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS': 'YES', # -Woverloaded-virtual | 29 'GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS': 'YES', # -Woverloaded-virtual |
| 37 }, | 30 }, |
| (...skipping 14 matching lines...) Expand all Loading... |
| 52 'DEBUG', | 45 'DEBUG', |
| 53 ], | 46 ], |
| 54 }, | 47 }, |
| 55 | 48 |
| 56 'Dart_ia32_Base': { | 49 'Dart_ia32_Base': { |
| 57 'abstract': 1, | 50 'abstract': 1, |
| 58 'xcode_settings': { | 51 'xcode_settings': { |
| 59 'ARCHS': [ 'i386' ], | 52 'ARCHS': [ 'i386' ], |
| 60 }, | 53 }, |
| 61 'conditions': [ | 54 'conditions': [ |
| 62 ['OS=="linux" and dart_vtune_support == 1', { | 55 ['OS=="linux" and dart_vtune_support==1', { |
| 63 'ldflags': ['-L<(dart_vtune_root)/lib32'], | 56 'ldflags': ['-L<(dart_vtune_root)/lib32'], |
| 64 }] | 57 }], |
| 58 ['OS=="win" and dart_vtune_support==1', { |
| 59 'msvs_settings': { |
| 60 'VCLinkerTool': { |
| 61 'AdditionalLibraryDirectories': ['<(dart_vtune_root)/lib32'], |
| 62 }, |
| 63 }, |
| 64 }], |
| 65 ], | 65 ], |
| 66 }, | 66 }, |
| 67 | 67 |
| 68 'Dart_x64_Base': { | 68 'Dart_x64_Base': { |
| 69 'abstract': 1, | 69 'abstract': 1, |
| 70 'xcode_settings': { | 70 'xcode_settings': { |
| 71 'ARCHS': [ 'x86_64' ], | 71 'ARCHS': [ 'x86_64' ], |
| 72 }, | 72 }, |
| 73 'conditions': [ | 73 'conditions': [ |
| 74 ['OS=="linux" and dart_vtune_support == 1', { | 74 ['OS=="linux" and dart_vtune_support==1', { |
| 75 'ldflags': ['-L<(dart_vtune_root)/lib64'], | 75 'ldflags': ['-L<(dart_vtune_root)/lib64'], |
| 76 }] | 76 }], |
| 77 ['OS=="win" and dart_vtune_support==1', { |
| 78 'msvs_settings': { |
| 79 'VCLinkerTool': { |
| 80 'AdditionalLibraryDirectories': ['<(dart_vtune_root)/lib32'], |
| 81 }, |
| 82 }, |
| 83 }], |
| 77 ], | 84 ], |
| 78 }, | 85 }, |
| 79 | 86 |
| 80 'Dart_simarm_Base': { | 87 'Dart_simarm_Base': { |
| 81 'abstract': 1, | 88 'abstract': 1, |
| 82 'xcode_settings': { | 89 'xcode_settings': { |
| 83 'ARCHS': [ 'i386' ], | 90 'ARCHS': [ 'i386' ], |
| 84 'GCC_OPTIMIZATION_LEVEL': '3', | 91 'GCC_OPTIMIZATION_LEVEL': '3', |
| 85 }, | 92 }, |
| 86 }, | 93 }, |
| 87 | 94 |
| 88 'Dart_Release': { | 95 'Dart_Release': { |
| 89 'abstract': 1, | 96 'abstract': 1, |
| 90 'xcode_settings': { | 97 'xcode_settings': { |
| 91 'GCC_OPTIMIZATION_LEVEL': '3', | 98 'GCC_OPTIMIZATION_LEVEL': '3', |
| 92 }, | 99 }, |
| 93 }, | 100 }, |
| 94 }, | 101 }, |
| 95 }, | 102 }, |
| 96 } | 103 } |
| OLD | NEW |