mozilla

Compare Revisions

Tamarin build documentation

Change Revisions

Revision 66397:

Revision 66397 by jsudduth on

Revision 66398:

Revision 66398 by jsudduth on

Title:
Tamarin build documentation
Tamarin build documentation
Slug:
Tamarin/Tamarin_Build_Documentation
Tamarin/Tamarin_Build_Documentation
Tags:
Tamarin, "Developing Mozilla", "Build documentation"
Tamarin, "Developing Mozilla", "Build documentation"
Content:

Revision 66397
Revision 66398
n77 $ python ../configure.py --enable-shelln77 $ python ../configure.py
n111      The bug when building on Snow Leopard (<a class=" link-httpn111      The bug when building on Snow Leopard (<a class="link-https
>s" href="https://bugzilla.mozilla.org/show_bug.cgi?id=537817" tit>" href="https://bugzilla.mozilla.org/show_bug.cgi?id=537817" titl
>le="https://bugzilla.mozilla.org/show_bug.cgi?id=537817">Bug 5378>e="https://bugzilla.mozilla.org/show_bug.cgi?id=537817">Bug 53781
>17</a>) has been fixed in the Tamarin-redux repo. The work for th>7</a>) has been fixed in the Tamarin-redux repo. The work for tha
>at fix also included some changes to the configure.py default beh>t fix also included some changes to the configure.py default beha
>avior to decouple the --target switch from sdk choice:&nbsp;>vior to decouple the --target switch from sdk choice:&nbsp;
n127$ ../configure.py --enable-shell --mac-sdk=105 --target=x86_64-dan127$ ../configure.py --mac-sdk=105 --target=x86_64-darwin
>rwin 
n130      If ASC&nbsp;is not set, you will need to add ASC.jar to then130      If ASC&nbsp;is not set, you will need to add ASC.jar to the
> utils directory in Tamarin-redux (<a class=" link-https" href="h> utils directory in Tamarin-redux (<a class="link-https" href="ht
>ttps://bugzilla.mozilla.org/show_bug.cgi?id=631641" title="https:>tps://bugzilla.mozilla.org/show_bug.cgi?id=631641" title="https:/
>//bugzilla.mozilla.org/show_bug.cgi?id=631641">Bug 631641</a>).>/bugzilla.mozilla.org/show_bug.cgi?id=631641">Bug 631641</a>).
131    </p>
132    <ul>131    </p>
132    <ul>
133      <li>Download <a class=" link-ftp" href="ftp://ftp.mozilla.o133      <li>Download <a class="link-ftp" href="ftp://ftp.mozilla.or
>rg/pub/js/tamarin/builds/asc/latest/asc.jar" title="ftp://ftp.moz>g/pub/js/tamarin/builds/asc/latest/asc.jar" title="ftp://ftp.mozi
>illa.org/pub/js/tamarin/builds/asc/latest/asc.jar">ftp://ftp.mozi>lla.org/pub/js/tamarin/builds/asc/latest/asc.jar">ftp://ftp.mozil
>lla.org/pub/js/tamarin/builds/asc/latest/asc.jar</a>>la.org/pub/js/tamarin/builds/asc/latest/asc.jar</a>
n157      - Download the Android 2.3.3 Mac sdk zip file from <a classn157      - Download the Android 2.3.3 Mac sdk zip file from <a class
>=" external" href="http://developer.android.com/sdk/index.html" t>="external" href="http://developer.android.com/sdk/index.html" ti
>itle="http://developer.android.com/sdk/index.html">http://develop>tle="http://developer.android.com/sdk/index.html">http://develope
>er.android.com/sdk/index.html</a>. Unzip to your sdk/ndk top fold>r.android.com/sdk/index.html</a>. Unzip to your sdk/ndk top folde
>er.&nbsp;Make sure it's named 'android-sdk-mac_86'.>r.&nbsp;Make sure it's named 'android-sdk-mac_86'.
158    </p>
159    <p>158    </p>
159    <p>
160      - Download the r5b Mac ndk zip file from <a class=" externa160      - Download the r5b Mac ndk zip file from <a class="external
>l" href="http://developer.android.com/sdk/ndk/index.html" title=">" href="http://developer.android.com/sdk/ndk/index.html" title="h
>http://developer.android.com/sdk/ndk/index.html">http://developer>ttp://developer.android.com/sdk/ndk/index.html">http://developer.
>.android.com/sdk/ndk/index.html</a>. Unzip to your sdk/ndk top fo>android.com/sdk/ndk/index.html</a>. Unzip to your sdk/ndk top fol
>lder. Rename this folder to 'android-ndk'.>der. Rename this folder to 'android-ndk'.
n172      - Get the openssl-0.9.8r.tar (openssl-1.0.0c.tar.gz won't wn172      - Get the openssl-0.9.8r.tar (openssl-1.0.0c.tar.gz won't w
>ork) openssl files from <a class=" external" href="http://www.ope>ork) openssl files from <a class="external" href="http://www.open
>nssl.org" title="http://www.openssl.org/">http://www.openssl.org<>ssl.org" title="http://www.openssl.org/">http://www.openssl.org</
>/a> (use the Source link on the left). Unzip the file and put the>a> (use the Source link on the left). Unzip the file and put the 
> /openssl main folder under your sdk/ndk top folder. Make sure it>/openssl main folder under your sdk/ndk top folder. Make sure its
>s name is just "openssl". &nbsp;Then build as follows:> name is just "openssl". &nbsp;Then build as follows:
n194      You can ignore these errors. The necessary static files 'lin194      You can ignore these errors. The necessary static files 'li
>bcrypto.a' and 'libssl.a' are made correctly and are present in t>bcrypto.a' and 'libssl.a' are made correctly and are present in t
>he /openssl folder. More information on why this happens on Mac O>he /openssl folder. More information on why this happens on Mac O
>S is here: <a class=" external" href="http://developer.apple.com/>S is here: <a class="external" href="http://developer.apple.com/l
>library/mac/#qa/qa2001/qa1118.html" title="http://developer.apple>ibrary/mac/#qa/qa2001/qa1118.html" title="http://developer.apple.
>.com/library/mac/#qa/qa2001/qa1118.html">http://developer.apple.c>com/library/mac/#qa/qa2001/qa1118.html">http://developer.apple.co
>om/library/mac/#qa/qa2001/qa1118.html</a>>m/library/mac/#qa/qa2001/qa1118.html</a>
195    </p>
196    <p>195    </p>
196    <p>
197      - Create a /frameworks/base/opengl/include/EGL folder under197      - Create a /frameworks/base/opengl/include/EGL folder under
> your sdk/ndk top folder. Get the ersion 1.4 EGL header files (eg> your sdk/ndk top folder. Get the ersion 1.4 EGL header files (eg
>l.h, eglext.h and eglplatform.h) from <a class=" external" href=">l.h, eglext.h and eglplatform.h) from <a class="external" href="h
>http://www.khronos.org/registry/egl/" title="http://www.khronos.o>ttp://www.khronos.org/registry/egl/" title="http://www.khronos.or
>rg/registry/egl/">http://www.khronos.org/registry/egl/</a> and sa>g/registry/egl/">http://www.khronos.org/registry/egl/</a> and sav
>ve or copy them there.&nbsp;>e or copy them there.&nbsp;
n217$ ../configure.py --enable-shell --arm-arch=armv7-a --target=arm-n217$ ../configure.py --arm-arch=armv7-a --target=arm-android  
>android   
n224      <code>../configure.py --enable-shell --enable-debug --arm-an224      <code>../configure.py --enable-debug --arm-arch=armv7-a --t
>rch=armv7-a --target=arm-android</code>>arget=arm-android</code>
n262$ python ../configure.py --enable-shelln262$ python ../configure.py 
n446      You may also download the latest asc.jar from <a class=" lin446      You may also download the latest asc.jar from <a class="lin
>nk-ftp" href="ftp://ftp.mozilla.org/pub/js/tamarin/builds/asc/lat>k-ftp" href="ftp://ftp.mozilla.org/pub/js/tamarin/builds/asc/late
>est/asc.jar" rel="external nofollow" target="_blank" title="ftp:/>st/asc.jar" rel="external nofollow" target="_blank" title="ftp://
>/ftp.mozilla.org/pub/js/tamarin/builds/asc/latest/asc.jar">ftp://>ftp.mozilla.org/pub/js/tamarin/builds/asc/latest/asc.jar">ftp://f
>ftp.mozilla.org/pub/js/tamarin...latest/asc.jar</a> .>tp.mozilla.org/pub/js/tamarin...latest/asc.jar</a> .
n530      <a class="link-mailto" href="mailto:actionscriptqe@adobe.con530      <a class="link-mailto" href="mailto:actionscriptqe@adobe.co
>m" title="mailto:actionscriptqe@adobe.com">ActionScript QE</a>&nb>m" title="mailto:actionscriptqe@adobe.com">ActionScript QE</a>
>sp; 
t538      <li>Request a build via the form at <a class="external" hret538      <li>Request a build via the form at <a class="external" hre
>f="http://tamarin-builds.mozilla.org/build_trigger/requestbuild.c>f="http://tamarin-builds.mozilla.org/build_trigger/requestbuild.c
>fm" title="http://tamarin-builds.mozilla.org/build_trigger/reques>fm" title="http://tamarin-builds.mozilla.org/build_trigger/reques
>tbuild.cfm">http://tamarin-builds.mozilla.org/build_trigger/reque>tbuild.cfm">http://tamarin-builds.mozilla.org/build_trigger/reque
>stbuild.cfm</a>&nbsp;>stbuild.cfm</a>

Back to History