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

Unified Diff: abb-build/adblockbrowser-cfg.py

Issue 29989567: Issue 7238 - Fix multi-locale builds (Closed)
Patch Set: Adding hg pull if cant hg update Created Jan. 28, 2019, 5:21 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « abb-build/README.md ('k') | abb-build/build.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: abb-build/adblockbrowser-cfg.py
===================================================================
deleted file mode 100644
--- a/abb-build/adblockbrowser-cfg.py
+++ /dev/null
@@ -1,48 +0,0 @@
-import os
-# The name of the directory we'll pull our source into.
-BUILD_DIR = os.path.abspath('..')
-# This is everything that comes after https://hg.mozilla.org/
-# e.g. "releases/mozilla-aurora"
-REPO_PATH = "mozilla-central"
-# This is where the l10n repos are (everything after https://hg.mozilla.org/)
-# for mozilla-central, that's "l10n-central".
-# For mozilla-aurora, that's "releases/l10n/mozilla-aurora"
-L10N_REPO_PATH = "releases/l10n/mozilla-release"
-# Currently this is assumed to be a subdirectory of your build dir
-if not "OBJDIR" in os.environ:
- raise "No objdir specified - please set OBJDIR"
-OBJDIR = os.environ.get("OBJDIR")
-# Set this to mobile/xul for XUL Fennec
-ANDROID_DIR = "mobile/android"
-# Absolute path to your mozconfig.
-# By default it looks at "./mozconfig"
-if not "MOZCONFIG" in os.environ:
- raise "No mozconfig specified - please set MOZCONFIG"
-MOZCONFIG = os.environ.get("MOZCONFIG")
-LOCALES_JSON_BASE_URL = "https://product-details.mozilla.org/1.0/l10n/%s.json"
-
-config = {
- "work_dir": ".",
- "log_name": "multilocale",
- "objdir": OBJDIR,
- "locales_json_url": LOCALES_JSON_BASE_URL % "Fennec-56.0-build1",
- "locales_dir": "%s/locales" % ANDROID_DIR,
- "ignore_locales": ["en-US", "multi"],
- "l10n_repos": [{
- "repo": "https://hg.mozilla.org/build/compare-locales",
- "tag": "RELEASE_AUTOMATION"
- }],
- "hg_l10n_base": "https://hg.mozilla.org/%s" % L10N_REPO_PATH,
- "l10n_dir": "l10n",
- "merge_locales": True,
- "mozilla_dir": BUILD_DIR,
- "mozconfig": MOZCONFIG,
- "default_actions": [
- "pull-locale-source",
- "build",
- "add-locales",
- "abb-transform-locales",
- "package-multi",
- "summary",
- ],
-}
« no previous file with comments | « abb-build/README.md ('k') | abb-build/build.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld