blob: 6ce4eaefb68baf34fee931f0bb4e4a446c85043c [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.
# This library is shared between the client and agent code.
static_library("ipc") {
sources = [
"automation_instruction.cc",
"automation_instruction.h",
"decode_exception.cc",
"decode_exception.h",
"filter_utils.cc",
"filter_utils.h",
"message_reader.cc",
"message_reader.h",
"message_writer.cc",
"message_writer.h",
"protocol.cc",
"protocol.h",
"records.cc",
"records.h",
"unwinder_support.cc",
"unwinder_support.h",
]
deps = [
"//src/developer/debug/shared",
"//zircon/system/public",
]
public_deps = [
"//src/lib/fxl",
"//src/lib/unwinder",
]
}
# Unit tests for this directory. These are intended to be referenced by unit
# test targets for the consumers of this library.
source_set("tests") {
testonly = true
sources = [
"automation_instruction_unittests.cc",
"decode_exception_unittests.cc",
"filter_utils_unittests.cc",
"message_unittests.cc",
"protocol_unittests.cc",
]
deps = [
"//src/developer/debug/shared",
"//src/developer/debug/shared:test_support",
"//third_party/googletest:gtest",
]
public_deps = [ ":ipc" ]
}