aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/build.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2019-07-25 19:39:32 +0200
committerSimon Sapin <simon.sapin@exyr.org>2019-07-29 17:37:03 +0200
commitddb4e369ddb8d9bb20142d34e320370cd3be196f (patch)
treed7b022fcae6bc1530cc9c499cf985f3207ffeae0 /components/script/build.rs
parentf1300bb98b0267b552a3f12e64e30f2f414213a3 (diff)
downloadservo-ddb4e369ddb8d9bb20142d34e320370cd3be196f.tar.gz
servo-ddb4e369ddb8d9bb20142d34e320370cd3be196f.zip
Stylo: replace product={gecko,servo} with engine={gecko,servo-2013,servo-2020}
Renaming the variable helped make sure I looked at every use.
Diffstat (limited to 'components/script/build.rs')
-rw-r--r--components/script/build.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/components/script/build.rs b/components/script/build.rs
index 1af9fbf7648..d044b6e4fb4 100644
--- a/components/script/build.rs
+++ b/components/script/build.rs
@@ -42,9 +42,7 @@ fn main() {
start.elapsed().as_secs()
);
- let json = out_dir
- .join("build")
- .join("InterfaceObjectMapData.json");
+ let json = out_dir.join("build").join("InterfaceObjectMapData.json");
let json: Value = serde_json::from_reader(File::open(&json).unwrap()).unwrap();
let mut map = phf_codegen::Map::new();
for (key, value) in json.as_object().unwrap() {