blob: 74a185ad4c91f3456615c32f8b6b042ccceb4708 [file] [log] [blame]
# 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.
import("//build/package.gni")
import("//build/test/test_package.gni")
import("//build/testing/environments.gni")
source_set("process") {
sources = [
"process_builder.cc",
"process_builder.h",
]
public_deps = [
"//sdk/lib/sys/cpp",
"//zircon/public/lib/zx",
"//zircon/system/fidl/fuchsia-process",
]
deps = [
"//zircon/public/lib/fbl",
"//zircon/public/lib/fdio",
]
}
executable("unittests") {
testonly = true
output_name = "process_unittests"
sources = [ "process_builder_unittest.cc" ]
deps = [
":process",
"//sdk/lib/sys/cpp",
"//src/lib/fxl/test:gtest_main",
"//zircon/public/lib/fbl",
]
}
test_package("process_unittests") {
deps = [ ":unittests" ]
tests = [
{
name = "process_unittests"
environments = basic_envs
},
]
}