Closed
Bug 1028085
Opened 10 years ago
Closed 10 years ago
rewrite Makefile of camera app in javascript
Categories
(Firefox OS Graveyard :: Gaia::Build, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.0 S6 (18july)
People
(Reporter: yurenju, Assigned: yurenju)
References
Details
(Whiteboard: [p=3])
Attachments
(1 file)
we found a way to load r.js in xpcshell javascript for gaia build environment, so let rewrite it to accomplish bug 1022516.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → yurenju.mozilla
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•10 years ago
|
||
Hi djf, I'm working on this issue and have a pull request for that. Our goal is migrating build script to javascript as possible as we can, then we can get faster build process and have the compatibility to build gaia in firefox exntension. but I'm not sure if you have any concern to keep using Makefile, so I would like to get your feedback here, thanks!
Attachment #8446433 -
Flags: feedback?(dflanagan)
Comment 2•10 years ago
|
||
Comment on attachment 8446433 [details] [review] github PR: https://github.com/mozilla-b2g/gaia/pull/21023 Yuren: I don't know anything about the camera app's new build system. Diego: can you take this feedback request or pass it on to Wilson or Justin, please?
Attachment #8446433 -
Flags: feedback?(dflanagan) → feedback?(dmarcos)
Assignee | ||
Comment 3•10 years ago
|
||
discussed with Deigo on email and he wants to keep Makefile since we may use an external repository for camera app. Alex, what do you think? we may use a config file to decide executing a command for building app such as |make| or require build.js module in gaia build environment, but build system will depend on |make| which is we want to avoid.
Flags: needinfo?(poirot.alex)
Comment 4•10 years ago
|
||
The easiest to unblock you is probably to keep the current Makefile and commit your build.js script. I will rewrite the Makefile to be completely XPCSHELLSDK agnostic. What do you think?
Updated•10 years ago
|
Flags: needinfo?(yurenju.mozilla)
Assignee | ||
Comment 5•10 years ago
|
||
Comment on attachment 8446433 [details] [review] github PR: https://github.com/mozilla-b2g/gaia/pull/21023 having two ways for same purpose will take extra effort to maintain them, but it can help us solve this conflict now. I will update my pull request and send feedback request again.
Attachment #8446433 -
Flags: feedback?(dmarcos)
Flags: needinfo?(yurenju.mozilla)
Flags: needinfo?(poirot.alex)
Assignee | ||
Comment 6•10 years ago
|
||
try server: https://tbpl.mozilla.org/?rev=b8674d5d06a86edd1a1e6364f2cf7cb1705c1c64&tree=Gaia-Try
Assignee | ||
Updated•10 years ago
|
Target Milestone: --- → 2.0 S6 (18july)
Assignee | ||
Updated•10 years ago
|
Whiteboard: [p=3]
Assignee | ||
Comment 7•10 years ago
|
||
Comment on attachment 8446433 [details] [review] github PR: https://github.com/mozilla-b2g/gaia/pull/21023 Deigo, Pull request has been updated, Makefile is restored so we only added build.js for camera app, and we no longer execute app Makefile on bug 1035722. George, could you reivew this pr? and I added build.js in this pull request but didn't remove Makefile, so to verify this pr you need to remove apps/camera/Makefile to test it until bug 1035722 landed.
Attachment #8446433 -
Flags: review?(gduan)
Attachment #8446433 -
Flags: feedback?(dmarcos)
Comment 8•10 years ago
|
||
Comment on attachment 8446433 [details] [review] github PR: https://github.com/mozilla-b2g/gaia/pull/21023 LGTM, just a small nit. r=gduan
Attachment #8446433 -
Flags: review?(gduan) → review+
Assignee | ||
Comment 9•10 years ago
|
||
nit is addressed.
Updated•10 years ago
|
Attachment #8446433 -
Flags: feedback?(dmarcos) → feedback+
Assignee | ||
Comment 10•10 years ago
|
||
merged, thanks, George & Diego! https://github.com/mozilla-b2g/gaia/commit/95b340f76362cbccf29aa5d39c1ba8627b8a9eb4
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 11•10 years ago
|
||
backout and land again since I forget squash commits. https://github.com/mozilla-b2g/gaia/commit/44f2678d8c3d88f717604b0a140bcc2280bcb239
You need to log in
before you can comment on or make changes to this bug.
Description
•