mozilla

Compare Revisions

Preparing for your first B2G build

Change Revisions

Revision 379339:

Revision 379339 by gsvelto on

Revision 380887:

Revision 380887 by Gerv on

Title:
Preparing for your first B2G build
Preparing for your first B2G build
Slug:
Mozilla/Firefox_OS/Preparing_for_your_first_B2G_build
Mozilla/Firefox_OS/Preparing_for_your_first_B2G_build
Tags:
"B2G", "Firefox OS", "Build documentation"
"B2G", "Firefox OS", "Build documentation"
Content:

Revision 379339
Revision 380887
n105    <div>n
106      &nbsp;
107    </div>
n112      <strong>Note:</strong> If for any reason you want to build n109      <strong>Note:</strong> If for any reason you want to build 
>against a specific version of Gecko, see {{anch("Building against>against a specific version of Gecko, see {{anch("Building against
> a custom Gecko")}} before you proceed.> a custom Gecko")}} before you proceed. If you want to build a br
 >anch other than the trunk, see {{anch("Building a branch")}}.
n114    <h3 id="Configuring_for_a_mobile_device">n111    <h3>
n135    <h3 id="Configuring_to_build_an_emulator">n132    <h3>
nn167    <h2>
168      Building a branch
169    </h2>
n171      If you want to build against a different branch instead of n171      If you want to build for a branch other than the trunk, you
>pulling Gecko from an alternative source, you may be able to re-r> will need to prefix your call to config.sh with a branch name, l
>un the config.sh script with a BRANCH option, such as for v1-trai>ike this:
>n where PHONE refers to your phone: 
t173    <pre class="syntaxbox">t173    <pre wrap="">
174BRANCH=v1-train ./config.sh PHONE174BRANCH=branch-name ./config.sh &lt;target&gt;
175</pre>
176    <p wrap="">
177      You can cd to B2G/.repo/manifests and do "git branch -a" to
 > see the names of the branches. (The branch is the final token on
 > the line, e.g. "v1-train"). E.g.:
178    </p>
179    <pre wrap="">
180  remotes/origin/master
181  remotes/origin/v1-train
182  remotes/origin/v1.0.0
183  remotes/origin/v1.0.1

Back to History