blob: 1ac88d80ac779b416e540a9a725d4de2e92b7450 [file] [log] [blame]
# 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/cmx/cmx.gni")
import("//build/images/manifest.gni")
cm_compile("root.cm") {
data = rebase_path("meta/root.cml")
}
# TODO(BLD-448): This should move into the devcoordinator package that's
# included in bootfs along with devcoordinator's binary and other
# resources/libraries. For now it's here since cm_compile doesn't exist in
# //zircon.
cm_compile("devcoordinator.cm") {
data = rebase_path("meta/devcoordinator.cml")
}
# TODO(BLD-448): Should become a package just containing the root manifests.
generate_manifest("root_manifests.bootfs") {
deps = [
":devcoordinator.cm",
":root.cm",
]
root_cm_out = get_target_outputs(":root.cm")
devc_cm_out = get_target_outputs(":devcoordinator.cm")
args = [
"--entry=meta/root.cm=" + rebase_path(root_cm_out[0]),
"--entry=meta/devcoordinator.cm=" + rebase_path(devc_cm_out[0]),
]
}