GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — build: add gn files for deps/nbytes · nodejs/node@40032eb

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • deps/nbytes
    • BUILD.gn
    • unofficial.gni
  • unofficial.gni
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎deps/nbytes/BUILD.gn‎

Copy file name to clipboard
+14Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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+
}
Collapse file

‎deps/nbytes/unofficial.gni‎

Copy file name to clipboard
+25Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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+
}
Collapse file

‎unofficial.gni‎

Copy file name to clipboardExpand all lines: unofficial.gni
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.