| # 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/migrated_targets.gni") |
| |
| zx_library("topology") { |
| sources = [ "system-topology.cc" ] |
| deps = [ |
| ":test", |
| "//sdk/lib/zbi-format", |
| "//zircon/kernel/lib/ktl", |
| "//zircon/system/ulib/fbl", |
| ] |
| public_deps = [ |
| # <lib/system-topology.h> has #include <ktl/move.h>. |
| "//zircon/kernel/lib/ktl:headers", |
| ] |
| } |
| |
| source_set("test") { |
| # TODO: testonly = true |
| sources = [ "system-topology_test.cc" ] |
| include_dirs = [ "include" ] |
| deps = [ "//zircon/kernel/lib/unittest" ] |
| } |