Bug 1426793 - Add DevEdition to mozinfo. r=nalexander
authorRyan VanderMeulen <ryanvm@gmail.com>
Sat, 23 Dec 2017 16:39:53 -0500
changeset 449154 dcc6f0b25d677fdfb0064384182cb7c9c66b5fa3
parent 449153 dbcd25d63842ca202a8d640bd3baaa225d771e86
child 449155 acecb874111830473cb6eab55efb90180df3b396
push id8527
push userCallek@gmail.com
push dateThu, 11 Jan 2018 21:05:50 +0000
treeherdermozilla-beta@95342d212a7a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnalexander
bugs1426793
milestone59.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 1426793 - Add DevEdition to mozinfo. r=nalexander
build/docs/mozinfo.rst
python/mozbuild/mozbuild/mozinfo.py
--- a/build/docs/mozinfo.rst
+++ b/build/docs/mozinfo.rst
@@ -81,16 +81,23 @@ datareporting
 
 debug
    Whether this is a debug build.
 
    Values are ``true`` and ``false``.
 
    Always defined.
 
+devedition
+   Whether this is a devedition build.
+
+   Values are ``true`` and ``false``.
+
+   Always defined.
+
 healthreport
    Whether the Health Report feature is enabled.
 
    Values are ``true`` and ``false``.
 
    Always defined.
 
 mozconfig
--- a/python/mozbuild/mozbuild/mozinfo.py
+++ b/python/mozbuild/mozbuild/mozinfo.py
@@ -72,16 +72,17 @@ def build_dict(config, env=os.environ):
     # hardcoded list of known 32-bit CPUs
     elif p in ["x86", "arm", "ppc"]:
         d["bits"] = 32
     # other CPUs will wind up with unknown bits
 
     d['debug'] = substs.get('MOZ_DEBUG') == '1'
     d['nightly_build'] = substs.get('NIGHTLY_BUILD') == '1'
     d['release_or_beta'] = substs.get('RELEASE_OR_BETA') == '1'
+    d['devedition'] = substs.get('MOZ_DEV_EDITION') == '1'
     d['pgo'] = substs.get('MOZ_PGO') == '1'
     d['crashreporter'] = bool(substs.get('MOZ_CRASHREPORTER'))
     d['datareporting'] = bool(substs.get('MOZ_DATA_REPORTING'))
     d['healthreport'] = substs.get('MOZ_SERVICES_HEALTHREPORT') == '1'
     d['sync'] = substs.get('MOZ_SERVICES_SYNC') == '1'
     d['stylo'] = substs.get('MOZ_STYLO_ENABLE') == '1'
     d['asan'] = substs.get('MOZ_ASAN') == '1'
     d['tsan'] = substs.get('MOZ_TSAN') == '1'