| # 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. |
| |
| executable("devmgr") { |
| sources = [ |
| "binding.cpp", |
| "coordinator.cpp", |
| "devfs.cpp", |
| "drivers.cpp", |
| "fidl.cpp", |
| "main.cpp", |
| ] |
| |
| deps = [ |
| "$zx/system/fidl/fuchsia-device-manager:c", |
| "$zx/system/fidl/fuchsia-io:c", |
| "$zx/system/fidl/fuchsia-mem:c", |
| "$zx/system/ulib/async-loop:async-loop-cpp", |
| "$zx/system/ulib/bootdata", |
| "$zx/system/ulib/bootsvc-protocol", |
| "$zx/system/ulib/ddk", |
| "$zx/system/ulib/devmgr-launcher", |
| "$zx/system/ulib/driver-info", |
| "$zx/system/ulib/fbl", |
| "$zx/system/ulib/fdio", |
| "$zx/system/ulib/fidl", |
| "$zx/system/ulib/fit", |
| "$zx/system/ulib/fs", |
| "$zx/system/ulib/launchpad", |
| "$zx/system/ulib/libzbi", |
| "$zx/system/ulib/loader-service", |
| "$zx/system/ulib/memfs", |
| "$zx/system/ulib/sync", |
| "$zx/system/ulib/zircon", |
| "$zx/system/ulib/zircon-internal", |
| "$zx/system/ulib/zx", |
| "$zx/system/ulib/zxcpp", |
| "$zx/third_party/ulib/lz4", |
| "../shared", |
| ] |
| |
| # Bring the auxiliaries into the build and the image. devhost isn't |
| # listed here because it's implicitly in data_deps of every driver(). |
| data_deps = [ |
| "../dmctl", |
| "../fshost", |
| "$zx/system/core/netsvc", |
| "$zx/system/core/svchost", |
| "$zx/system/core/virtcon:virtual-console", |
| "$zx/system/core/pwrbtn-monitor", |
| ] |
| } |