File tree Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ # #############################################################################
2+ # #
3+ # DO NOT EDIT THIS FILE! #
4+ # #
5+ # #############################################################################
6+
7+ # This file is used by GN for building, which is NOT the build system used for
8+ # building official binaries.
9+ # Please modify the gyp files if you are making changes to build system.
10+
11+ import (" unofficial.gni" )
12+
13+ nbytes_gn_build (" nbytes" ) {
14+ }
Original file line number Diff line number Diff line change 1+ # This file is used by GN for building, which is NOT the build system used for
2+ # building official binaries.
3+ # Please edit the gyp files if you are making changes to build system.
4+
5+ import (" ../../node.gni" )
6+ import (" $node_v8_path /gni/v8.gni" )
7+
8+ # The actual configurations are put inside a template in unofficial.gni to
9+ # prevent accidental edits from contributors.
10+ template (" nbytes_gn_build" ) {
11+ config (" nbytes_config" ) {
12+ include_dirs = [ " ." ]
13+ }
14+
15+ gypi_values = exec_script (" ../../tools/gypi_to_gn.py" ,
16+ [ rebase_path (" nbytes.gyp" ) ],
17+ " scope" ,
18+ [ " nbytes.gyp" ])
19+
20+ source_set (target_name ) {
21+ forward_variables_from (invoker , " *" )
22+ public_configs = [ " :nbytes_config" ]
23+ sources = gypi_values .nbytes_sources
24+ }
25+ }
Original file line number Diff line number Diff line change @@ -148,6 +148,7 @@ template("node_gn_build") {
148148 " deps/cares" ,
149149 " deps/histogram" ,
150150 " deps/llhttp" ,
151+ " deps/nbytes" ,
151152 " deps/nghttp2" ,
152153 " deps/ngtcp2" ,
153154 " deps/postject" ,
@@ -331,6 +332,7 @@ template("node_gn_build") {
331332 " :libnode" ,
332333 " deps/googletest" ,
333334 " deps/googletest:gtest_main" ,
335+ " deps/nbytes" ,
334336 " deps/simdutf" ,
335337 ]
336338
You can’t perform that action at this time.
0 commit comments