| # 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. | |
| group("tests") { | |
| testonly = true | |
| deps = [ ":devfs-exporter-cpp-test" ] | |
| } | |
| ## 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") | |
| cc_test_executable("cpp_test") { | |
| sources = [ "devfs_exporter_test.cc" ] | |
| output_name = "devfs-exporter-cpp-test" | |
| deps = [ | |
| ":cpp", | |
| "//sdk/fidl/fuchsia.device.fs:fuchsia.device.fs_hlcpp", | |
| "//sdk/fidl/fuchsia.logger:fuchsia.logger_cpp", | |
| "//sdk/lib/async-loop:async-loop-cpp", | |
| "//sdk/lib/async-loop:async-loop-default", | |
| "//sdk/lib/component/outgoing/cpp", | |
| "//sdk/lib/driver/component/cpp:test_base", | |
| "//src/lib/fxl/test:gtest_main", | |
| "//src/lib/testing/loop_fixture", | |
| ] | |
| testonly = true | |
| emit_tool_path = false | |
| } | |
| fuchsia_unittest_package("devfs-exporter-cpp-test") { | |
| package_name = "devfs-exporter-cpp-test-gn" | |
| component_name = "devfs-exporter-cpp-test" | |
| deps = [ ":cpp_test" ] | |
| } | |
| sdk_source_set("cpp") { | |
| public = [ "connector.h" ] | |
| sdk_area = "Driver SDK" | |
| category = "partner" | |
| sdk_name = "driver_devfs_cpp" | |
| include_base = "//sdk" | |
| stable = true | |
| visibility = [ | |
| ":*", | |
| "//sdk/lib/driver/component/cpp:*", | |
| "//src/connectivity/*", | |
| "//src/developer/*", | |
| "//src/devices/*", | |
| "//src/firmware/*", | |
| "//src/graphics/*", | |
| "//src/media/*", | |
| "//src/power/*", | |
| "//vendor/google/*", | |
| ] | |
| public_deps = [ "//sdk/fidl/fuchsia.device.fs:fuchsia.device.fs_cpp" ] | |
| } |