| # Copyright 2020 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 |
| |
| zx_library("load_balancer") { |
| host = true |
| kernel = true |
| sources = [ "load_balancer_thread.cc" ] |
| deps = [ |
| ":test", |
| "$zx/kernel/lib/console", |
| "$zx/kernel/lib/counters", |
| "$zx/kernel/lib/init", |
| "$zx/kernel/lib/topology", |
| ] |
| } |
| |
| source_set("test") { |
| # TODO: testonly = true |
| sources = [ "load_balancer_test.cc" ] |
| include_dirs = [ "include" ] |
| deps = [ |
| "$zx/kernel/lib/fbl", |
| "$zx/kernel/lib/ktl", |
| "$zx/kernel/lib/topology", |
| "$zx/kernel/lib/unittest", |
| ] |
| } |