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

Unified Diff: content/content.gyp

Issue 14630005: This patch is to enable the vtune profiling tool support in chrome. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 7 months 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 | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698