summaryrefslogtreecommitdiff
path: root/build_extra
diff options
context:
space:
mode:
Diffstat (limited to 'build_extra')
-rw-r--r--build_extra/flatbuffers/rust/BUILD.gn6
-rw-r--r--build_extra/rust/BUILD.gn5
2 files changed, 5 insertions, 6 deletions
diff --git a/build_extra/flatbuffers/rust/BUILD.gn b/build_extra/flatbuffers/rust/BUILD.gn
deleted file mode 100644
index d983a175d..000000000
--- a/build_extra/flatbuffers/rust/BUILD.gn
+++ /dev/null
@@ -1,6 +0,0 @@
-import("//build_extra/rust/rust.gni")
-
-rust_crate("flatbuffers") {
- source_root = "//third_party/flatbuffers/rust/flatbuffers/src/lib.rs"
- extern = [ "//build_extra/rust:smallvec" ]
-}
diff --git a/build_extra/rust/BUILD.gn b/build_extra/rust/BUILD.gn
index 8c0a0fd6b..316a30e86 100644
--- a/build_extra/rust/BUILD.gn
+++ b/build_extra/rust/BUILD.gn
@@ -11,6 +11,11 @@ import("rust.gni")
crates = "//third_party/rust_crates"
registry_github = "$crates/registry/src/github.com-1ecc6299db9ec823/"
+rust_crate("flatbuffers") {
+ source_root = "$registry_github/flatbuffers-0.5.0/src/lib.rs"
+ extern = [ ":smallvec" ]
+}
+
rust_crate("nix") {
source_root = "$registry_github/nix-0.11.0/src/lib.rs"
extern = [