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 configurations for simdjson · nodejs/node@5849f09

File tree

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

‎deps/simdjson/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+
simdjson_gn_build("simdjson") {
14+
}
Collapse file

‎deps/simdjson/unofficial.gni‎

Copy file name to clipboard
+22Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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+
# The actual configurations are put inside a template in unofficial.gni to
6+
# prevent accidental edits from contributors.
7+
template("simdjson_gn_build") {
8+
config("simdjson_config") {
9+
include_dirs = [ "." ]
10+
}
11+
12+
gypi_values = exec_script("../../tools/gypi_to_gn.py",
13+
[ rebase_path("simdjson.gyp") ],
14+
"scope",
15+
[ "simdjson.gyp" ])
16+
17+
source_set(target_name) {
18+
forward_variables_from(invoker, "*")
19+
public_configs = [ ":simdjson_config" ]
20+
sources = gypi_values.simdjson_sources
21+
}
22+
}
Collapse file

‎unofficial.gni‎

Copy file name to clipboardExpand all lines: unofficial.gni
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ template("node_gn_build") {
159159
"deps/nghttp2",
160160
"deps/ngtcp2",
161161
"deps/postject",
162+
"deps/simdjson",
162163
"deps/simdutf",
163164
"deps/uvwasi",
164165
"//third_party/zlib",

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.