mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
014dad5953
PR-URL: https://github.com/nodejs/node/pull/53862 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
26 lines
817 B
Plaintext
26 lines
817 B
Plaintext
# This file is used by GN for building, which is NOT the build system used for
|
|
# building official binaries.
|
|
# Please edit the gyp files if you are making changes to build system.
|
|
|
|
import("../../node.gni")
|
|
import("$node_v8_path/gni/v8.gni")
|
|
|
|
# The actual configurations are put inside a template in unofficial.gni to
|
|
# prevent accidental edits from contributors.
|
|
template("nbytes_gn_build") {
|
|
config("nbytes_config") {
|
|
include_dirs = [ "include" ]
|
|
}
|
|
|
|
gypi_values = exec_script("../../tools/gypi_to_gn.py",
|
|
[ rebase_path("nbytes.gyp") ],
|
|
"scope",
|
|
[ "nbytes.gyp" ])
|
|
|
|
source_set(target_name) {
|
|
forward_variables_from(invoker, "*")
|
|
public_configs = [ ":nbytes_config" ]
|
|
sources = gypi_values.nbytes_sources
|
|
}
|
|
}
|