From 71cf577dca8a74be07d96d35a97c33b1023bfc17 Mon Sep 17 00:00:00 2001
From: Roland McGrath <mcgrathr@google.com>
Date: Thu, 2 May 2019 18:40:51 +0000
Subject: [PATCH] [zircon][gn] Add missing driver libraries to legacy-aux
 manifest

Bug: BLD-447 #comment missing libraries
Change-Id: I07b1496df7fca40e673424755971a26156f9dfa4
---
 zircon/system/dev/audio/lib/BUILD.gn | 13 ++++++++++++
 zircon/system/dev/lib/BUILD.gn       | 30 ++++++++++++++++++++++++++++
 zircon/system/ulib/BUILD.gn          |  7 ++-----
 3 files changed, 45 insertions(+), 5 deletions(-)
 create mode 100644 zircon/system/dev/audio/lib/BUILD.gn
 create mode 100644 zircon/system/dev/lib/BUILD.gn

diff --git a/zircon/system/dev/audio/lib/BUILD.gn b/zircon/system/dev/audio/lib/BUILD.gn
new file mode 100644
index 00000000000..bfd7b03f99c
--- /dev/null
+++ b/zircon/system/dev/audio/lib/BUILD.gn
@@ -0,0 +1,13 @@
+# Copyright 2019 The Fuchsia Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# TODO(BLD-353): This is all temporary hacks for integrating with
+# the legacy Fuchsia GN build.  This file should not exist at all.
+
+group("lib") {
+  deps = [
+    "codec-interface",
+    "simple-audio-stream",
+  ]
+}
diff --git a/zircon/system/dev/lib/BUILD.gn b/zircon/system/dev/lib/BUILD.gn
new file mode 100644
index 00000000000..39a12a1238d
--- /dev/null
+++ b/zircon/system/dev/lib/BUILD.gn
@@ -0,0 +1,30 @@
+# Copyright 2019 The Fuchsia Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# TODO(BLD-353): This is all temporary hacks for integrating with
+# the legacy Fuchsia GN build.  This file should not exist at all.
+
+group("lib") {
+  testonly = true
+  deps = [
+    "aaa-mock-mmio-reg",
+    "amlogic",
+    "broadcom",
+    "fake-bti",
+    "fake_ddk",
+    "focaltech",
+    "hi3660",
+    "mmio",
+    "mock-gpio",
+    "mock-hidbus-ifc",
+    "mock-i2c",
+    "mock-sdio",
+    "msm8x53",
+    "mt8167",
+    "operation",
+    "qcom",
+    "scsi",
+    "usb",
+  ]
+}
diff --git a/zircon/system/ulib/BUILD.gn b/zircon/system/ulib/BUILD.gn
index e802423a0e8..8615d6b1fe7 100644
--- a/zircon/system/ulib/BUILD.gn
+++ b/zircon/system/ulib/BUILD.gn
@@ -14,11 +14,8 @@ assert(current_cpu != "")
 group("ulib") {
   testonly = true
   deps = [
-    "$zx/system/dev/audio/lib/simple-audio-stream",
-    "$zx/system/dev/lib/broadcom",
-    "$zx/system/dev/lib/mmio",
-    "$zx/system/dev/lib/operation",
-    "$zx/system/dev/lib/usb",
+    "$zx/system/dev/audio/lib",
+    "$zx/system/dev/lib",
     "$zx/system/fidl/fuchsia-net-stack:c",
     "$zx/third_party/ulib",
     "async",
-- 
GitLab