File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ new file mode 100644
1010index 0000000000000000000000000000000000000000..ec06e14dd327cdf89dc6fd584b6972ae64311ea0
1111--- /dev/null
1212+++ b/BUILD.gn
13- @@ -0,0 +1,370 @@
13+ @@ -0,0 +1,357 @@
1414+ import("//electron/build/asar.gni")
1515+ import("//v8/gni/v8.gni")
1616+
@@ -88,28 +88,15 @@ index 0000000000000000000000000000000000000000..ec06e14dd327cdf89dc6fd584b6972ae
8888+ ":generate_config_gypi",
8989+ ":node_js2c_inputs",
9090+ ]
91- +
92- + macro_inputs = []
93- + if (!node_use_dtrace && !node_use_etw) {
94- + macro_inputs += [ "tools/js2c_macros/notrace_macros.py" ]
95- + }
96- + if (node_debug_lib) {
97- + macro_inputs += [ "tools/js2c_macros/nodcheck_macros.py" ]
98- + } else {
99- + macro_inputs += [ "tools/js2c_macros/dcheck_macros.py" ]
100- + }
101- + macro_inputs += [ "tools/js2c_macros/check_macros.py" ]
102- +
10391+ config_gypi = [ "$target_gen_dir/config.gypi" ]
104- +
105- + inputs = library_files + macro_inputs + config_gypi
92+ + inputs = library_files + config_gypi
10693+ outputs = [
10794+ "$target_gen_dir/node_javascript.cc",
10895+ ]
10996+
11097+ cwd = "$target_gen_dir/js2c_inputs"
11198+ script = "tools/js2c.py"
112- + args = library_files + rebase_path(macro_inputs + config_gypi) + ["--target"] + rebase_path(outputs)
99+ + args = library_files + rebase_path(config_gypi) + ["--target"] + rebase_path(outputs)
113100+ }
114101+
115102+ config("node_features") {
You can’t perform that action at this time.
0 commit comments