Run size_of tests with test-stylo.

MozReview-Commit-ID: KapDMqX6OjH
This commit is contained in:
Bobby Holley 2017-03-14 22:50:38 -07:00
parent 9f44fd2d9d
commit 6744ed1639
8 changed files with 77 additions and 51 deletions

View file

@ -211,11 +211,13 @@ class PropertiesData(object):
In this situation, the `product` value is ignored while choosing
which shorthands and longhands to generate; and instead all properties for
which code exists for either servo or stylo are generated.
which code exists for either servo or stylo are generated. Note that we skip
this behavior when the style crate is being built in gecko mode, because we
need manual glue for such properties and we don't have it.
"""
def __init__(self, product, testing):
self.product = product
self.testing = testing
self.testing = testing and product != "gecko"
self.style_structs = []
self.current_style_struct = None
self.longhands = []