Backout changeset 37f3e53ede1f (bug 1257049) because of bustage.
authorMike Hommey <>
Wed, 16 Mar 2016 11:21:27 +0900
changeset 328752 b226ad5571c4ee17b25c60e9c037b9dc25b7b683
parent 328751 facab7643e3f6b2fd5cc20524f2dbbe35c3a6071
child 328753 b540b97736ab5e83ac59cdadeeaa52e766522cd5
push id1146
push dateMon, 25 Jul 2016 16:35:44 +0000
treeherdermozilla-release@a55778f9cd5a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
backs out37f3e53ede1f3b3788b5060d49aa122337680d46
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
Backout changeset 37f3e53ede1f (bug 1257049) because of bustage.
--- a/
+++ b/
@@ -67,15 +67,16 @@ if __name__ == '__main__':
     # Other things than us are going to run this file, so we need to give it
     # executable permissions.
     os.chmod('config.status', 0755)
     if not config.get('BUILDING_JS') or config.get('JS_STANDALONE'):
         if not config.get('JS_STANDALONE'):
             os.environ['WRITE_MOZINFO'] = '1'
-        from mozbuild.config_status import config_status
-        return config_status(args=[], **sanitized_config)
+        # Until we have access to the virtualenv from this script, execute
+        # config.status externally, with the virtualenv python.
+        return[config['PYTHON'], 'config.status'])
     return 0
 if __name__ == '__main__':
--- a/python/mozbuild/mozbuild/
+++ b/python/mozbuild/mozbuild/
@@ -58,18 +58,17 @@ following:
    mach build-backend --backend=VisualStudio
 def config_status(topobjdir='.', topsrcdir='.', defines=None,
-                  non_global_defines=None, substs=None, source=None,
-                  args=sys.argv[1:]):
+                  non_global_defines=None, substs=None, source=None):
     '''Main function, providing config.status functionality.
     Contrary to config.status, it doesn't use CONFIG_FILES or CONFIG_HEADERS
     Without the -n option, this program acts as config.status and considers
     the current directory as the top object directory, even when config.status
     is in a different directory. It will, however, treat the directory
@@ -108,17 +107,17 @@ def config_status(topobjdir='.', topsrcd
     parser.add_argument('-d', '--diff', action='store_true',
                         help='print diffs of changed files.')
     parser.add_argument('-b', '--backend', nargs='+', choices=sorted(backends),
                         help='what backend to build (default: %s).' %
                         ' '.join(default_backends))
     parser.add_argument('--dry-run', action='store_true',
                         help='do everything except writing files out.')
-    options = parser.parse_args(args)
+    options = parser.parse_args()
     # Without -n, the current directory is meant to be the top object directory
     if not options.not_topobjdir:
         topobjdir = os.path.abspath('.')
     env = ConfigEnvironment(topsrcdir, topobjdir, defines=defines,
             non_global_defines=non_global_defines, substs=substs, source=source)