| # Copyright 2022 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. |
| |
| import("//build_overrides/pigweed.gni") |
| import("$dir_pw_build/python_venv.gni") |
| |
| source_set("pw_async_task") { |
| public_deps = [ "src/pw_async:task" ] |
| } |
| |
| source_set("pw_async_dispatcher") { |
| public_deps = [ "src/pw_async:dispatcher" ] |
| } |
| |
| source_set("pw_async_heap_dispatcher") { |
| public_deps = [ "src/pw_async:heap_dispatcher" ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ |
| "backends/pw_async_fuchsia:tests", |
| "backends/pw_random:tests", |
| ] |
| } |
| |
| # Empty Python virtualenv for pw_python_action targets to run under. |
| pw_python_venv("fuchsia_pigweed_python_venv") { |
| path = "$root_build_dir/python-venv" |
| source_packages = [] |
| constraints = [] |
| requirements = [] |
| } |