OLD | NEW |
1 Adblock Browser | 1 Adblock Browser |
2 =============== | 2 =============== |
3 | 3 |
4 The Adblock Plus browser, based on Firefox for Android. | 4 The Adblock Plus browser, based on Firefox for Android. |
5 | 5 |
6 Building | 6 Building |
7 -------- | 7 -------- |
8 | 8 |
9 First ensure that all dependencies are up to date by calling: | 9 First ensure that all dependencies are up to date by calling: |
10 | 10 |
11 ./ensure_dependencies.py | 11 ./ensure_dependencies.py |
12 | 12 |
13 Then just follow Mozilla's [Building Fennec][1] guide. | 13 Then just follow Mozilla's [Building Fennec][1] guide. |
14 | 14 |
15 | 15 |
16 Important note | 16 Important note |
17 -------------- | 17 -------------- |
18 | 18 |
19 You must add the following line to your `mozconfig`: | 19 You must add the following line to your `mozconfig`: |
20 | 20 |
21 ac_add_options --disable-crashreporter | 21 ac_add_options --disable-crashreporter |
22 | 22 |
23 to disable the CrashReporter. | 23 to disable the CrashReporter. |
24 | 24 |
25 (Follow-up issue: https://issues.adblockplus.org/ticket/2490) | 25 (Follow-up issue: https://issues.adblockplus.org/ticket/2490) |
26 | 26 |
27 Creating a multilocale build | 27 Creating a multilocale build |
28 ---------------------------- | 28 ---------------------------- |
29 | 29 |
| 30 ### Automation ### |
| 31 |
| 32 While the manual process is still documented below, the easiest way to create a |
| 33 multi-locale build is to use: https://bitbucket.org/adblockplus/adblockbrowser-b
uild. |
| 34 |
30 ### Preparations ### | 35 ### Preparations ### |
31 | 36 |
32 1. Create a folder outside of the Adblock Browser repo, e.g `abb-multi` | 37 1. Create a folder outside of the Adblock Browser repo, e.g `abb-multi` |
33 2. Change into `abb-multi` and clone mozharness via: | 38 2. Change into `abb-multi` and clone mozharness via: |
34 | 39 |
35 hg clone http://hg.mozilla.org/build/mozharness -r FENNEC_40_0b8_RELEASE | 40 hg clone http://hg.mozilla.org/build/mozharness -r FENNEC_40_0b8_RELEASE |
36 | 41 |
37 3. Symlink the adblockbrowser repo into `abb-multi`, e.g.: | 42 3. Symlink the adblockbrowser repo into `abb-multi`, e.g.: |
38 | 43 |
39 ln -s ../adblockbrowser adblockbrowser | 44 ln -s ../adblockbrowser adblockbrowser |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 ### Building ### | 125 ### Building ### |
121 | 126 |
122 For performing the multilocale build, invoke | 127 For performing the multilocale build, invoke |
123 | 128 |
124 ./mozharness/scripts/multil10n.py --cfg abb-multi-cfg.py | 129 ./mozharness/scripts/multil10n.py --cfg abb-multi-cfg.py |
125 | 130 |
126 from inside `abb-multi`. The resulting build is located in | 131 from inside `abb-multi`. The resulting build is located in |
127 `BUILD_DIR/OBJ_DIR/dist/` | 132 `BUILD_DIR/OBJ_DIR/dist/` |
128 | 133 |
129 [1]: https://wiki.mozilla.org/Mobile/Fennec/Android | 134 [1]: https://wiki.mozilla.org/Mobile/Fennec/Android |
OLD | NEW |