diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-12-10 03:21:42 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-10 03:21:42 -0800 |
commit | 872ec89a9c546eb05246b5047aabfc032d140eff (patch) | |
tree | 0cd8221866c7b0bf2fc976a0438086ed607b913c /tests/unit | |
parent | 4a599a836497e185f19aeaddb5b6526e83298fbc (diff) | |
parent | 6e783258667d093ad7d2b7f5087c49289ed17855 (diff) | |
download | servo-872ec89a9c546eb05246b5047aabfc032d140eff.tar.gz servo-872ec89a9c546eb05246b5047aabfc032d140eff.zip |
Auto merge of #14244 - upsuper:buildtime-bindgen, r=emilio
Use build script to generate binding files
<!-- Please describe your changes on the following line: -->
This is a WIP patch to make rust-bindgen a build time dependency of style component for stylo. This should make things more automatic. I convert majority of `regen.py` to `build_gecko.rs`.
It currently doesn't work on Windows, because of servo/rust-bindgen#271 (it works when I fix the generated file manually, though). I haven't tested other platforms.
It would break servo's CI for geckolib, because:
1. it needs libclang (which is probably easy to solve)
2. it needs `MOZ_OBJDIR` to be passed in so that it can generate bindings
@Manishearth @emilio Do you agree with this change? Do you have suggestion for the issues above?
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./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/14244)
<!-- Reviewable:end -->
Diffstat (limited to 'tests/unit')
0 files changed, 0 insertions, 0 deletions