Closed Bug 879492 Opened 8 years ago Closed 8 years ago
Make a B2GBuild class that stage-update
.py can use, which doesn't require mozbase
The B2G build process currently uses stage-update.py, which uses B2GInstance, which has a mozdevice dependency (and therefore a moznetwork dependency on mozilla-central). This is inconvenient because the build system doesn't have a virtualenv for pulling in these dependencies. The only parts of B2GInstance that stage-update.py uses are those which related to build setup; it doesn't use mozdevice-related functionality. We can address this problem by separating out the build-configuration parts of B2GInstance into a separate B2GBuild class, and letting B2GInstance inherit from that.
This is basically just a refactor that exposes parts of B2GInstance without dependencies. Pushed to try: https://tbpl.mozilla.org/?tree=Try&rev=3fd1e41b6ba2.
Comment on attachment 758203 [details] [diff] [review] Add a B2GBuild class to Marionette, Try is green.
Attachment #758203 - Flags: review?(aki)
Attachment #758203 - Flags: review?(aki) → review+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.