Bug 1332517 - Add an 'artifact' key to mozinfo. r=mshal
authorChris Manchester <cmanchester@mozilla.com>
Thu, 19 Jan 2017 17:05:02 -0800
changeset 331238 84d3a4f6c2846b30cefb54cc9d39d08a9d6cb4e6
parent 331237 ab55dc7c08c6c3564f7cdfbab156f8c292494cb9
child 331279 8ec0bc50d7a4f558252ace9d6c096d54a47880cf
push id36547
push usercmanchester@mozilla.com
push dateFri, 27 Jan 2017 00:16:30 +0000
treeherderautoland@84d3a4f6c284 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmshal
bugs1332517
milestone54.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1332517 - Add an 'artifact' key to mozinfo. r=mshal MozReview-Commit-ID: GPq52LMg23Q
python/mozbuild/mozbuild/mozinfo.py
--- a/python/mozbuild/mozbuild/mozinfo.py
+++ b/python/mozbuild/mozbuild/mozinfo.py
@@ -91,16 +91,17 @@ def build_dict(config, env=os.environ):
     d['tsan'] = substs.get('MOZ_TSAN') == '1'
     d['telemetry'] = substs.get('MOZ_TELEMETRY_REPORTING') == '1'
     d['tests_enabled'] = substs.get('ENABLE_TESTS') == "1"
     d['bin_suffix'] = substs.get('BIN_SUFFIX', '')
     d['addon_signing'] = substs.get('MOZ_ADDON_SIGNING') == '1'
     d['require_signing'] = substs.get('MOZ_REQUIRE_SIGNING') == '1'
     d['official'] = bool(substs.get('MOZILLA_OFFICIAL'))
     d['updater'] = substs.get('MOZ_UPDATER') == '1'
+    d['artifact'] = substs.get('MOZ_ARTIFACT_BUILDS') == '1'
 
     def guess_platform():
         if d['buildapp'] in ('browser', 'mulet'):
             p = d['os']
             if p == 'mac':
                 p = 'macosx64'
             elif d['bits'] == 64:
                 p = '{}64'.format(p)