build, src: fix include paths for vtune files

PR-URL: https://github.com/nodejs/node/pull/59999
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
Rahul 2025-10-07 12:04:32 -07:00 committed by GitHub
parent d52cd04591
commit b13f24c2da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 8 deletions

View File

@ -18,7 +18,7 @@
#include "node_wasm_web_api.h"
#include "uv.h"
#ifdef NODE_ENABLE_VTUNE_PROFILING
#include "../deps/v8/src/third_party/vtune/v8-vtune.h"
#include "../deps/v8/third_party/vtune/v8-vtune.h"
#endif
#if HAVE_INSPECTOR
#include "inspector/worker_inspector.h" // ParentInspectorHandle

View File

@ -73,7 +73,7 @@
#endif
#ifdef NODE_ENABLE_VTUNE_PROFILING
#include "../deps/v8/src/third_party/vtune/v8-vtune.h"
#include "../deps/v8/third_party/vtune/v8-vtune.h"
#endif
#include "large_pages/node_large_page.h"

View File

@ -13,17 +13,14 @@
'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',
'<(V8_ROOT)/third_party/vtune/vtune-jit.cc',
],
'include_dirs': [
'<(V8_ROOT)/third_party/ittapi/include',
'<(V8_ROOT)/third_party/ittapi/src/ittnotify',
'<(V8_ROOT)/include',
'<(V8_ROOT)',
],
'direct_dependent_settings': {