Skip to content

Commit b13f24c

Browse files
build, src: fix include paths for vtune files
PR-URL: #59999 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent d52cd04 commit b13f24c

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

src/api/environment.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include "node_wasm_web_api.h"
1919
#include "uv.h"
2020
#ifdef NODE_ENABLE_VTUNE_PROFILING
21-
#include "../deps/v8/src/third_party/vtune/v8-vtune.h"
21+
#include "../deps/v8/third_party/vtune/v8-vtune.h"
2222
#endif
2323
#if HAVE_INSPECTOR
2424
#include "inspector/worker_inspector.h" // ParentInspectorHandle

src/node.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
#endif
7474

7575
#ifdef NODE_ENABLE_VTUNE_PROFILING
76-
#include "../deps/v8/src/third_party/vtune/v8-vtune.h"
76+
#include "../deps/v8/third_party/vtune/v8-vtune.h"
7777
#endif
7878

7979
#include "large_pages/node_large_page.h"

tools/v8_gypfiles/v8vtune.gyp

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,14 @@
1313
'target_name': 'v8_vtune',
1414
'type': 'static_library',
1515
'sources': [
16-
'<(V8_ROOT)/third_party/ittapi/src/ittnotify/ittnotify_config.h',
17-
'<(V8_ROOT)/third_party/ittapi/src/ittnotify/ittnotify_types.h',
1816
'<(V8_ROOT)/third_party/ittapi/src/ittnotify/jitprofiling.c',
19-
'<(V8_ROOT)/third_party/ittapi/include/jitprofiling.h',
20-
'<(V8_ROOT)/src/third_party/vtune/v8-vtune.h',
21-
'<(V8_ROOT)/src/third_party/vtune/vtune-jit.cc',
22-
'<(V8_ROOT)/src/third_party/vtune/vtune-jit.h',
17+
'<(V8_ROOT)/third_party/vtune/vtune-jit.cc',
2318
],
2419
'include_dirs': [
2520
'<(V8_ROOT)/third_party/ittapi/include',
2621
'<(V8_ROOT)/third_party/ittapi/src/ittnotify',
22+
'<(V8_ROOT)/include',
23+
'<(V8_ROOT)',
2724
],
2825

2926
'direct_dependent_settings': {

0 commit comments

Comments
 (0)