From 04e0ff45f4fcc7182e39b527f52b1de3845f4301 Mon Sep 17 00:00:00 2001
From: Roland McGrath <mcgrathr@google.com>
Date: Mon, 13 May 2019 21:46:16 +0000
Subject: [PATCH] [build][fidl] Fix //zircon/public/fidl metadata

Step #1's local testing was misconfigured and failed to test the
step #2 integration build properly as the bots do, so a trivial
bug slipped through.

Bug: ZX-3365
Change-Id: I331b3b989125c5982632d310daa8b7d512a49faf
---
 zircon/public/gn/fidl.gni | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/zircon/public/gn/fidl.gni b/zircon/public/gn/fidl.gni
index 9e1d1c33f99..b74543a7510 100644
--- a/zircon/public/gn/fidl.gni
+++ b/zircon/public/gn/fidl.gni
@@ -286,6 +286,8 @@ template("fidl_library") {
           legacy_dirs += [ "fidl/$fidl_name" ]
           legacy_targets += [
             {
+              _label = get_label_info(":$target_name", "label_with_toolchain")
+              _zircon_public = "fidl"
               import = "//build/fidl/fidl.gni"
               target_type = "fidl"
               target_name = fidl_name
-- 
GitLab