From 014dad5953a632f44e668f9527f546c6e1bb8b86 Mon Sep 17 00:00:00 2001 From: Cheng Date: Thu, 18 Jul 2024 16:39:34 +0900 Subject: [PATCH] deps: fix include_dirs of nbytes PR-URL: https://github.com/nodejs/node/pull/53862 Reviewed-By: Yagiz Nizipli Reviewed-By: Jiawen Geng Reviewed-By: James M Snell Reviewed-By: Luigi Pinca --- deps/nbytes/nbytes.gyp | 4 ++-- deps/nbytes/unofficial.gni | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deps/nbytes/nbytes.gyp b/deps/nbytes/nbytes.gyp index 1d82c3760d54e6..2b369565a282af 100644 --- a/deps/nbytes/nbytes.gyp +++ b/deps/nbytes/nbytes.gyp @@ -6,9 +6,9 @@ { 'target_name': 'nbytes', 'type': 'static_library', - 'include_dirs': ['src', 'include'], + 'include_dirs': ['include'], 'direct_dependent_settings': { - 'include_dirs': ['src', 'include'], + 'include_dirs': ['include'], }, 'sources': [ '<@(nbytes_sources)' ] }, diff --git a/deps/nbytes/unofficial.gni b/deps/nbytes/unofficial.gni index bdec67c93f1df1..2acea0d5204d04 100644 --- a/deps/nbytes/unofficial.gni +++ b/deps/nbytes/unofficial.gni @@ -9,7 +9,7 @@ import("$node_v8_path/gni/v8.gni") # prevent accidental edits from contributors. template("nbytes_gn_build") { config("nbytes_config") { - include_dirs = [ "." ] + include_dirs = [ "include" ] } gypi_values = exec_script("../../tools/gypi_to_gn.py",