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

Side by Side Diff: adblockbrowser-cfg.py

Issue 29365816: Issue 4677 - Add support for x86 builds in adblockbrowser-build (Closed)
Patch Set: Created Nov. 30, 2016, 2:23 p.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 | « .hgignore ('k') | build.py » ('j') | build.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 import os 1 import os
2 # The name of the directory we'll pull our source into. 2 # The name of the directory we'll pull our source into.
3 BUILD_DIR = "adblockbrowser" 3 BUILD_DIR = "adblockbrowser"
4 # This is everything that comes after https://hg.mozilla.org/ 4 # This is everything that comes after https://hg.mozilla.org/
5 # e.g. "releases/mozilla-aurora" 5 # e.g. "releases/mozilla-aurora"
6 REPO_PATH = "mozilla-central" 6 REPO_PATH = "mozilla-central"
7 # This is where the l10n repos are (everything after https://hg.mozilla.org/) 7 # This is where the l10n repos are (everything after https://hg.mozilla.org/)
8 # for mozilla-central, that's "l10n-central". 8 # for mozilla-central, that's "l10n-central".
9 # For mozilla-aurora, that's "releases/l10n/mozilla-aurora" 9 # For mozilla-aurora, that's "releases/l10n/mozilla-aurora"
10 L10N_REPO_PATH = "releases/l10n/mozilla-release" 10 L10N_REPO_PATH = "releases/l10n/mozilla-release"
11 # Currently this is assumed to be a subdirectory of your build dir 11 # Currently this is assumed to be a subdirectory of your build dir
12 OBJDIR = "obj-arm-linux-androideabi" 12 if not "OBJDIR" in os.environ:
13 raise "No objdir specified - please set OBJDIR"
14 OBJDIR = os.environ.get("OBJDIR")
13 # Set this to mobile/xul for XUL Fennec 15 # Set this to mobile/xul for XUL Fennec
14 ANDROID_DIR = "mobile/android" 16 ANDROID_DIR = "mobile/android"
15 # Absolute path to your mozconfig. 17 # Absolute path to your mozconfig.
16 # By default it looks at "./mozconfig" 18 # By default it looks at "./mozconfig"
17 if not "MOZCONFIG" in os.environ: 19 if not "MOZCONFIG" in os.environ:
18 raise "No mozconfig specified - please set MOZCONFIG" 20 raise "No mozconfig specified - please set MOZCONFIG"
19 MOZCONFIG = os.environ.get("MOZCONFIG") 21 MOZCONFIG = os.environ.get("MOZCONFIG")
20 22
21 config = { 23 config = {
22 "work_dir": ".", 24 "work_dir": ".",
(...skipping 14 matching lines...) Expand all
37 "mozconfig": MOZCONFIG, 39 "mozconfig": MOZCONFIG,
38 "default_actions": [ 40 "default_actions": [
39 "pull-locale-source", 41 "pull-locale-source",
40 "build", 42 "build",
41 "add-locales", 43 "add-locales",
42 "abb-transform-locales", 44 "abb-transform-locales",
43 "package-multi", 45 "package-multi",
44 "summary", 46 "summary",
45 ], 47 ],
46 } 48 }
OLDNEW
« no previous file with comments | « .hgignore ('k') | build.py » ('j') | build.py » ('J')

Powered by Google App Engine
This is Rietveld