# Copyright 2021 The Hafnium Authors. # # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file or at # https://opensource.org/licenses/BSD-3-Clause. config("config") { include_dirs = [ "inc", "//test/inc", ] } source_set("common") { testonly = true public_configs = [ ":config", "//src/arch/aarch64:arch_config", ] sources = [ "common.c", ] } source_set("partition_services") { testonly = true public_configs = [ ":config", "//src/arch/aarch64:arch_config", ] sources = [ "partition_services.c", ] deps = [ ":common", "//src/arch/aarch64:arch", "//src/arch/aarch64/hftest:interrupts", "//test/vmapi/common:common", ] } source_set("notifications") { testonly = true public_configs = [ ":config", "//src/arch/aarch64:arch_config", ] sources = [ "notifications.c", ] deps = [ ":common", ] } source_set("power_mgt") { testonly = true public_configs = [ ":config", "//src/arch/aarch64:arch_config", ] sources = [ "power_mgt.c", ] } source_set("message_loop") { testonly = true public_configs = [ ":config", "//test/hftest:hftest_config", "//src/arch/aarch64:arch_config", ] sources = [ "message_loop.c", ] deps = [ ":notifications", ":partition_services", ":power_mgt", ] }