Remove --with-gecko from build-geckolib because it is not usable.

This commit is contained in:
Xidorn Quan 2017-05-19 10:35:39 +10:00
parent f123b26e6c
commit dafc6adc30

View file

@ -407,9 +407,6 @@ class MachCommands(CommandBase):
@Command('build-geckolib',
description='Build a static library of components used by Gecko',
category='build')
@CommandArgument('--with-gecko',
default=None,
help='Build with Gecko dist directory')
@CommandArgument('--jobs', '-j',
default=None,
help='Number of jobs to run in parallel')
@ -419,7 +416,7 @@ class MachCommands(CommandBase):
@CommandArgument('--release', '-r',
action='store_true',
help='Build in release mode')
def build_geckolib(self, with_gecko=None, jobs=None, verbose=False, release=False):
def build_geckolib(self, jobs=None, verbose=False, release=False):
self.set_use_stable_rust()
self.ensure_bootstrapped()
self.ensure_clobbered()
@ -429,9 +426,6 @@ class MachCommands(CommandBase):
ret = None
opts = []
features = []
if with_gecko is not None:
features += ["bindgen"]
env["MOZ_DIST"] = path.abspath(path.expanduser(with_gecko))
if jobs is not None:
opts += ["-j", jobs]
if verbose: