| # 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. | |
| import("//build/dist/component_manifest_resources.gni") | |
| group("bootfs") { | |
| deps = [ | |
| ":meta", | |
| ":miscsvc", | |
| ] | |
| } | |
| executable("miscsvc") { | |
| if (is_fuchsia) { | |
| fdio_config = [ "//build/config/fuchsia:fdio_config" ] | |
| if (configs + fdio_config - fdio_config != configs) { | |
| configs -= fdio_config | |
| } | |
| } | |
| sources = [ "miscsvc.cc" ] | |
| deps = [ | |
| "//sdk/lib/fdio", | |
| "//src/storage/lib/paver", | |
| "//src/sys/lib/stdout-to-debuglog/cpp", | |
| "//zircon/system/ulib/async-loop:async-loop-cpp", | |
| "//zircon/system/ulib/async-loop:async-loop-default", | |
| "//zircon/system/ulib/fbl", | |
| "//zircon/system/ulib/kcounter", | |
| "//zircon/system/ulib/svc", | |
| ] | |
| output_dir = "$root_out_dir/zircon-migrated" | |
| } | |
| component_manifest_resources("meta") { | |
| sources = [ "meta/miscsvc.cml" ] | |
| } |