| # Copyright 2023 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. | |
| source_set("minimal_compat_environment") { | |
| sources = [ "minimal_compat_environment.h" ] | |
| public_deps = [ "//sdk/lib/driver/compat/cpp" ] | |
| } | |
| ## BAZEL2GN SENTINEL - DO NOT EDIT BELOW THIS LINE ## | |
| # | |
| # ________ _________ ________ ________ | |
| # |\ ____\|\___ ___\\ __ \|\ __ \ | |
| # \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \ | |
| # \ \_____ \ \ \ \ \ \ \\\ \ \ ____\ | |
| # \|____|\ \ \ \ \ \ \ \\\ \ \ \___| | |
| # ____\_\ \ \ \__\ \ \_______\ \__\ | |
| # |\_________\ \|__| \|_______|\|__| | |
| # \|_________| | |
| # | |
| # | |
| # AUTO-GENERATED - DO NOT EDIT | |
| # | |
| # The targets below are auto-generated based on the targets defined in the | |
| # BUILD.bazel file from the same directory. If you made changes to targets in | |
| # Bazel, instead of editing this file manually, run: | |
| # | |
| # > fx bazel2gn | |
| # | |
| # Please do NOT edit this file directly. Instead, edit the BUILD.bazel file and | |
| # rerun bazel2gn. | |
| import("//build/tools/bazel2gn/bazel_migration.gni") | |
| sdk_source_set("cpp") { | |
| sources = [ | |
| "driver_runtime.cc", | |
| "internal/driver_lifecycle.cc", | |
| "internal/test_environment.cc", | |
| "test_node.cc", | |
| ] | |
| public = [ | |
| "driver_lifecycle.h", | |
| "driver_runtime.h", | |
| "driver_test.h", | |
| "health_test_utils.h", | |
| "test_node.h", | |
| ] | |
| sdk_area = "Driver SDK" | |
| category = "partner" | |
| sdk_headers_for_internal_use = [ | |
| "internal/driver_lifecycle.h", | |
| "internal/internals.h", | |
| "internal/test_environment.h", | |
| ] | |
| public += [ | |
| "internal/driver_lifecycle.h", | |
| "internal/internals.h", | |
| "internal/test_environment.h", | |
| ] | |
| sdk_name = "driver_testing_cpp" | |
| deps = [ "//sdk/lib/async-default" ] | |
| include_base = "//sdk" | |
| public_configs = [ "//sdk/config" ] | |
| stable = true | |
| visibility = [ "//*" ] | |
| public_deps = [ | |
| "//sdk/lib/async_patterns/testing/cpp", | |
| "//sdk/lib/driver/component/cpp", | |
| "//sdk/lib/driver/runtime:driver_runtime_cpp", | |
| "//sdk/lib/driver/runtime:driver_runtime_env_cpp", | |
| "//sdk/lib/driver/runtime:driver_runtime_testing", | |
| "//sdk/lib/driver/runtime/testing/cpp", | |
| "//src/devices/bin/driver_runtime", | |
| ] | |
| } | |
| sdk_source_set("scoped_global_logger") { | |
| sources = [ "scoped_global_logger.cc" ] | |
| public = [ "scoped_global_logger.h" ] | |
| sdk_area = "Driver SDK" | |
| category = "partner" | |
| sdk_name = "driver_testing_scoped_global_logger_cpp" | |
| include_base = "//sdk" | |
| public_configs = [ "//sdk/config" ] | |
| stable = true | |
| visibility = [ "//*" ] | |
| public_deps = [ | |
| "//sdk/lib/async-loop:async-loop-cpp", | |
| "//sdk/lib/driver/logging/cpp", | |
| ] | |
| } |