diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-03-25 03:27:33 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-03-25 03:27:33 +0530 |
commit | 605842f193aedc1151ab38a99c49f693c76e5cf3 (patch) | |
tree | 1390698f84106f785cd82ecbbfda0bb53e725a77 /python/tidy.py | |
parent | 7f944afee88bb2ab13de4f37118af14d40328f7f (diff) | |
parent | e82aa66245935f0aaac61e667a38dce9b5662f42 (diff) | |
download | servo-605842f193aedc1151ab38a99c49f693c76e5cf3.tar.gz servo-605842f193aedc1151ab38a99c49f693c76e5cf3.zip |
Auto merge of #10155 - bholley:generalize_style_structs, r=SimonSapin
Generalize the style structs
This allows geckolib to pass gecko style structs and have the style system write to them directly, provided we implement all the traits.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10155)
<!-- Reviewable:end -->
Diffstat (limited to 'python/tidy.py')
-rw-r--r-- | python/tidy.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/tidy.py b/python/tidy.py index 989e617648b..999d5745577 100644 --- a/python/tidy.py +++ b/python/tidy.py @@ -35,6 +35,7 @@ ignored_files = [ # Generated and upstream code combined with our own. Could use cleanup os.path.join(".", "ports", "gonk", "src", "native_window_glue.cpp"), os.path.join(".", "ports", "geckolib", "bindings.rs"), + os.path.join(".", "ports", "geckolib", "gecko_style_structs.rs"), os.path.join(".", "resources", "hsts_preload.json"), os.path.join(".", "tests", "wpt", "metadata", "MANIFEST.json"), os.path.join(".", "tests", "wpt", "metadata-css", "MANIFEST.json"), @@ -60,6 +61,8 @@ ignored_dirs = [ # Generated and upstream code combined with our own. Could use cleanup os.path.join(".", "target"), os.path.join(".", "ports", "cef"), + # Tooling, generated locally from external repos. + os.path.join(".", "ports", "geckolib", "tools"), # Hidden directories os.path.join(".", "."), ] @@ -260,6 +263,7 @@ def check_rust(file_name, lines): if not file_name.endswith(".rs") or \ file_name.endswith("properties.mako.rs") or \ file_name.endswith(os.path.join("style", "build.rs")) or \ + file_name.endswith(os.path.join("geckolib", "build.rs")) or \ file_name.endswith(os.path.join("unit", "style", "stylesheets.rs")): raise StopIteration comment_depth = 0 |