servo/ports/geckolib/gecko_bindings/tools
2016-06-08 13:48:27 -07:00
..
.gitignore Hoist gecko bindings into their own crate. 2016-05-11 14:32:26 -07:00
README.md Hoist gecko bindings into their own crate. 2016-05-11 14:32:26 -07:00
regen_bindings.sh Support font-family in geckolib 2016-06-08 13:48:27 -07:00
regen_style_structs.sh Generate debug and release Gecko bindings. 2016-06-03 16:52:09 +10:00
setup_bindgen.sh Hoist gecko bindings into their own crate. 2016-05-11 14:32:26 -07:00

GeckoLib tools

This directory contains mostly simple tools for working with stylo.

Some scripts require multirust in order to work.

You can see a description of them below.

setup_bindgen.sh

This uses downloads a custom version of bindgen, up to date to generate the bindings, and uses the required llvm38 to build it.

It will also rebuild it if it's already downloaded.

regen_bindings.sh

This will regenerate the bindings for the ServoBindings.h file in your gecko build (which are in ports/geckolib/bindings.rs).

regen_style_structs.sh

This will generate the bindings for Gecko's style structs. Current bindings are actually in ports/geckolib/structs.rs.