Index: content/content.gyp |
=================================================================== |
--- content/content.gyp (revision 198373) |
+++ content/content.gyp (working copy) |
@@ -5,6 +5,7 @@ |
{ |
'variables': { |
'chromium_code': 1, # Use higher warning level. |
+ 'chromium_enable_vtunejit_for_v8%': 0, # enable the vtune support for V8 engine. |
'directxsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/directxsdk)', |
'conditions': [ |
['inside_chromium_build==0', { |
@@ -171,6 +172,13 @@ |
'content_common', |
'content_resources.gyp:content_resources', |
], |
+ 'conditions': [ |
+ ['chromium_enable_vtunejit_for_v8==1', { |
+ 'dependencies': [ |
+ '../v8/src/third_party/vtune/v8vtune.gyp:v8_vtune', |
+ ], |
+ }], |
+ ], |
}, |
{ |
'target_name': 'content_utility', |
@@ -213,6 +221,11 @@ |
'<(DEPTH)/third_party/mach_override/mach_override.gyp:mach_override', |
], |
}], |
+ ['chromium_enable_vtunejit_for_v8==1', { |
+ 'dependencies': [ |
+ '../v8/src/third_party/vtune/v8vtune.gyp:v8_vtune', |
+ ], |
+ }], |
], |
'includes': [ |
'content_app.gypi', |