diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-08-26 17:02:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-26 17:02:34 -0400 |
commit | f94900406d52a9d0a432ae9ebef65d46092afb41 (patch) | |
tree | 0a12b3201f8bdd0bbee1b6b1abf3f413d7d92e9f /build_extra/flatbuffers/rust/rust_flatbuffer.gni | |
parent | d8ada4d3fcc5dfe7f76103399a1d765fbab2ee45 (diff) |
Remove flatbuffers (#2818)
Diffstat (limited to 'build_extra/flatbuffers/rust/rust_flatbuffer.gni')
-rw-r--r-- | build_extra/flatbuffers/rust/rust_flatbuffer.gni | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/build_extra/flatbuffers/rust/rust_flatbuffer.gni b/build_extra/flatbuffers/rust/rust_flatbuffer.gni deleted file mode 100644 index bf211c2dd..000000000 --- a/build_extra/flatbuffers/rust/rust_flatbuffer.gni +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. -import("//build_extra/rust/rust.gni") - -# TODO(ry) "flatbuffer.gni" should be "flatbuffers.gni" we should be consistent -# in our pluralization. -import("//build_extra/flatbuffers/flatbuffer.gni") - -template("rust_flatbuffer") { - compiled_action_foreach(target_name) { - tool = "$flatbuffers_build_location:flatc" - - sources = invoker.sources - deps = [] - out_dir = target_gen_dir - - outputs = [ - "$out_dir/{{source_name_part}}_generated.rs", - ] - - args = [ - "--rust", - "-o", - rebase_path(out_dir, root_build_dir), - "-I", - rebase_path("//", root_build_dir), - ] - args += [ "{{source}}" ] - - # The deps may have steps that have to run before running flatc. - if (defined(invoker.deps)) { - deps += invoker.deps - } - } -} |