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