blob: 08dfd41519efcaa772e524c7d4e40a7f8efb1672 [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/host.gni")
import("//build/package.gni")
assert(current_toolchain == host_toolchain,
"zxdb can currently only be compiled for the host.")
executable("zxdb") {
sources = [
"main_host.cc",
]
deps = [
"//garnet/bin/zxdb/client",
"//garnet/bin/zxdb/console",
"//garnet/lib/debug_ipc:client",
]
}
executable("unittests") {
testonly = true
output_name = "zxdb_tests"
sources = [
]
deps = [
"//garnet/bin/zxdb/client:tests",
"//garnet/bin/zxdb/console:tests",
"//garnet/lib/debug_ipc:tests",
"//garnet/lib/debug_ipc/helper:tests",
"//third_party/googletest:gtest_main",
"//third_party/googletest:gtest",
]
}