diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-07-08 02:24:29 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-07-08 13:40:18 -0400 |
commit | f917c5e722d7ee5abd58704eb0e5d49072249e94 (patch) | |
tree | 48eb2e95d18c9d1fbdfcd0864ca09a6e64d79f5a /build_extra/flatbuffers/flatbuffer.gni | |
parent | 6c79b471aa5cf2c87d237015f5dacc5a7ed03b67 (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.gni | 12 |
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 |