[build][alln] Fix Zircon library dependency
This CL depends on [1] being submitted first to fuchsia.git
It updates references to the zircon library into a proper target
dependency. This is required to move the sysroot generation to the
Fuchsia build.
Bug: 60613
Testing: Does not change the build.
[1] https://fuchsia-review.googlesource.com/c/fuchsia/+/433557
Change-Id: I82b88bb8d300f6e08c4040825f4128da9ecd2c07
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/sbase/+/434758
Reviewed-by: Petr Hosek <phosek@google.com>
diff --git a/BUILD.gn b/BUILD.gn
index fa87a52..832d457 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -146,25 +146,20 @@
executable(bin + "_bin") {
output_name = bin
- sources = [
- "$bin.c",
- ]
-
- libs = [ "zircon" ]
+ sources = [ "$bin.c" ]
deps = [
"libutf",
"libutil",
"//sdk/lib/fdio",
+ "//src/zircon/lib/zircon",
]
configs += [ ":sbase_config" ]
}
package(bin) {
- deps = [
- ":${bin}_bin",
- ]
+ deps = [ ":${bin}_bin" ]
binaries = [
{