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

Unified Diff: build/common.gypi

Issue 10824032: Enables V8 integration with the Intel VTune performance analysis tool. This allows the VTune profi… (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 5 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 | « SConstruct ('k') | src/SConscript » ('j') | src/assembler.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
===================================================================
--- build/common.gypi (revision 12182)
+++ build/common.gypi (working copy)
@@ -73,6 +73,8 @@
'v8_enable_gdbjit%': 0,
+ 'v8_enable_vtunejit%': 0,
+
# Enable profiling support. Only required on Windows.
'v8_enable_prof%': 0,
@@ -86,6 +88,7 @@
'v8_use_snapshot%': 'true',
'host_os%': '<(OS)',
'v8_use_liveobjectlist%': 'false',
+ #'werror%': '',
'werror%': '-Werror',
# With post mortem support enabled, metadata is embedded into libv8 that
@@ -117,6 +120,15 @@
['v8_interpreted_regexp==1', {
'defines': ['V8_INTERPRETED_REGEXP',],
}],
+ ['v8_enable_vtunejit==1', {
+ 'conditions': [
+ ['v8_target_arch=="ia32" or v8_target_arch=="x64"', {
+ 'defines': ['ENABLE_VTUNE_JIT_INTERFACE',],
+ 'libraries': ['-ldl',],
+#dw -ljitprofiling',],
+ }],
+ ],
+ }],
['v8_target_arch=="arm"', {
'defines': [
'V8_TARGET_ARCH_ARM',
« no previous file with comments | « SConstruct ('k') | src/SConscript » ('j') | src/assembler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698