Add Go support to GN
This change defines GN templates that allow building Go code as part of
Pigweed's build system. Go is also added as a supported language for the
proto_library template.
Change-Id: I3e639a12e6a8ba0a7a928c5d653c623cff58eb86
diff --git a/pw_vars_default.gni b/pw_vars_default.gni
index db202a8..9572a5d 100644
--- a/pw_vars_default.gni
+++ b/pw_vars_default.gni
@@ -77,8 +77,11 @@
# pw_proto_library template to determine which build targets to create.
#
# Supported languages:
-# "cc"
-pw_protobuf_langs = [ "cc" ]
+# "cc", "go"
+pw_protobuf_langs = [
+ "cc",
+ "go",
+]
################################# BACKENDS #####################################