aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/build_commands.py
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-05-18 20:42:55 -0500
committerGitHub <noreply@github.com>2017-05-18 20:42:55 -0500
commit0ad0641872b5fc8139c84159ccec484ab4c3e265 (patch)
tree8a2efdf187ed73cc13ce0655a98c64a2b8d4097d /python/servo/build_commands.py
parent640b16634f2828bad46ab6d78e785dfc2025ab46 (diff)
parentdafc6adc30f5452ff403d6ee0d93bd70e3ba9c5d (diff)
downloadservo-0ad0641872b5fc8139c84159ccec484ab4c3e265.tar.gz
servo-0ad0641872b5fc8139c84159ccec484ab4c3e265.zip
Auto merge of #16941 - upsuper:bug1336540, r=emilio
Move config info from build_gecko.rs to Gecko code This is the Servo side change for [bug 1336540](https://bugzilla.mozilla.org/show_bug.cgi?id=1336540) <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16941) <!-- Reviewable:end -->
Diffstat (limited to 'python/servo/build_commands.py')
-rw-r--r--python/servo/build_commands.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py
index 546fcfdf911..93ea76e63c7 100644
--- a/python/servo/build_commands.py
+++ b/python/servo/build_commands.py
@@ -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: