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

Side by Side Diff: abb-build/adblockbrowser-cfg.py

Issue 29552627: Issue 4105 - [build] Make it possible to build arbitrary ABB revisions (Closed)
Patch Set: Created Sept. 22, 2017, 11:55 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
OLDNEW
(Empty)
1 import os
2 # The name of the directory we'll pull our source into.
3 BUILD_DIR = os.path.abspath("..")
René Jeschke 2017/09/22 11:57:40 This had to be changed.
4 # This is everything that comes after https://hg.mozilla.org/
5 # e.g. "releases/mozilla-aurora"
6 REPO_PATH = "mozilla-central"
7 # This is where the l10n repos are (everything after https://hg.mozilla.org/)
8 # for mozilla-central, that's "l10n-central".
9 # For mozilla-aurora, that's "releases/l10n/mozilla-aurora"
10 L10N_REPO_PATH = "releases/l10n/mozilla-release"
11 # Currently this is assumed to be a subdirectory of your build dir
12 if not "OBJDIR" in os.environ:
13 raise "No objdir specified - please set OBJDIR"
14 OBJDIR = os.environ.get("OBJDIR")
15 # Set this to mobile/xul for XUL Fennec
16 ANDROID_DIR = "mobile/android"
17 # Absolute path to your mozconfig.
18 # By default it looks at "./mozconfig"
19 if not "MOZCONFIG" in os.environ:
20 raise "No mozconfig specified - please set MOZCONFIG"
21 MOZCONFIG = os.environ.get("MOZCONFIG")
22 LOCALES_JSON_BASE_URL = "https://product-details.mozilla.org/1.0/l10n/%s.json"
23
24 config = {
25 "work_dir": ".",
26 "log_name": "multilocale",
27 "objdir": OBJDIR,
28 "locales_json_url": LOCALES_JSON_BASE_URL % "Fennec-53.0.2-build1",
29 "locales_dir": "%s/locales" % ANDROID_DIR,
30 "ignore_locales": ["en-US", "multi"],
31 "l10n_repos": [{
32 "repo": "https://hg.mozilla.org/build/compare-locales",
33 "tag": "RELEASE_AUTOMATION"
34 }],
35 "hg_l10n_base": "https://hg.mozilla.org/%s" % L10N_REPO_PATH,
36 "l10n_dir": "l10n",
37 "merge_locales": True,
38 "mozilla_dir": BUILD_DIR,
39 "mozconfig": MOZCONFIG,
40 "default_actions": [
41 "pull-locale-source",
42 "build",
43 "add-locales",
44 "abb-transform-locales",
45 "package-multi",
46 "summary",
47 ],
48 }
OLDNEW
« no previous file with comments | « abb-build/README.md ('k') | abb-build/build.py » ('j') | abb-build/build.py » ('J')

Powered by Google App Engine
This is Rietveld