Closed Bug 952922 Opened 12 years ago Closed 12 years ago

Change Makefile rule dependencies to generate applications-data before building individual apps

Categories

(Firefox OS Graveyard :: Gaia, enhancement)

ARM
Gonk (Firefox OS)
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dmarcos, Assigned: dmarcos)

References

Details

Attachments

(1 external file)

The camera app need the data generated by the applications-data rule during the building process.
Assignee: nobody → dmarcos
Attached file Pull Request —
Attachment #8351169 - Flags: review?(yurenju.mozilla)
Comment on attachment 8351169 [details] [review] Pull Request r=yurenju, looks more reasonable, thank you Diego!
Attachment #8351169 - Flags: review?(yurenju.mozilla) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Depends on: 957857
Flags: needinfo?(jsmith)
(In reply to Diego Marcos from comment #3) > Why is this bug depending on > https://bugzilla.mozilla.org/show_bug.cgi?id=957857? See https://bugzilla.mozilla.org/show_bug.cgi?id=957857#c4. This bug was suspected for causing this regression, but looking at this further, I don't think that's possible, as this bug only landed on 1.4.
No longer depends on: 957857
Flags: needinfo?(jsmith)
Diego, Do you still need to execute applications-data.js before app-makefile? I saw you have build.js in camera/build to generate js/config.js which is same as applications-data.js.
Flags: needinfo?(dmarcos)
Yes because build/configure.js is a node script and tbpl environment doesn't have node.js. We still rely on the applications-data.js script for the tbpl builds. If you manage to make node available in tbpl then we can get rid of the camera specific code inside applications-data.js and we wouldn't care about the applications-data rule in the main Makefile. The configure.js script is just a first step to make the camera build process independent from the main Makefile.
Flags: needinfo?(dmarcos)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: