blob: fd9dd4408af9a671abf8ac874a900f2aa5f20564 [file]
# Copyright 2018 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
public_deps = [ ":process_unittests_package" ]
}
## 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")
source_set("process") {
sources = [ "process_builder.cc" ]
public = [ "process_builder.h" ]
deps = [
"//sdk/lib/component/incoming/cpp",
"//sdk/lib/fdio",
"//zircon/system/ulib/fbl",
]
visibility = [
":*",
"//src/developer/debug/debug_agent:*",
]
public_deps = [
"//sdk/fidl/fuchsia.io:fuchsia.io_cpp",
"//sdk/fidl/fuchsia.process:fuchsia.process_cpp",
"//zircon/system/ulib/zx",
]
}
cc_test_executable("unittests") {
sources = [ "process_builder_unittest.cc" ]
output_name = "process_unittests"
deps = [
":process",
"//sdk/lib/component/incoming/cpp",
"//src/lib/fxl/test:gtest_main",
"//zircon/system/ulib/fbl",
]
testonly = true
emit_tool_path = false
}
fuchsia_component_manifest("process_unittests_manifest") {
testonly = true
component_name = "process_unittests"
manifest = "meta/process_unittests.cml"
}
fuchsia_test_component("process_unittests_component") {
cm_label = ":process_unittests_manifest"
deps = [
":unittests",
"//src/zircon/bin/zxsh:sh",
]
}
fuchsia_test_package("process_unittests_package") {
package_name = "process_unittests-gn"
test_components = [ ":process_unittests_component" ]
}