| # 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/zircon/zircon_cpu.gni") |
| |
| source_set("platform") { |
| sources = [ |
| "halt_helper.cc", |
| "hw_reboot_reason.cc", |
| "mexec.cc", |
| "power.cc", |
| "ram_mappable_crashlog.cc", |
| ] |
| deps = [ |
| "//zircon/kernel/dev/pdev/hw_watchdog", |
| "//zircon/kernel/lib/boot-options", |
| "//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/gfx", |
| "//zircon/kernel/lib/init", |
| "//zircon/kernel/lib/jtrace:headers", |
| "//zircon/kernel/lib/ktl", |
| "//zircon/kernel/lib/persistent-debuglog", |
| "//zircon/kernel/lib/root_resource_filter", |
| "//zircon/kernel/phys:handoff", |
| "//zircon/system/ulib/fbl", |
| "//zircon/system/ulib/ram-crashlog", |
| "//zircon/system/ulib/zbitl", |
| "//zircon/system/ulib/zxc", |
| ] |
| } |