Index: build/common.gypi |
=================================================================== |
--- build/common.gypi (revision 13696) |
+++ build/common.gypi (working copy) |
@@ -86,6 +86,9 @@ |
'v8_object_print%': 0, |
+ # Enable support for Intel VTune. Supported on ia32/x64 only |
+ 'v8_enable_vtunejit%': 0, |
+ |
# Enable profiling support. Only required on Windows. |
'v8_enable_prof%': 0, |
@@ -137,6 +140,13 @@ |
['v8_interpreted_regexp==1', { |
'defines': ['V8_INTERPRETED_REGEXP',], |
}], |
+ ['v8_enable_vtunejit==1 and OS=="win"', { |
+ 'defines': ['ENABLE_VTUNE_JIT_INTERFACE',], |
+ }], |
+ ['v8_enable_vtunejit==1 and OS!="win"', { |
+ 'defines': ['ENABLE_VTUNE_JIT_INTERFACE',], |
+ 'libraries': ['-ldl',], |
+ }], |
['v8_target_arch=="arm"', { |
'defines': [ |
'V8_TARGET_ARCH_ARM', |