servo/components/style/binding_tools
2016-11-23 15:24:40 +11:00
..
.gitignore Move gecko_bindings and gecko_string_cache into the style crate 2016-09-24 19:25:55 +05:30
README.md Update README for bindgen tools 2016-09-27 18:07:30 +05:30
regen.py Auto merge of #14268 - Manishearth:regen, r=bholley 2016-11-21 12:19:39 -06: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_*