diff options
author | Andreas Bergmeier <abergmeier@gmx.net> | 2018-03-15 20:31:16 +0100 |
---|---|---|
committer | Wouter van Oortmerssen <aardappel@gmail.com> | 2018-03-15 12:31:16 -0700 |
commit | c0a6e5120d6dd5d7b9de314d43fb55e71dee828d (patch) | |
tree | 031861010b7cc36cfce5feb998dec1d7253ed0b6 /go/BUILD.bazel | |
parent | 08cf50c54a704bd76a30602a5efc65ccb7985695 (diff) | |
download | flatbuffers-c0a6e5120d6dd5d7b9de314d43fb55e71dee828d.tar.gz flatbuffers-c0a6e5120d6dd5d7b9de314d43fb55e71dee828d.tar.bz2 flatbuffers-c0a6e5120d6dd5d7b9de314d43fb55e71dee828d.zip |
[C++, Go, Bazel]: Fix up Bazel support (#4672)
* Add Bazel support for Go library
* Make flatc compile again.
Was missing java_generator, which is now referenced from source.
Diffstat (limited to 'go/BUILD.bazel')
-rw-r--r-- | go/BUILD.bazel | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/go/BUILD.bazel b/go/BUILD.bazel new file mode 100644 index 00000000..026e89c1 --- /dev/null +++ b/go/BUILD.bazel @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go", + srcs = [ + "builder.go", + "doc.go", + "encode.go", + "grpc.go", + "lib.go", + "sizes.go", + "struct.go", + "table.go", + ], + importpath = "github.com/google/flatbuffers/go", + visibility = ["//visibility:public"], +) |