blob: a5ff2a4a6a72a2cd0bfa326c2af175f6e454f8d0 [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.
###############################################################################
# AGGREGATE LIBRARIES
source_set("lib") {
public_deps = [
":node_id",
":seq_num",
":stream_id",
]
}
source_set("tests") {
testonly = true
deps = [
":node_id_test",
":seq_num_test",
]
}
###############################################################################
# node_id
source_set("node_id") {
sources = [
"node_id.cc",
"node_id.h",
]
public_deps = [
"//garnet/public/fidl/fuchsia.overnet.protocol",
]
deps = [
"//garnet/lib/overnet/protocol:serialization_helpers",
"//garnet/lib/overnet/vocabulary:status",
]
}
source_set("node_id_test") {
testonly = true
sources = [
"node_id_test.cc",
]
deps = [
":node_id",
"//third_party/googletest:gtest",
]
}
# seq_num
source_set("seq_num") {
sources = [
"seq_num.cc",
"seq_num.h",
]
deps = [
"//garnet/lib/overnet/vocabulary:status",
]
}
source_set("seq_num_test") {
testonly = true
sources = [
"seq_num_test.cc",
]
deps = [
":seq_num",
"//third_party/googletest:gtest",
]
}
# stream_id
source_set("stream_id") {
sources = [
"stream_id.cc",
"stream_id.h",
]
public_deps = [
"//garnet/public/fidl/fuchsia.overnet.protocol",
]
deps = [
"//garnet/lib/overnet/protocol:varint",
]
}