servo/components/style/binding_tools
2016-09-26 09:07:17 +02:00
..
.gitignore Move gecko_bindings and gecko_string_cache into the style crate 2016-09-24 19:25:55 +05:30
README.md Move gecko_bindings and gecko_string_cache into the style crate 2016-09-24 19:25:55 +05:30
regen.py Move most of geckolib into style::gecko 2016-09-26 09:07:17 +02:00
regen.sh Move gecko_bindings and gecko_string_cache into the style crate 2016-09-24 19:25:55 +05:30
regen_atoms.py Move most of geckolib into style::gecko 2016-09-26 09:07:17 +02:00
setup_bindgen.sh Move gecko_bindings and gecko_string_cache into the style crate 2016-09-24 19:25:55 +05:30

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.