| # 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. |
| |
| import("//build/cpp/library_headers.gni") |
| |
| group("testing") { |
| testonly = true |
| public_deps = [ ":captive-thread-testing" ] |
| } |
| |
| library_headers("headers") { |
| testonly = true |
| headers = [ "lib/captive-thread/testing/matchers.h" ] |
| public_deps = [ |
| "..", |
| "//third_party/googletest:gmock", |
| "//third_party/googletest:gtest", |
| ] |
| } |
| |
| static_library("captive-thread-testing") { |
| testonly = true |
| public_deps = [ ":headers" ] |
| sources = [ "registers-as-container.cc" ] |
| } |