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

Unified Diff: build.py

Issue 29323490: Issue 2751 - Add mozconfigs for devbuild/release builds (Closed)
Patch Set: Created Aug. 12, 2015, 9:55 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 | « .hgignore ('k') | config.py.sample » ('j') | mozconfig-devbuild » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build.py
===================================================================
--- a/build.py
+++ b/build.py
@@ -51,6 +51,10 @@
def build(mode):
mozharness_environment = os.environ.copy()
mozharness_environment["MOZCONFIG"] = find_mozconfig(mode)
+ import config
René Jeschke 2015/08/13 08:15:05 I would have written that I dislike `import` in fu
+ mozharness_environment["ANDROID_SDK_PATH"] = config.ANDROID_SDK_PATH
+ mozharness_environment["ANDROID_NDK_PATH"] = config.ANDROID_NDK_PATH
+
subprocess.check_call([MULTI_L10N_PATH, "--cfg", "adblockbrowser-cfg.py"],
env=mozharness_environment)
« no previous file with comments | « .hgignore ('k') | config.py.sample » ('j') | mozconfig-devbuild » ('J')

Powered by Google App Engine
This is Rietveld