This is a follow up of https://github.com/nwjs/nw.js/pull/8134 which turned out to be an incorrect fix. This PR will allow nw-builder to build node native addons (directly via node-gyp using NW.js node headers) using Python 3. Since only ICU requires v8_host_byteorder, I have moved it there. After making these changes, I am able to successfully build Node. I'm planning to submit a test case for this in a subsequent PR.
Description
Depends on https://github.com/nwjs/node/pull/58.
This is a follow up of https://github.com/nwjs/nw.js/pull/8134 which turned out to be an incorrect fix. This PR will allow nw-builder to build node native addons (directly via node-gyp using NW.js node headers) using Python 3. Since only ICU requires
v8_host_byteorder
, I have moved it there. After making these changes, I am able to successfully build Node. I'm planning to submit a test case for this in a subsequent PR.