| 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',
|
|
|