diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2016-04-18 19:04:09 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2016-04-20 14:49:29 +0200 |
commit | ff5478cba9403191bca4e84f1a5e04dffb68b362 (patch) | |
tree | 87cdf5d215bbd213cf2467a742b08619674e0716 | |
parent | 7787b21e30f97b7199682a0f4cf90335157e5902 (diff) | |
download | servo-ff5478cba9403191bca4e84f1a5e04dffb68b362.tar.gz servo-ff5478cba9403191bca4e84f1a5e04dffb68b362.zip |
Re-run the geckolib build script if components/style/properties changes.
-rw-r--r-- | ports/geckolib/build.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/geckolib/build.rs b/ports/geckolib/build.rs index e7bae9ee508..9bfe24f8277 100644 --- a/ports/geckolib/build.rs +++ b/ports/geckolib/build.rs @@ -41,6 +41,10 @@ fn main() { let geckolib_dir = Path::new(file!()).parent().unwrap(); let top_dir = geckolib_dir.join("..").join(".."); + let properties_dir = top_dir.join("components").join("style").join("properties"); + println!("cargo:rerun-if-changed={}", properties_dir.to_str().unwrap()); + println!("cargo:rerun-if-changed={}", geckolib_dir.join("properties.mako.rs").to_str().unwrap()); + let style_template = Path::new("components/style/properties/properties.mako.rs"); let geckolib_template = Path::new("ports/geckolib/properties.mako.rs"); let mako = Path::new("components/style/properties/Mako-0.9.1.zip"); |