Chromium Code Reviews| Index: build/common.gypi |
| =================================================================== |
| --- build/common.gypi (revision 13792) |
| +++ 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, |
|
Jakob Kummerow
2013/03/07 14:46:30
Since this variable will only affect d8, it doesn'
|
| + |
| # 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',], |
|
Jakob Kummerow
2013/03/07 14:46:30
These definitions should then go into the to-be-cr
|
| + }], |
| + ['v8_enable_vtunejit==1 and OS!="win"', { |
| + 'defines': ['ENABLE_VTUNE_JIT_INTERFACE',], |
| + 'libraries': ['-ldl',], |
| + }], |
| ['v8_target_arch=="arm"', { |
| 'defines': [ |
| 'V8_TARGET_ARCH_ARM', |