blob: 38b3c49a381e0face9d42f037f7d59f0e2d21c39 [file] [log] [blame]
# Copyright 2019 The Fuchsia Authors
#
# Use of this source code is governed by a MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT
import("//build/unification/global_variables.gni")
source_set("platform") {
sources = [
"boot-options.cc",
"crashlog.cc",
"halt_helper.cc",
"hw_reboot_reason.cc",
"power.cc",
# TODO(fxbug.dev/67615): delete once code-patching is migrated to physboot.
"code-patches.cc",
]
deps = [
"//zircon/kernel/arch/$zircon_cpu/code-patches",
"//zircon/kernel/dev/pdev/hw_watchdog",
"//zircon/kernel/lib/boot-options",
"//zircon/kernel/lib/cmdline",
"//zircon/kernel/lib/code-patching:headers",
"//zircon/kernel/lib/console",
"//zircon/kernel/lib/counters",
"//zircon/kernel/lib/crashlog",
"//zircon/kernel/lib/debuglog",
"//zircon/kernel/lib/init",
"//zircon/kernel/lib/root_resource_filter",
"//zircon/system/ulib/ram-crashlog",
]
}