| # 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. |
| |
| # We need to declare this target here because we normally build zircon.c using |
| # the ZN build system, whereas this target is in the GN build system. When the |
| # two builds are unified, we can have a single source_set that is linked into |
| # both dash and cmd (and presumably declared closer to zircon.c). |
| source_set("legacy") { |
| sources = [ |
| "//zircon/third_party/uapp/dash/src/bltin/zircon.c", |
| "builtins.h", |
| ] |
| |
| public_deps = [ |
| "//sdk/fidl/fuchsia.device.manager:fuchsia.device.manager_c", |
| "//sdk/fidl/fuchsia.hardware.power.statecontrol:fuchsia.hardware.power.statecontrol_c", |
| "//sdk/fidl/fuchsia.hardware.pty:fuchsia.hardware.pty_c", |
| "//sdk/fidl/fuchsia.kernel:fuchsia.kernel_c", |
| "//sdk/lib/fdio", |
| "//src/lib/ddk", |
| "//zircon/public/lib/pretty", |
| "//zircon/system/ulib/fidl:fidl_base", |
| ] |
| |
| # TODO(fxbug.dev/58162): delete the below and fix compiler warnings |
| configs += [ "//build/config:Wno-conversion" ] |
| } |