| # Copyright 2026 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. | |
| ## 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") | |
| group("testing") { | |
| testonly = true | |
| public_deps = [ ":captive-thread-testing" ] | |
| visibility = [ | |
| ":*", | |
| "//sdk/lib/c/setjmp:*", | |
| "//src/lib/captive-thread:*", | |
| "//src/zircon/tests/x86-umip:*", | |
| ] | |
| } | |
| library_headers("headers") { | |
| testonly = true | |
| public = [ "include/lib/captive-thread/testing/matchers.h" ] | |
| deps = [ | |
| "//src/lib/captive-thread", | |
| "//third_party/googletest:gmock", | |
| "//third_party/googletest:gtest", | |
| ] | |
| } | |
| static_library("captive-thread-testing") { | |
| testonly = true | |
| sources = [ "registers-as-container.cc" ] | |
| visibility = [ | |
| ":*", | |
| "//src/lib/captive-thread:*", | |
| ] | |
| public_deps = [ | |
| ":headers", | |
| "//src/lib/captive-thread", | |
| "//third_party/googletest:gmock", | |
| "//third_party/googletest:gtest", | |
| ] | |
| } |