Closed Bug 1131521 Opened 9 years ago Closed 8 years ago

Running r-wrapper.js on node.js

Categories

(Firefox OS Graveyard :: Gaia::Build, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rickychien, Assigned: rickychien)

References

Details

Attachments

(1 file)

      No description provided.
Priority: -- → P1
Assignee: nobody → rchien
Status: NEW → ASSIGNED
Comment on attachment 8709327 [details] [review]
[gaia] rickychien:r-wrapper-to-nodejs > mozilla-b2g:master

Here is a large patch (may be?) for build part changes. As you can see I removed build/r-wrapper.js and build/shared-utils.js from Gaia and move those logics to app's build scripts.

It has been verified on my environment and node-build-diff.sh but you could check that again and feedback any problems if you see.
Attachment #8709327 - Flags: review?(scwwu)
(In reply to Ricky Chien [:rickychien] from comment #2)
> Here is a large patch (may be?) for build part changes. As you can see I
> removed build/r-wrapper.js and build/shared-utils.js from Gaia and move
> those logics to app's build scripts.

For why I removed build/r-wrapper.js and build/shared-utils.js because I ran into some problems in xpcshell modules system (define at build/xpcshell-commonjs.js) when I was trying to require('./utils'); from app's build script.
However, I don't really want to dig into it since that part is going to be deprecated soon. As a result, I prefer to just extracted them and do a little bit of refactoring handily.
Comment on attachment 8709327 [details] [review]
[gaia] rickychien:r-wrapper-to-nodejs > mozilla-b2g:master

Tested fine on device and diff looks normal. r+
Attachment #8709327 - Flags: review?(scwwu) → review+
Landed in master:

https://github.com/mozilla-b2g/gaia/commit/e7232404b35502badcb8b97480788a41df2a3577
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: