servo/components/style/binding_tools
bors-servo 2390503772 Auto merge of #14038 - upsuper:bug1294299, r=heycam
Add Element.style support for stylo

<!-- Please describe your changes on the following line: -->
This is the Servo side change of [bug 1294299](https://bugzilla.mozilla.org/show_bug.cgi?id=1294299) which has been reviewed by @heycam, @emilio, and @SimonSapin.

This should not be merged until the Gecko side change gets merged into mozilla-central.

r? @heycam

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- 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/14038)
<!-- Reviewable:end -->
2016-11-03 23:42:06 -05:00
..
.gitignore Move gecko_bindings and gecko_string_cache into the style crate 2016-09-24 19:25:55 +05:30
check_bindings.py Script-generated tests for Servo_* gecko bindings 2016-10-06 16:18:54 +01:00
README.md Update README for bindgen tools 2016-09-27 18:07:30 +05:30
regen.py Auto merge of #14038 - upsuper:bug1294299, r=heycam 2016-11-03 23:42:06 -05:00
regen.sh Minor cleanup to the bindgen scripts 2016-09-27 18:07:39 +05:30
regen_atoms.py Add static atoms for CSS properties from Gecko 2016-11-03 15:01:46 +11:00
setup_bindgen.sh Minor cleanup to the bindgen scripts 2016-09-27 18:07:39 +05:30

Geckolib tools

This directory contains simple tools for generating the Rust bindings for stylo.

setup_bindgen.sh

This clones Servo's version of bindgen, and uses llvm-3.8 library to build it. It will then be used to generate the Rust bindings.

regen.sh

This will regenerate the bindings for the ServoBindings.h file in your gecko build. The generated bindings live in components/style/gecko_bindings/bindings.rs. For structs, the bindings are in components/style/gecko_bindings/structs_*