File: v8vtune.gyp

package info (click to toggle)
nodejs 20.19.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 219,072 kB
  • sloc: cpp: 1,277,408; javascript: 565,332; ansic: 129,476; python: 58,536; sh: 3,841; makefile: 2,725; asm: 1,732; perl: 248; lisp: 222; xml: 42
file content (39 lines) | stat: -rw-r--r-- 1,216 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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_ROOT': '../../deps/v8',
    'v8_code': 1,
  },
  'includes': ['toolchain.gypi', 'features.gypi'],
  'targets': [
    {
      'target_name': 'v8_vtune',
      'type': 'static_library',
      'sources': [
        '<(V8_ROOT)/third_party/ittapi/src/ittnotify/ittnotify_config.h',
        '<(V8_ROOT)/third_party/ittapi/src/ittnotify/ittnotify_types.h',
        '<(V8_ROOT)/third_party/ittapi/src/ittnotify/jitprofiling.c',
        '<(V8_ROOT)/third_party/ittapi/include/jitprofiling.h',
        '<(V8_ROOT)/src/third_party/vtune/v8-vtune.h',
        '<(V8_ROOT)/src/third_party/vtune/vtune-jit.cc',
        '<(V8_ROOT)/src/third_party/vtune/vtune-jit.h',
      ],
      'include_dirs': [
        '<(V8_ROOT)/third_party/ittapi/include',
        '<(V8_ROOT)/third_party/ittapi/src/ittnotify',
      ],

      'direct_dependent_settings': {
        'defines': ['ENABLE_VTUNE_JIT_INTERFACE',],
        'conditions': [
          ['OS != "win"', {
            'libraries': ['-ldl',],
          }],
        ],
      },
    },
  ],
}