| # 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 |
| |
| library("pc") { |
| kernel = true |
| sources = [ |
| "acpi.cpp", |
| "console.cpp", |
| "debug.cpp", |
| "hpet.cpp", |
| "interrupts.cpp", |
| "keyboard.cpp", |
| "memory.cpp", |
| "pcie_quirks.cpp", |
| "pic.cpp", |
| "platform.cpp", |
| "platform_pcie.cpp", |
| "power.cpp", |
| "smbios.cpp", |
| "timer.cpp", |
| ] |
| deps = [ |
| "$zx/kernel/dev/interrupt", |
| "$zx/kernel/dev/pcie", |
| "$zx/kernel/lib/cbuf", |
| "$zx/kernel/lib/console", |
| "$zx/kernel/lib/fbl", |
| "$zx/kernel/lib/fixed_point", |
| "$zx/kernel/lib/gfxconsole", |
| "$zx/kernel/lib/lockdep", |
| "$zx/kernel/lib/memory_limit", |
| "$zx/kernel/lib/pow2_range_allocator", |
| "$zx/kernel/lib/version", |
| "$zx/system/ulib/libzbi", |
| "$zx/system/ulib/smbios", |
| "$zx/third_party/lib/acpica", |
| "$zx/third_party/ulib/cksum", |
| ] |
| public_deps = [ |
| # <platform/pc/acpi.h> has #include <acpica/acpi.h>. |
| "$zx/third_party/lib/acpica:headers", |
| ] |
| } |