Skip to content

Commit

Permalink
Backout changeset 37f3e53ede1f (bug 1257049) because of bustage.
Browse files Browse the repository at this point in the history
  • Loading branch information
glandium committed Mar 16, 2016
1 parent 6587eaa commit c15884c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@ def config_status(config):
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 subprocess.call([config['PYTHON'], 'config.status'])
return 0


Expand Down
5 changes: 2 additions & 3 deletions python/mozbuild/mozbuild/config_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@


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
Expand Down Expand Up @@ -113,7 +112,7 @@ def config_status(topobjdir='.', topsrcdir='.', defines=None,
' '.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:
Expand Down

0 comments on commit c15884c

Please sign in to comment.