| # Copyright 2025 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/cpp/library_headers.gni") |
| |
| library_headers("headers") { |
| headers = [ "lib/suspend_wakeup_timer.h" ] |
| public_deps = [ |
| "//sdk/lib/fit", |
| "//zircon/kernel/lib/ktl", |
| ] |
| } |
| |
| static_library("suspend_wakeup_timer") { |
| public_deps = [ ":headers" ] |
| |
| sources = [ "suspend_wakeup_timer.cc" ] |
| deps = [ "//zircon/system/ulib/fbl" ] |
| |
| if (current_cpu == "arm64") { |
| deps += [ "//zircon/kernel/dev/timer/armv7_mmio_timer" ] |
| } |
| } |
| |
| group("tests") { |
| testonly = true |
| } |
| |
| group("kernel-tests") { |
| # TODO: testonly = true |
| } |
| |
| group("phys-tests") { |
| testonly = true |
| } |
| |
| group("boot_tests") { |
| testonly = true |
| } |