Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: README.md

Issue 29323104: Issue 2750 - [Support other languages] Apply Firefox's translations (Pt. II) (Closed)
Patch Set: Created July 30, 2015, 11:31 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 * Change `L10N_REPO_PATH` to point to `releases/l10n/mozilla-release` 56 * Change `L10N_REPO_PATH` to point to `releases/l10n/mozilla-release`
57 * If your `mozconfig` is not called `mozconfig`, change `MOZCONFIG` 57 * If your `mozconfig` is not called `mozconfig`, change `MOZCONFIG`
58 * **Remove the repository pulling part** from `config`. 58 * **Remove the repository pulling part** from `config`.
59 The code to remove looks like this: 59 The code to remove looks like this:
60 60
61 "repos": [{ 61 "repos": [{
62 "repo": "https://hg.mozilla.org/%s" % REPO_PATH, 62 "repo": "https://hg.mozilla.org/%s" % REPO_PATH,
63 "tag": "default", 63 "tag": "default",
64 "dest": BUILD_DIR, 64 "dest": BUILD_DIR,
65 }], 65 }],
66
66 * Change `"hg_l10n_tag"` in `config` from `default` to `FENNEC_39_0_1_RELEASE` 67 * Change `"hg_l10n_tag"` in `config` from `default` to `FENNEC_39_0_1_RELEASE`
67 * You might want to remove the `"backup-objdir"` build step if you do 68 * You might want to remove the `"backup-objdir"` build step if you do
68 not want your objdir to be backed up. Keep in mind that you then need to 69 not want your objdir to be backed up. Keep in mind that you then need to
69 clobber for a single-locale build. 70 clobber for a single-locale build.
70 71
71 An example configuration could look like this: 72 An example configuration could look like this:
72 73
73 import os 74 import os
74 # The name of the directory we'll pull our source into. 75 # The name of the directory we'll pull our source into.
75 BUILD_DIR = "adblockbrowser" 76 BUILD_DIR = "adblockbrowser"
(...skipping 17 matching lines...) Expand all
93 "log_name": "multilocale", 94 "log_name": "multilocale",
94 "objdir": OBJDIR, 95 "objdir": OBJDIR,
95 "locales_file": "%s/%s/locales/maemo-locales" % (BUILD_DIR, ANDROID_DIR) , 96 "locales_file": "%s/%s/locales/maemo-locales" % (BUILD_DIR, ANDROID_DIR) ,
96 "locales_dir": "%s/locales" % ANDROID_DIR, 97 "locales_dir": "%s/locales" % ANDROID_DIR,
97 "ignore_locales": ["en-US", "multi"], 98 "ignore_locales": ["en-US", "multi"],
98 "l10n_repos": [{ 99 "l10n_repos": [{
99 "repo": "https://hg.mozilla.org/build/compare-locales", 100 "repo": "https://hg.mozilla.org/build/compare-locales",
100 "tag": "RELEASE_AUTOMATION" 101 "tag": "RELEASE_AUTOMATION"
101 }], 102 }],
102 "hg_l10n_base": "https://hg.mozilla.org/%s" % L10N_REPO_PATH, 103 "hg_l10n_base": "https://hg.mozilla.org/%s" % L10N_REPO_PATH,
103 "hg_l10n_tag": "default", 104 "hg_l10n_tag": "FENNEC_39_0_1_RELEASE",
104 "l10n_dir": "l10n", 105 "l10n_dir": "l10n",
105 "merge_locales": True, 106 "merge_locales": True,
106 "mozilla_dir": BUILD_DIR, 107 "mozilla_dir": BUILD_DIR,
107 "mozconfig": MOZCONFIG, 108 "mozconfig": MOZCONFIG,
108 "default_actions": [ 109 "default_actions": [
109 "pull-locale-source", 110 "pull-locale-source",
110 "build", 111 "build",
111 "package-en-US", 112 "package-en-US",
112 "restore-objdir", 113 "restore-objdir",
113 "add-locales", 114 "add-locales",
114 "package-multi", 115 "package-multi",
115 "summary", 116 "summary",
116 ], 117 ],
117 } 118 }
118 119
119 ### Building ### 120 ### Building ###
120 121
121 For performing the multilocale build, invoke 122 For performing the multilocale build, invoke
122 123
123 ./mozharness/scripts/multil10n.py --cfg abb-multi-cfg.py 124 ./mozharness/scripts/multil10n.py --cfg abb-multi-cfg.py
124 125
125 from inside `abb-multi`. The resulting build is located in 126 from inside `abb-multi`. The resulting build is located in
126 `BUILD_DIR/OBJ_DIR/dist/` 127 `BUILD_DIR/OBJ_DIR/dist/`
127 128
128 [1]: https://wiki.mozilla.org/Mobile/Fennec/Android 129 [1]: https://wiki.mozilla.org/Mobile/Fennec/Android
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld