Files
servo/components
bors-servo 9e0d269353 Auto merge of #14754 - upsuper:skip-bindgen, r=emilio
Skip invoking bindgen if no header changes

This can avoid doing bindgen when build script is called for updating other files, e.g. properties.

This uses a global modified time, so there is a chance that some of the files which can be skipped but not skipped. But given that we do all three files in parallel, that would unlikely affect the actual runtime.

Using lots of `Mutex` could be an issue, but it doesn't seem to be in practice. Since only one thread would hold the lock of `ADDED_PATHS`, there is never a competitor for the lock of `LAST_MODIFIED`.

r? @emilio

<!-- 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/14754)
<!-- Reviewable:end -->
2016-12-28 04:51:53 -08:00
..
2016-12-22 15:49:29 +01:00
2016-12-14 18:04:37 -06:00
2016-12-14 18:04:37 -06:00
2016-12-14 18:04:37 -06:00
2016-12-14 18:04:37 -06:00
2016-12-23 23:48:00 +01:00
2016-12-14 18:04:37 -06:00
2016-11-03 11:24:19 +01:00
2016-12-14 18:04:37 -06:00