blob: 28fd53bf0cc17e7c746a829cddfa033a87ccd094 [file]
# Copyright 2019 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 = [
":diagnostics_reader_cpp_tests_package",
"tests",
]
}
## 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("cpp") {
testonly = true
public_deps = [ ":archive_reader" ]
visibility = [ "//*" ]
}
source_set("archive_reader") {
sources = [
"archive_reader.cc",
"inspect.cc",
"logs.cc",
]
public = [
"archive_reader.h",
"constants.h",
"inspect.h",
"logs.h",
]
deps = [
"//sdk/fidl/fuchsia.inspect:fuchsia.inspect_cpp",
"//sdk/lib/component/incoming/cpp",
"//src/lib/fsl",
"//src/lib/fxl",
"//zircon/system/ulib/sync",
]
public_configs = [ "//sdk/config" ]
visibility = [ "//*" ]
public_deps = [
"//sdk/fidl/fuchsia.diagnostics:fuchsia.diagnostics_cpp",
"//sdk/fidl/fuchsia.diagnostics.types:fuchsia.diagnostics.types_cpp",
"//sdk/lib/async",
"//sdk/lib/async:async-cpp",
"//sdk/lib/fit-promise",
"//sdk/lib/stdcompat",
"//third_party/rapidjson",
"//zircon/system/ulib/inspect",
]
}
cc_test_executable("archive_reader_test") {
sources = [
"archive_reader_unittest.cc",
"inspect_unittest.cc",
"logs_unittest.cc",
]
deps = [
":archive_reader",
"//zircon/system/ulib/zxtest",
]
testonly = true
emit_tool_path = false
}
fuchsia_unittest_component("archive_reader_unittest") {
deps = [ ":archive_reader_test" ]
}
fuchsia_test_package("diagnostics_reader_cpp_tests_package") {
package_name = "diagnostics_reader_cpp_tests-gn"
test_components = [ ":archive_reader_unittest" ]
}