From a3217b71723a93abb7a2aca535408ab84d81ac2f Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Fri, 28 Dec 2018 07:24:56 -0800 Subject: Extract go_merge into its own package This change is needed to support building gvisor for Fuchsia, which uses Chromium's GN build system; at the time of writing, Fuchsia's Go support does not include explicit enumeration of files, assuming instead that Go binaries are always built from all Go source files in a given package. Rather than extending Fuchsia's Go support, it is easier simply to extract a separate package here. PiperOrigin-RevId: 227133402 Change-Id: I1c64fff286d9c014b4bd1183b76023b35b60c720 --- tools/go_generics/go_merge/BUILD | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tools/go_generics/go_merge/BUILD (limited to 'tools/go_generics/go_merge/BUILD') diff --git a/tools/go_generics/go_merge/BUILD b/tools/go_generics/go_merge/BUILD new file mode 100644 index 000000000..a60437962 --- /dev/null +++ b/tools/go_generics/go_merge/BUILD @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary") + +package(licenses = ["notice"]) # Apache 2.0 + +go_binary( + name = "go_merge", + srcs = ["main.go"], + visibility = ["//visibility:public"], +) -- cgit v1.2.3