Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(929)

Unified Diff: runtime/tools/gyp/runtime-configurations.gypi

Issue 11412106: Support VTune's JIT interface. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/assembler_arm.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/tools/gyp/runtime-configurations.gypi
diff --git a/runtime/tools/gyp/runtime-configurations.gypi b/runtime/tools/gyp/runtime-configurations.gypi
index 6a52f2d9c2ad4ac568b6ebb120d4c052397210cd..ce343b9b93b922b414cf77a5bd0e066e42721be6 100644
--- a/runtime/tools/gyp/runtime-configurations.gypi
+++ b/runtime/tools/gyp/runtime-configurations.gypi
@@ -8,6 +8,23 @@
# If we have not set dart_io_support to 1 in Dart's all.gypi or common.gypi,
# then do not build the native libraries supporting dart:io.
'dart_io_support%': 0,
+ # Intel VTune related variables.
+ 'dart_vtune_support%': 0,
+ 'dart_vtune_root%': '/opt/intel/vtune_amplifier_xe',
+ },
+
+ 'configurations': {
+ 'Dart_ia32_Base': {
+ 'variables': {
+ 'dart_vtune_lib_dir': '<(dart_vtune_root)/lib32',
+ }
+ },
+
+ 'Dart_x64_Base': {
+ 'variables': {
+ 'dart_vtune_lib_dir': '<(dart_vtune_root)/lib64',
+ }
+ },
},
'target_defaults': {
@@ -41,6 +58,11 @@
'xcode_settings': {
'ARCHS': [ 'i386' ],
},
+ 'conditions': [
+ ['OS=="linux" and dart_vtune_support == 1', {
+ 'ldflags': ['-L<(dart_vtune_root)/lib32'],
+ }]
+ ],
},
'Dart_x64_Base': {
@@ -48,6 +70,11 @@
'xcode_settings': {
'ARCHS': [ 'x86_64' ],
},
+ 'conditions': [
+ ['OS=="linux" and dart_vtune_support == 1', {
+ 'ldflags': ['-L<(dart_vtune_root)/lib64'],
+ }]
+ ],
},
'Dart_simarm_Base': {
« no previous file with comments | « no previous file | runtime/vm/assembler_arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698