File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -88,12 +88,12 @@ See the upstream documentation for the mapping between GN and GYP flags: https:/
88
88
89
89
``` bash
90
90
cd src
91
- GYP_CHROMIUM_NO_ACTION=0 ./build/gyp_chromium -I third_party/node-nw/common.gypi third_party/node-nw/node.gyp
91
+ GYP_CHROMIUM_NO_ACTION=0 ./build/gyp_chromium -I third_party/node-nw/common.gypi -D building_nw=1 third_party/node-nw/node.gyp
92
92
```
93
93
94
94
or use the following if you're doing a component build:
95
95
``` bash
96
- ./build/gyp_chromium -D component=shared_library -I third_party/node-nw/common.gypi third_party/node-nw/node.gyp
96
+ ./build/gyp_chromium -D component=shared_library -I third_party/node-nw/common.gypi -D building_nw=1 third_party/node-nw/node.gyp
97
97
```
98
98
To change the build configuration for Node, you need to setup the GYP_DEFINES environment variable:
99
99
You can’t perform that action at this time.
0 commit comments