gecko-dev/servo/components/style/binding_tools
Xidorn Quan 143392b8b4 servo: Merge #14609 - Update atoms when build geckolib with gecko (from upsuper:auto-regen-atoms); r=Wafflespeanut
<!-- Please describe your changes on the following line: -->
This would automatically update the generated atom-related files in-tree before calling cargo to build geckolib. With this change, `./mach build-gecko --with-gecko` should be now the easiest way to update all in-tree bindings.

This isn't really a build-time generating, because it isn't invoked from the build script, but from mach. It isn't done the other way because
1. it doesn't seem to be a common practice for build script to write anything to the src directory
2. real build-time generated atom data wouldn't need to include atoms for multiple platforms, but we still want it so that we can build geckolib independently

cc @heycam

r? @emilio

Source-Repo: https://github.com/servo/servo
Source-Revision: 0bc84154858d76f57831affee348d0f1c573f9f1
2016-12-15 22:05:15 -08:00
..
.gitignore servo: Merge #13372 - Merge most of geckolib into style (from Manishearth:merge-stylo); r=emilio 2016-09-26 02:36:05 -05:00
README.md servo: Merge #14244 - Use build script to generate binding files (from upsuper:buildtime-bindgen); r=emilio 2016-12-10 03:21:42 -08:00
regen_atoms.py servo: Merge #14609 - Update atoms when build geckolib with gecko (from upsuper:auto-regen-atoms); r=Wafflespeanut 2016-12-15 22:05:15 -08:00
setup_bindgen.sh servo: Merge #14244 - Use build script to generate binding files (from upsuper:buildtime-bindgen); r=emilio 2016-12-10 03:21:42 -08:00

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.