summaryrefslogtreecommitdiff
path: root/build_extra/flatbuffers/flatbuffer.gni
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-07-08 02:24:29 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-07-08 13:40:18 -0400
commitf917c5e722d7ee5abd58704eb0e5d49072249e94 (patch)
tree48eb2e95d18c9d1fbdfcd0864ca09a6e64d79f5a /build_extra/flatbuffers/flatbuffer.gni
parent6c79b471aa5cf2c87d237015f5dacc5a7ed03b67 (diff)
Clean up tools/
- Factor out tools/util.py - Move js/*.py to tools. - Rewrite tools/format.sh in python. - Run lint first in travis.
Diffstat (limited to 'build_extra/flatbuffers/flatbuffer.gni')
-rw-r--r--build_extra/flatbuffers/flatbuffer.gni12
1 files changed, 9 insertions, 3 deletions
diff --git a/build_extra/flatbuffers/flatbuffer.gni b/build_extra/flatbuffers/flatbuffer.gni
index 0bac1802c..ff4a48dfa 100644
--- a/build_extra/flatbuffers/flatbuffer.gni
+++ b/build_extra/flatbuffers/flatbuffer.gni
@@ -188,15 +188,21 @@ template("ts_flatbuffer") {
copy_name = target_name + "_copy"
copy(copy_name) {
- sources = [ "$flatbuffers_source_location/js/flatbuffers.js" ]
- outputs = [ "$target_gen_dir/flatbuffers.js" ]
+ sources = [
+ "$flatbuffers_source_location/js/flatbuffers.js",
+ ]
+ outputs = [
+ "$target_gen_dir/flatbuffers.js",
+ ]
}
compiled_action_foreach(target_name) {
tool = "$flatbuffers_build_location:flatc"
sources = invoker.sources
- deps = [ ":" + copy_name ]
+ deps = [
+ ":" + copy_name,
+ ]
out_dir = target_gen_dir