summaryrefslogtreecommitdiff
path: root/scripts/generate-style-code.js
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2018-07-30 08:38:14 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2018-08-13 12:39:44 -0700
commitb2f60a4bf2fb95c107bb94543ba6345779970e98 (patch)
tree2fd85df5cf2121b9a55d24c9d6e331b9e1bb4aca /scripts/generate-style-code.js
parent3c8acb228e0ff1124ce8ca6c710dc46cf99d87fc (diff)
downloadqtlocation-mapboxgl-b2f60a4bf2fb95c107bb94543ba6345779970e98.tar.gz
[core] Eliminate setProperty & co.
Diffstat (limited to 'scripts/generate-style-code.js')
-rwxr-xr-xscripts/generate-style-code.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/generate-style-code.js b/scripts/generate-style-code.js
index db37a9b96f..9a7b2842f7 100755
--- a/scripts/generate-style-code.js
+++ b/scripts/generate-style-code.js
@@ -192,9 +192,6 @@ for (const layer of layers) {
writeIfModified(`src/mbgl/style/layers/${layerFileName}_layer_properties.cpp`, propertiesCpp(layer));
}
-const propertySettersHpp = ejs.compile(fs.readFileSync('src/mbgl/style/conversion/make_property_setters.hpp.ejs', 'utf8'), {strict: true});
-writeIfModified('src/mbgl/style/conversion/make_property_setters.hpp', propertySettersHpp({layers: layers}));
-
// Light
const lightProperties = Object.keys(spec[`light`]).reduce((memo, name) => {
var property = spec[`light`][name];