diff --git a/zircon/system/dev/audio/lib/BUILD.gn b/zircon/system/dev/audio/lib/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..bfd7b03f99c416070df1f4c210d0b784bf4e89cb
--- /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 0000000000000000000000000000000000000000..39a12a1238d57144ab71656179536f3c7ac4af33
--- /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 e802423a0e863931d9380a74d648b1990b0e2c01..8615d6b1fe7ffd99a22da182523b70a6665fc7fa 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",