forked from BigfootDev/flatbuffers
[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.
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
08cf50c54a
commit
c0a6e5120d
17
go/BUILD.bazel
Normal file
17
go/BUILD.bazel
Normal file
@@ -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"],
|
||||
)
|
||||
Reference in New Issue
Block a user