aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/properties/build.py
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2017-08-05 23:55:26 -0700
committerManish Goregaokar <manishsmail@gmail.com>2017-08-07 14:30:31 -0700
commit2ebce54d75e16a35e2abc18abae6e18bbecbf492 (patch)
treecf065aed6acbde11f08448cdb3ec8d6fc40a27ce /components/style/properties/build.py
parenta6369149dc5344b2b80a12fca1c43cf99c94fdc9 (diff)
downloadservo-2ebce54d75e16a35e2abc18abae6e18bbecbf492.tar.gz
servo-2ebce54d75e16a35e2abc18abae6e18bbecbf492.zip
Remove testing feature from style crate
Diffstat (limited to 'components/style/properties/build.py')
-rw-r--r--components/style/properties/build.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/components/style/properties/build.py b/components/style/properties/build.py
index c12793e4ac9..f9da76153a4 100644
--- a/components/style/properties/build.py
+++ b/components/style/properties/build.py
@@ -21,17 +21,16 @@ RE_PYTHON_ADDR = re.compile(r'<.+? object at 0x[0-9a-fA-F]+>')
def main():
- usage = "Usage: %s [ servo | gecko ] [ style-crate | html ] [ testing | regular ]" % sys.argv[0]
- if len(sys.argv) < 4:
+ usage = "Usage: %s [ servo | gecko ] [ style-crate | html ]" % sys.argv[0]
+ if len(sys.argv) < 3:
abort(usage)
product = sys.argv[1]
output = sys.argv[2]
- testing = sys.argv[3] == "testing"
if product not in ["servo", "gecko"] or output not in ["style-crate", "geckolib", "html"]:
abort(usage)
- properties = data.PropertiesData(product=product, testing=testing)
+ properties = data.PropertiesData(product=product)
template = os.path.join(BASE, "properties.mako.rs")
rust = render(template, product=product, data=properties, __file__=template)
if output == "style-crate":