Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nw19 gyp build #10

Open
wants to merge 27 commits into
base: nw19
Choose a base branch
from
Open

Nw19 gyp build #10

wants to merge 27 commits into from

Conversation

jtg-gg
Copy link
Member

@jtg-gg jtg-gg commented Oct 26, 2016

Roger Wang

I propose of copying the chromium build folder into node
and use the common.gypi there

I need to make nwjs build for arm, I usually use cross compile method with linux x64 as the host
the current simplified common.gypi does not work, too many dependencies are needed
so copying the whole build folder is better

I've tested my pull request on win / mac / linux
should be working fine

the only different, when calling build/gyp_chromium use
-I src/third_party/node/build/common.gypi

Jefry

rogerwang and others added 24 commits November 3, 2016 12:22
run nw as node

decouple node dll

add g_dom_context

new mac loop

fixup! chromium-integration

fixup! new mac loop

fix process.title

enter node's context before callback

chain PromiseRejectCallback
fixup! fix allocator
Or we'll have loop in the list when the async req
is inserted again by uv_async_send_nw

Fix nwjs/nw.js#2332
src\third_party\node\src\node_revert.cc(15) : warning C4065: switch statement contains 'default' but no 'case' labels
Strings in DOM may be converted to two bytes representation, which
should be processed as array of `uint16_t` when decoding hex or
base64.

base64 decoding in Node.js can fallback to a slow implementation
to skip invalid characters (i.e. `\0` in this case). This patch
can also keep base64 decoding running under the fast implementation.

fixed nwjs/nw.js#5069
'component' was defined within NW.js building procedure. However it
wasn't defined until including 'common.gypi' when building addons.
Conditions within 'variables' cannot use variable within the same
level. Moving conditions to 'target_defaults' will make 'component'
defined before evaluating the conditions, to prevent addon building
failures.

fixed nwjs/nw-gyp#96
@rogerwang
Copy link
Member

Do we need all the files in build folder? I think only a small portion of it is needed.

@jtg-gg
Copy link
Member Author

jtg-gg commented Nov 7, 2016

I haven't have time to check all the gyp/gypi dependencies
but I think we need most of the file, for cross compilation / comilation to arm, and other platforms

@rogerwang rogerwang force-pushed the nw19 branch 3 times, most recently from e5b22d5 to ccefbea Compare November 14, 2016 06:33
@rogerwang rogerwang force-pushed the nw19 branch 2 times, most recently from b8beeac to 89d99fc Compare November 24, 2016 01:51
@rogerwang rogerwang force-pushed the nw19 branch 3 times, most recently from c5eaeec to c183b55 Compare December 11, 2016 07:05
@rogerwang rogerwang force-pushed the nw19 branch 2 times, most recently from f0649e9 to 78766fc Compare January 8, 2017 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants