| # Copyright 2017 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| config("dispatcher-pool-config") { |
| include_dirs = [ "include" ] |
| } |
| |
| source_set("dispatcher-pool") { |
| public = [ |
| "include/dispatcher-pool/dispatcher-channel.h", |
| "include/dispatcher-pool/dispatcher-event-source.h", |
| "include/dispatcher-pool/dispatcher-execution-domain.h", |
| "include/dispatcher-pool/dispatcher-thread-pool.h", |
| "include/dispatcher-pool/dispatcher-timer.h", |
| "include/dispatcher-pool/dispatcher-wakeup-event.h", |
| ] |
| |
| sources = [ |
| "debug-logging.h", |
| "dispatcher-channel.cpp", |
| "dispatcher-event-source.cpp", |
| "dispatcher-execution-domain.cpp", |
| "dispatcher-thread-pool.cpp", |
| "dispatcher-timer.cpp", |
| "dispatcher-wakeup-event.cpp", |
| ] |
| |
| deps = [ |
| "//zircon/system/ulib/fbl", |
| "//zircon/system/ulib/zx", |
| ] |
| |
| public_configs = [ ":dispatcher-pool-config" ] |
| |
| } |