summaryrefslogtreecommitdiff
path: root/tools/v8_gypfiles/broken/v8vtune.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/v8_gypfiles/broken/v8vtune.gyp')
-rw-r--r--tools/v8_gypfiles/broken/v8vtune.gyp36
1 files changed, 36 insertions, 0 deletions
diff --git a/tools/v8_gypfiles/broken/v8vtune.gyp b/tools/v8_gypfiles/broken/v8vtune.gyp
new file mode 100644
index 0000000000..2a756d4b80
--- /dev/null
+++ b/tools/v8_gypfiles/broken/v8vtune.gyp
@@ -0,0 +1,36 @@
+# Copyright 2012 the V8 project authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'variables': {
+ 'v8_code': 1,
+ },
+ 'includes': ['toolchain.gypi', 'features.gypi'],
+ 'targets': [
+ {
+ 'target_name': 'v8_vtune',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'v8.gyp:v8',
+ ],
+ 'sources': [
+ '../src/third_party/vtune/ittnotify_config.h',
+ '../src/third_party/vtune/ittnotify_types.h',
+ '../src/third_party/vtune/jitprofiling.cc',
+ '../src/third_party/vtune/jitprofiling.h',
+ '../src/third_party/vtune/v8-vtune.h',
+ '../src/third_party/vtune/vtune-jit.cc',
+ '../src/third_party/vtune/vtune-jit.h',
+ ],
+ 'direct_dependent_settings': {
+ 'defines': ['ENABLE_VTUNE_JIT_INTERFACE',],
+ 'conditions': [
+ ['OS != "win"', {
+ 'libraries': ['-ldl',],
+ }],
+ ],
+ },
+ },
+ ],
+}