blob: 594be99cc304320705abcf2b2e57567b46cf33bf [file] [log] [blame]
# Copyright 2017 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.
source_set("common") {
sources = [
"bt_snoop_logger.cc",
"bt_snoop_logger.h",
"byte_buffer.cc",
"byte_buffer.h",
"cancelable_callback.h",
"device_address.cc",
"device_address.h",
"intrusive_pointer_traits.h",
"manufacturer_names.cc",
"manufacturer_names.h",
"observer_list.h",
"optional.h",
"packet_view.h",
"run_task_sync.cc",
"run_task_sync.h",
"slab_allocator.cc",
"slab_allocator.h",
"slab_allocator_traits.h",
"slab_buffer.h",
"test_helpers.h",
"uint128.h",
"uuid.cc",
"uuid.h",
]
public_deps = [
"//garnet/public/lib/fxl",
"//zircon/system/ulib/fbl",
]
}
source_set("tests") {
testonly = true
sources = [
# TODO(armansito): This test intermittently fails to remove the tmp file and
# sometimes fails to read its contents. Figure out what to do with it as the
# utilty of the test itself is questionable.
# "bt_snoop_logger_unittest.cc",
"byte_buffer_unittest.cc",
"cancelable_callback_unittest.cc",
"device_address_unittest.cc",
"manufacturer_names_unittest.cc",
"observer_list_unittest.cc",
"optional_unittest.cc",
"packet_view_unittest.cc",
"run_task_sync_unittest.cc",
"slab_allocator_traits_unittest.cc",
"slab_allocator_unittest.cc",
"uuid_unittest.cc",
]
deps = [
":common",
"//garnet/public/lib/fsl",
"//garnet/public/lib/fxl",
"//third_party/gtest",
]
}