blob: f8f8b0a8281bc089d5ddc6c8ea3b812e55faba30 [file] [log] [blame]
# Copyright 2016 The Fuchsia Authors. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the
# distribution.
# * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import("//packages/package.gni")
package("asio_unittests") {
testonly = true
deps = [
":tests",
]
binaries = [ {
name = "asio_unittests"
} ]
}
# asio is, in our configuration, a header-only library. The defines
# here are necessary to teach asio to not look for the rest of boost,
# to not want to be installed anywhere, and to not use exceptions or
# rtti.
config("asio_config") {
include_dirs = [ "asio/include" ]
defines = [
"ASIO_STANDALONE", # Don't look for the rest of boost
"ASIO_NO_EXCEPTIONS",
"ASIO_NO_TYPEID",
"ASIO_HAS_STD_SYSTEM_ERROR", # Force the use of C++11 std::error_code
]
}
source_set("asio") {
sources = [
"asio/include/asio.hpp",
"asio/include/asio/associated_allocator.hpp",
"asio/include/asio/associated_executor.hpp",
"asio/include/asio/async_result.hpp",
"asio/include/asio/basic_datagram_socket.hpp",
"asio/include/asio/basic_deadline_timer.hpp",
"asio/include/asio/basic_io_object.hpp",
"asio/include/asio/basic_raw_socket.hpp",
"asio/include/asio/basic_seq_packet_socket.hpp",
"asio/include/asio/basic_serial_port.hpp",
"asio/include/asio/basic_signal_set.hpp",
"asio/include/asio/basic_socket.hpp",
"asio/include/asio/basic_socket_acceptor.hpp",
"asio/include/asio/basic_socket_iostream.hpp",
"asio/include/asio/basic_socket_streambuf.hpp",
"asio/include/asio/basic_stream_socket.hpp",
"asio/include/asio/basic_streambuf.hpp",
"asio/include/asio/basic_streambuf_fwd.hpp",
"asio/include/asio/basic_waitable_timer.hpp",
"asio/include/asio/bind_executor.hpp",
"asio/include/asio/buffer.hpp",
"asio/include/asio/buffered_read_stream.hpp",
"asio/include/asio/buffered_read_stream_fwd.hpp",
"asio/include/asio/buffered_stream.hpp",
"asio/include/asio/buffered_stream_fwd.hpp",
"asio/include/asio/buffered_write_stream.hpp",
"asio/include/asio/buffered_write_stream_fwd.hpp",
"asio/include/asio/buffers_iterator.hpp",
"asio/include/asio/completion_condition.hpp",
"asio/include/asio/connect.hpp",
"asio/include/asio/coroutine.hpp",
"asio/include/asio/datagram_socket_service.hpp",
"asio/include/asio/deadline_timer.hpp",
"asio/include/asio/deadline_timer_service.hpp",
"asio/include/asio/defer.hpp",
"asio/include/asio/detail/array.hpp",
"asio/include/asio/detail/array_fwd.hpp",
"asio/include/asio/detail/assert.hpp",
"asio/include/asio/detail/atomic_count.hpp",
"asio/include/asio/detail/base_from_completion_cond.hpp",
"asio/include/asio/detail/bind_handler.hpp",
"asio/include/asio/detail/buffer_resize_guard.hpp",
"asio/include/asio/detail/buffer_sequence_adapter.hpp",
"asio/include/asio/detail/buffered_stream_storage.hpp",
"asio/include/asio/detail/call_stack.hpp",
"asio/include/asio/detail/chrono.hpp",
"asio/include/asio/detail/chrono_time_traits.hpp",
"asio/include/asio/detail/completion_handler.hpp",
"asio/include/asio/detail/concurrency_hint.hpp",
"asio/include/asio/detail/conditionally_enabled_event.hpp",
"asio/include/asio/detail/conditionally_enabled_mutex.hpp",
"asio/include/asio/detail/config.hpp",
"asio/include/asio/detail/consuming_buffers.hpp",
"asio/include/asio/detail/cstddef.hpp",
"asio/include/asio/detail/cstdint.hpp",
"asio/include/asio/detail/date_time_fwd.hpp",
"asio/include/asio/detail/deadline_timer_service.hpp",
"asio/include/asio/detail/dependent_type.hpp",
"asio/include/asio/detail/descriptor_ops.hpp",
"asio/include/asio/detail/descriptor_read_op.hpp",
"asio/include/asio/detail/descriptor_write_op.hpp",
"asio/include/asio/detail/dev_poll_reactor.hpp",
"asio/include/asio/detail/epoll_reactor.hpp",
"asio/include/asio/detail/event.hpp",
"asio/include/asio/detail/eventfd_select_interrupter.hpp",
"asio/include/asio/detail/executor_op.hpp",
"asio/include/asio/detail/fd_set_adapter.hpp",
"asio/include/asio/detail/fenced_block.hpp",
"asio/include/asio/detail/functional.hpp",
"asio/include/asio/detail/gcc_arm_fenced_block.hpp",
"asio/include/asio/detail/gcc_hppa_fenced_block.hpp",
"asio/include/asio/detail/gcc_sync_fenced_block.hpp",
"asio/include/asio/detail/gcc_x86_fenced_block.hpp",
"asio/include/asio/detail/global.hpp",
"asio/include/asio/detail/handler_alloc_helpers.hpp",
"asio/include/asio/detail/handler_cont_helpers.hpp",
"asio/include/asio/detail/handler_invoke_helpers.hpp",
"asio/include/asio/detail/handler_tracking.hpp",
"asio/include/asio/detail/handler_type_requirements.hpp",
"asio/include/asio/detail/handler_work.hpp",
"asio/include/asio/detail/hash_map.hpp",
"asio/include/asio/detail/impl/buffer_sequence_adapter.ipp",
"asio/include/asio/detail/impl/descriptor_ops.ipp",
"asio/include/asio/detail/impl/dev_poll_reactor.hpp",
"asio/include/asio/detail/impl/dev_poll_reactor.ipp",
"asio/include/asio/detail/impl/epoll_reactor.hpp",
"asio/include/asio/detail/impl/epoll_reactor.ipp",
"asio/include/asio/detail/impl/eventfd_select_interrupter.ipp",
"asio/include/asio/detail/impl/handler_tracking.ipp",
"asio/include/asio/detail/impl/kqueue_reactor.hpp",
"asio/include/asio/detail/impl/kqueue_reactor.ipp",
"asio/include/asio/detail/impl/null_event.ipp",
"asio/include/asio/detail/impl/pipe_select_interrupter.ipp",
"asio/include/asio/detail/impl/posix_event.ipp",
"asio/include/asio/detail/impl/posix_mutex.ipp",
"asio/include/asio/detail/impl/posix_thread.ipp",
"asio/include/asio/detail/impl/posix_tss_ptr.ipp",
"asio/include/asio/detail/impl/reactive_descriptor_service.ipp",
"asio/include/asio/detail/impl/reactive_serial_port_service.ipp",
"asio/include/asio/detail/impl/reactive_socket_service_base.ipp",
"asio/include/asio/detail/impl/resolver_service_base.ipp",
"asio/include/asio/detail/impl/scheduler.ipp",
"asio/include/asio/detail/impl/select_reactor.hpp",
"asio/include/asio/detail/impl/select_reactor.ipp",
"asio/include/asio/detail/impl/service_registry.hpp",
"asio/include/asio/detail/impl/service_registry.ipp",
"asio/include/asio/detail/impl/signal_set_service.ipp",
"asio/include/asio/detail/impl/socket_ops.ipp",
"asio/include/asio/detail/impl/socket_select_interrupter.ipp",
"asio/include/asio/detail/impl/strand_executor_service.hpp",
"asio/include/asio/detail/impl/strand_executor_service.ipp",
"asio/include/asio/detail/impl/strand_service.hpp",
"asio/include/asio/detail/impl/strand_service.ipp",
"asio/include/asio/detail/impl/throw_error.ipp",
"asio/include/asio/detail/impl/timer_queue_ptime.ipp",
"asio/include/asio/detail/impl/timer_queue_set.ipp",
"asio/include/asio/detail/impl/win_event.ipp",
"asio/include/asio/detail/impl/win_iocp_handle_service.ipp",
"asio/include/asio/detail/impl/win_iocp_io_context.hpp",
"asio/include/asio/detail/impl/win_iocp_io_context.ipp",
"asio/include/asio/detail/impl/win_iocp_serial_port_service.ipp",
"asio/include/asio/detail/impl/win_iocp_socket_service_base.ipp",
"asio/include/asio/detail/impl/win_mutex.ipp",
"asio/include/asio/detail/impl/win_object_handle_service.ipp",
"asio/include/asio/detail/impl/win_static_mutex.ipp",
"asio/include/asio/detail/impl/win_thread.ipp",
"asio/include/asio/detail/impl/win_tss_ptr.ipp",
"asio/include/asio/detail/impl/winrt_ssocket_service_base.ipp",
"asio/include/asio/detail/impl/winrt_timer_scheduler.hpp",
"asio/include/asio/detail/impl/winrt_timer_scheduler.ipp",
"asio/include/asio/detail/impl/winsock_init.ipp",
"asio/include/asio/detail/io_control.hpp",
"asio/include/asio/detail/is_buffer_sequence.hpp",
"asio/include/asio/detail/is_executor.hpp",
"asio/include/asio/detail/keyword_tss_ptr.hpp",
"asio/include/asio/detail/kqueue_reactor.hpp",
"asio/include/asio/detail/limits.hpp",
"asio/include/asio/detail/local_free_on_block_exit.hpp",
"asio/include/asio/detail/macos_fenced_block.hpp",
"asio/include/asio/detail/memory.hpp",
"asio/include/asio/detail/mutex.hpp",
"asio/include/asio/detail/noncopyable.hpp",
"asio/include/asio/detail/null_event.hpp",
"asio/include/asio/detail/null_fenced_block.hpp",
"asio/include/asio/detail/null_global.hpp",
"asio/include/asio/detail/null_mutex.hpp",
"asio/include/asio/detail/null_reactor.hpp",
"asio/include/asio/detail/null_signal_blocker.hpp",
"asio/include/asio/detail/null_socket_service.hpp",
"asio/include/asio/detail/null_static_mutex.hpp",
"asio/include/asio/detail/null_thread.hpp",
"asio/include/asio/detail/null_tss_ptr.hpp",
"asio/include/asio/detail/object_pool.hpp",
"asio/include/asio/detail/old_win_sdk_compat.hpp",
"asio/include/asio/detail/op_queue.hpp",
"asio/include/asio/detail/operation.hpp",
"asio/include/asio/detail/pipe_select_interrupter.hpp",
"asio/include/asio/detail/pop_options.hpp",
"asio/include/asio/detail/posix_event.hpp",
"asio/include/asio/detail/posix_fd_set_adapter.hpp",
"asio/include/asio/detail/posix_global.hpp",
"asio/include/asio/detail/posix_mutex.hpp",
"asio/include/asio/detail/posix_signal_blocker.hpp",
"asio/include/asio/detail/posix_static_mutex.hpp",
"asio/include/asio/detail/posix_thread.hpp",
"asio/include/asio/detail/posix_tss_ptr.hpp",
"asio/include/asio/detail/push_options.hpp",
"asio/include/asio/detail/reactive_descriptor_service.hpp",
"asio/include/asio/detail/reactive_null_buffers_op.hpp",
"asio/include/asio/detail/reactive_serial_port_service.hpp",
"asio/include/asio/detail/reactive_socket_accept_op.hpp",
"asio/include/asio/detail/reactive_socket_connect_op.hpp",
"asio/include/asio/detail/reactive_socket_recv_op.hpp",
"asio/include/asio/detail/reactive_socket_recvfrom_op.hpp",
"asio/include/asio/detail/reactive_socket_recvmsg_op.hpp",
"asio/include/asio/detail/reactive_socket_send_op.hpp",
"asio/include/asio/detail/reactive_socket_sendto_op.hpp",
"asio/include/asio/detail/reactive_socket_service.hpp",
"asio/include/asio/detail/reactive_socket_service_base.hpp",
"asio/include/asio/detail/reactive_wait_op.hpp",
"asio/include/asio/detail/reactor.hpp",
"asio/include/asio/detail/reactor_fwd.hpp",
"asio/include/asio/detail/reactor_op.hpp",
"asio/include/asio/detail/reactor_op_queue.hpp",
"asio/include/asio/detail/recycling_allocator.hpp",
"asio/include/asio/detail/regex_fwd.hpp",
"asio/include/asio/detail/resolve_endpoint_op.hpp",
"asio/include/asio/detail/resolve_op.hpp",
"asio/include/asio/detail/resolve_query_op.hpp",
"asio/include/asio/detail/resolver_service.hpp",
"asio/include/asio/detail/resolver_service_base.hpp",
"asio/include/asio/detail/scheduler.hpp",
"asio/include/asio/detail/scheduler_operation.hpp",
"asio/include/asio/detail/scheduler_thread_info.hpp",
"asio/include/asio/detail/scoped_lock.hpp",
"asio/include/asio/detail/scoped_ptr.hpp",
"asio/include/asio/detail/select_interrupter.hpp",
"asio/include/asio/detail/select_reactor.hpp",
"asio/include/asio/detail/service_registry.hpp",
"asio/include/asio/detail/signal_blocker.hpp",
"asio/include/asio/detail/signal_handler.hpp",
"asio/include/asio/detail/signal_init.hpp",
"asio/include/asio/detail/signal_op.hpp",
"asio/include/asio/detail/signal_set_service.hpp",
"asio/include/asio/detail/socket_holder.hpp",
"asio/include/asio/detail/socket_ops.hpp",
"asio/include/asio/detail/socket_option.hpp",
"asio/include/asio/detail/socket_select_interrupter.hpp",
"asio/include/asio/detail/socket_types.hpp",
"asio/include/asio/detail/solaris_fenced_block.hpp",
"asio/include/asio/detail/static_mutex.hpp",
"asio/include/asio/detail/std_event.hpp",
"asio/include/asio/detail/std_global.hpp",
"asio/include/asio/detail/std_mutex.hpp",
"asio/include/asio/detail/std_static_mutex.hpp",
"asio/include/asio/detail/std_thread.hpp",
"asio/include/asio/detail/strand_executor_service.hpp",
"asio/include/asio/detail/strand_service.hpp",
"asio/include/asio/detail/string_view.hpp",
"asio/include/asio/detail/thread.hpp",
"asio/include/asio/detail/thread_context.hpp",
"asio/include/asio/detail/thread_group.hpp",
"asio/include/asio/detail/thread_info_base.hpp",
"asio/include/asio/detail/throw_error.hpp",
"asio/include/asio/detail/throw_exception.hpp",
"asio/include/asio/detail/timer_queue.hpp",
"asio/include/asio/detail/timer_queue_base.hpp",
"asio/include/asio/detail/timer_queue_ptime.hpp",
"asio/include/asio/detail/timer_queue_set.hpp",
"asio/include/asio/detail/timer_scheduler.hpp",
"asio/include/asio/detail/timer_scheduler_fwd.hpp",
"asio/include/asio/detail/tss_ptr.hpp",
"asio/include/asio/detail/type_traits.hpp",
"asio/include/asio/detail/variadic_templates.hpp",
"asio/include/asio/detail/wait_handler.hpp",
"asio/include/asio/detail/wait_op.hpp",
"asio/include/asio/detail/win_event.hpp",
"asio/include/asio/detail/win_fd_set_adapter.hpp",
"asio/include/asio/detail/win_fenced_block.hpp",
"asio/include/asio/detail/win_global.hpp",
"asio/include/asio/detail/win_iocp_handle_read_op.hpp",
"asio/include/asio/detail/win_iocp_handle_service.hpp",
"asio/include/asio/detail/win_iocp_handle_write_op.hpp",
"asio/include/asio/detail/win_iocp_io_context.hpp",
"asio/include/asio/detail/win_iocp_null_buffers_op.hpp",
"asio/include/asio/detail/win_iocp_operation.hpp",
"asio/include/asio/detail/win_iocp_overlapped_op.hpp",
"asio/include/asio/detail/win_iocp_overlapped_ptr.hpp",
"asio/include/asio/detail/win_iocp_serial_port_service.hpp",
"asio/include/asio/detail/win_iocp_socket_accept_op.hpp",
"asio/include/asio/detail/win_iocp_socket_connect_op.hpp",
"asio/include/asio/detail/win_iocp_socket_recv_op.hpp",
"asio/include/asio/detail/win_iocp_socket_recvfrom_op.hpp",
"asio/include/asio/detail/win_iocp_socket_recvmsg_op.hpp",
"asio/include/asio/detail/win_iocp_socket_send_op.hpp",
"asio/include/asio/detail/win_iocp_socket_service.hpp",
"asio/include/asio/detail/win_iocp_socket_service_base.hpp",
"asio/include/asio/detail/win_iocp_thread_info.hpp",
"asio/include/asio/detail/win_iocp_wait_op.hpp",
"asio/include/asio/detail/win_mutex.hpp",
"asio/include/asio/detail/win_object_handle_service.hpp",
"asio/include/asio/detail/win_static_mutex.hpp",
"asio/include/asio/detail/win_thread.hpp",
"asio/include/asio/detail/win_tss_ptr.hpp",
"asio/include/asio/detail/winapp_thread.hpp",
"asio/include/asio/detail/wince_thread.hpp",
"asio/include/asio/detail/winrt_async_manager.hpp",
"asio/include/asio/detail/winrt_async_op.hpp",
"asio/include/asio/detail/winrt_resolve_op.hpp",
"asio/include/asio/detail/winrt_resolver_service.hpp",
"asio/include/asio/detail/winrt_socket_connect_op.hpp",
"asio/include/asio/detail/winrt_socket_recv_op.hpp",
"asio/include/asio/detail/winrt_socket_send_op.hpp",
"asio/include/asio/detail/winrt_ssocket_service.hpp",
"asio/include/asio/detail/winrt_ssocket_service_base.hpp",
"asio/include/asio/detail/winrt_timer_scheduler.hpp",
"asio/include/asio/detail/winrt_utils.hpp",
"asio/include/asio/detail/winsock_init.hpp",
"asio/include/asio/detail/work_dispatcher.hpp",
"asio/include/asio/detail/wrapped_handler.hpp",
"asio/include/asio/dispatch.hpp",
"asio/include/asio/error.hpp",
"asio/include/asio/error_code.hpp",
"asio/include/asio/execution_context.hpp",
"asio/include/asio/executor.hpp",
"asio/include/asio/executor_work_guard.hpp",
"asio/include/asio/generic/basic_endpoint.hpp",
"asio/include/asio/generic/datagram_protocol.hpp",
"asio/include/asio/generic/detail/endpoint.hpp",
"asio/include/asio/generic/detail/impl/endpoint.ipp",
"asio/include/asio/generic/raw_protocol.hpp",
"asio/include/asio/generic/seq_packet_protocol.hpp",
"asio/include/asio/generic/stream_protocol.hpp",
"asio/include/asio/handler_alloc_hook.hpp",
"asio/include/asio/handler_continuation_hook.hpp",
"asio/include/asio/handler_invoke_hook.hpp",
"asio/include/asio/handler_type.hpp",
"asio/include/asio/high_resolution_timer.hpp",
"asio/include/asio/impl/buffered_read_stream.hpp",
"asio/include/asio/impl/buffered_write_stream.hpp",
"asio/include/asio/impl/connect.hpp",
"asio/include/asio/impl/defer.hpp",
"asio/include/asio/impl/dispatch.hpp",
"asio/include/asio/impl/error.ipp",
"asio/include/asio/impl/error_code.ipp",
"asio/include/asio/impl/execution_context.hpp",
"asio/include/asio/impl/execution_context.ipp",
"asio/include/asio/impl/executor.hpp",
"asio/include/asio/impl/executor.ipp",
"asio/include/asio/impl/handler_alloc_hook.ipp",
"asio/include/asio/impl/io_context.hpp",
"asio/include/asio/impl/io_context.ipp",
"asio/include/asio/impl/post.hpp",
"asio/include/asio/impl/read.hpp",
"asio/include/asio/impl/read_at.hpp",
"asio/include/asio/impl/read_until.hpp",
"asio/include/asio/impl/serial_port_base.hpp",
"asio/include/asio/impl/serial_port_base.ipp",
"asio/include/asio/impl/spawn.hpp",
"asio/include/asio/impl/src.hpp",
"asio/include/asio/impl/system_executor.hpp",
"asio/include/asio/impl/system_executor.ipp",
"asio/include/asio/impl/thread_pool.hpp",
"asio/include/asio/impl/thread_pool.ipp",
"asio/include/asio/impl/use_future.hpp",
"asio/include/asio/impl/write.hpp",
"asio/include/asio/impl/write_at.hpp",
"asio/include/asio/io_context.hpp",
"asio/include/asio/io_context_strand.hpp",
"asio/include/asio/io_service.hpp",
"asio/include/asio/io_service_strand.hpp",
"asio/include/asio/ip/address.hpp",
"asio/include/asio/ip/address_v4.hpp",
"asio/include/asio/ip/address_v4_iterator.hpp",
"asio/include/asio/ip/address_v4_range.hpp",
"asio/include/asio/ip/address_v6.hpp",
"asio/include/asio/ip/address_v6_iterator.hpp",
"asio/include/asio/ip/address_v6_range.hpp",
"asio/include/asio/ip/bad_address_cast.hpp",
"asio/include/asio/ip/basic_endpoint.hpp",
"asio/include/asio/ip/basic_resolver.hpp",
"asio/include/asio/ip/basic_resolver_entry.hpp",
"asio/include/asio/ip/basic_resolver_iterator.hpp",
"asio/include/asio/ip/basic_resolver_query.hpp",
"asio/include/asio/ip/basic_resolver_results.hpp",
"asio/include/asio/ip/detail/endpoint.hpp",
"asio/include/asio/ip/detail/impl/endpoint.ipp",
"asio/include/asio/ip/detail/socket_option.hpp",
"asio/include/asio/ip/host_name.hpp",
"asio/include/asio/ip/icmp.hpp",
"asio/include/asio/ip/impl/address.hpp",
"asio/include/asio/ip/impl/address.ipp",
"asio/include/asio/ip/impl/address_v4.hpp",
"asio/include/asio/ip/impl/address_v4.ipp",
"asio/include/asio/ip/impl/address_v6.hpp",
"asio/include/asio/ip/impl/address_v6.ipp",
"asio/include/asio/ip/impl/basic_endpoint.hpp",
"asio/include/asio/ip/impl/host_name.ipp",
"asio/include/asio/ip/impl/network_v4.hpp",
"asio/include/asio/ip/impl/network_v4.ipp",
"asio/include/asio/ip/impl/network_v6.hpp",
"asio/include/asio/ip/impl/network_v6.ipp",
"asio/include/asio/ip/multicast.hpp",
"asio/include/asio/ip/network_v4.hpp",
"asio/include/asio/ip/network_v6.hpp",
"asio/include/asio/ip/resolver_base.hpp",
"asio/include/asio/ip/resolver_query_base.hpp",
"asio/include/asio/ip/resolver_service.hpp",
"asio/include/asio/ip/tcp.hpp",
"asio/include/asio/ip/udp.hpp",
"asio/include/asio/ip/unicast.hpp",
"asio/include/asio/ip/v6_only.hpp",
"asio/include/asio/is_executor.hpp",
"asio/include/asio/is_read_buffered.hpp",
"asio/include/asio/is_write_buffered.hpp",
"asio/include/asio/local/basic_endpoint.hpp",
"asio/include/asio/local/connect_pair.hpp",
"asio/include/asio/local/datagram_protocol.hpp",
"asio/include/asio/local/detail/endpoint.hpp",
"asio/include/asio/local/detail/impl/endpoint.ipp",
"asio/include/asio/local/stream_protocol.hpp",
"asio/include/asio/packaged_task.hpp",
"asio/include/asio/placeholders.hpp",
"asio/include/asio/posix/basic_descriptor.hpp",
"asio/include/asio/posix/basic_stream_descriptor.hpp",
"asio/include/asio/posix/descriptor.hpp",
"asio/include/asio/posix/descriptor_base.hpp",
"asio/include/asio/posix/stream_descriptor.hpp",
"asio/include/asio/posix/stream_descriptor_service.hpp",
"asio/include/asio/post.hpp",
"asio/include/asio/raw_socket_service.hpp",
"asio/include/asio/read.hpp",
"asio/include/asio/read_at.hpp",
"asio/include/asio/read_until.hpp",
"asio/include/asio/seq_packet_socket_service.hpp",
"asio/include/asio/serial_port.hpp",
"asio/include/asio/serial_port_base.hpp",
"asio/include/asio/serial_port_service.hpp",
"asio/include/asio/signal_set.hpp",
"asio/include/asio/signal_set_service.hpp",
"asio/include/asio/socket_acceptor_service.hpp",
"asio/include/asio/socket_base.hpp",
"asio/include/asio/spawn.hpp",
"asio/include/asio/ssl.hpp",
"asio/include/asio/ssl/context.hpp",
"asio/include/asio/ssl/context_base.hpp",
"asio/include/asio/ssl/detail/buffered_handshake_op.hpp",
"asio/include/asio/ssl/detail/engine.hpp",
"asio/include/asio/ssl/detail/handshake_op.hpp",
"asio/include/asio/ssl/detail/impl/engine.ipp",
"asio/include/asio/ssl/detail/impl/openssl_init.ipp",
"asio/include/asio/ssl/detail/io.hpp",
"asio/include/asio/ssl/detail/openssl_init.hpp",
"asio/include/asio/ssl/detail/openssl_types.hpp",
"asio/include/asio/ssl/detail/password_callback.hpp",
"asio/include/asio/ssl/detail/read_op.hpp",
"asio/include/asio/ssl/detail/shutdown_op.hpp",
"asio/include/asio/ssl/detail/stream_core.hpp",
"asio/include/asio/ssl/detail/verify_callback.hpp",
"asio/include/asio/ssl/detail/write_op.hpp",
"asio/include/asio/ssl/error.hpp",
"asio/include/asio/ssl/impl/context.hpp",
"asio/include/asio/ssl/impl/context.ipp",
"asio/include/asio/ssl/impl/error.ipp",
"asio/include/asio/ssl/impl/rfc2818_verification.ipp",
"asio/include/asio/ssl/impl/src.hpp",
"asio/include/asio/ssl/rfc2818_verification.hpp",
"asio/include/asio/ssl/stream.hpp",
"asio/include/asio/ssl/stream_base.hpp",
"asio/include/asio/ssl/verify_context.hpp",
"asio/include/asio/ssl/verify_mode.hpp",
"asio/include/asio/steady_timer.hpp",
"asio/include/asio/strand.hpp",
"asio/include/asio/stream_socket_service.hpp",
"asio/include/asio/streambuf.hpp",
"asio/include/asio/system_error.hpp",
"asio/include/asio/system_executor.hpp",
"asio/include/asio/system_timer.hpp",
"asio/include/asio/thread.hpp",
"asio/include/asio/thread_pool.hpp",
"asio/include/asio/time_traits.hpp",
"asio/include/asio/ts/buffer.hpp",
"asio/include/asio/ts/executor.hpp",
"asio/include/asio/ts/internet.hpp",
"asio/include/asio/ts/io_context.hpp",
"asio/include/asio/ts/net.hpp",
"asio/include/asio/ts/netfwd.hpp",
"asio/include/asio/ts/socket.hpp",
"asio/include/asio/ts/timer.hpp",
"asio/include/asio/unyield.hpp",
"asio/include/asio/use_future.hpp",
"asio/include/asio/uses_executor.hpp",
"asio/include/asio/version.hpp",
"asio/include/asio/wait_traits.hpp",
"asio/include/asio/waitable_timer_service.hpp",
"asio/include/asio/windows/basic_handle.hpp",
"asio/include/asio/windows/basic_object_handle.hpp",
"asio/include/asio/windows/basic_random_access_handle.hpp",
"asio/include/asio/windows/basic_stream_handle.hpp",
"asio/include/asio/windows/object_handle.hpp",
"asio/include/asio/windows/object_handle_service.hpp",
"asio/include/asio/windows/overlapped_handle.hpp",
"asio/include/asio/windows/overlapped_ptr.hpp",
"asio/include/asio/windows/random_access_handle.hpp",
"asio/include/asio/windows/random_access_handle_service.hpp",
"asio/include/asio/windows/stream_handle.hpp",
"asio/include/asio/windows/stream_handle_service.hpp",
"asio/include/asio/write.hpp",
"asio/include/asio/write_at.hpp",
"asio/include/asio/yield.hpp",
]
public_configs = [ ":asio_config" ]
}
executable("tests") {
output_name = "asio_unittests"
testonly = true
sources = [
"asio/src/tests/unit/archetypes/async_ops.hpp",
"asio/src/tests/unit/archetypes/async_result.hpp",
"asio/src/tests/unit/archetypes/deprecated_async_ops.hpp",
"asio/src/tests/unit/archetypes/deprecated_async_result.hpp",
"asio/src/tests/unit/archetypes/gettable_socket_option.hpp",
"asio/src/tests/unit/archetypes/io_control_command.hpp",
"asio/src/tests/unit/archetypes/settable_socket_option.hpp",
"asio/src/tests/unit/associated_allocator.cpp",
"asio/src/tests/unit/associated_executor.cpp",
"asio/src/tests/unit/async_result.cpp",
"asio/src/tests/unit/basic_datagram_socket.cpp",
"asio/src/tests/unit/basic_deadline_timer.cpp",
"asio/src/tests/unit/basic_raw_socket.cpp",
"asio/src/tests/unit/basic_seq_packet_socket.cpp",
"asio/src/tests/unit/basic_serial_port.cpp",
"asio/src/tests/unit/basic_signal_set.cpp",
"asio/src/tests/unit/basic_socket_acceptor.cpp",
"asio/src/tests/unit/basic_stream_socket.cpp",
"asio/src/tests/unit/basic_streambuf.cpp",
"asio/src/tests/unit/basic_waitable_timer.cpp",
"asio/src/tests/unit/bind_executor.cpp",
"asio/src/tests/unit/buffer.cpp",
"asio/src/tests/unit/buffered_read_stream.cpp",
"asio/src/tests/unit/buffered_stream.cpp",
"asio/src/tests/unit/buffered_write_stream.cpp",
"asio/src/tests/unit/buffers_iterator.cpp",
"asio/src/tests/unit/completion_condition.cpp",
"asio/src/tests/unit/connect.cpp",
"asio/src/tests/unit/coroutine.cpp",
"asio/src/tests/unit/datagram_socket_service.cpp",
"asio/src/tests/unit/deadline_timer.cpp",
"asio/src/tests/unit/deadline_timer_service.cpp",
"asio/src/tests/unit/defer.cpp",
"asio/src/tests/unit/dispatch.cpp",
"asio/src/tests/unit/error.cpp",
"asio/src/tests/unit/execution_context.cpp",
"asio/src/tests/unit/executor.cpp",
"asio/src/tests/unit/executor_work_guard.cpp",
"asio/src/tests/unit/generic/basic_endpoint.cpp",
"asio/src/tests/unit/generic/datagram_protocol.cpp",
"asio/src/tests/unit/generic/raw_protocol.cpp",
"asio/src/tests/unit/generic/seq_packet_protocol.cpp",
"asio/src/tests/unit/generic/stream_protocol.cpp",
"asio/src/tests/unit/high_resolution_timer.cpp",
"asio/src/tests/unit/io_context.cpp",
"asio/src/tests/unit/ip/address.cpp",
"asio/src/tests/unit/ip/address_v4.cpp",
"asio/src/tests/unit/ip/address_v4_iterator.cpp",
"asio/src/tests/unit/ip/address_v4_range.cpp",
"asio/src/tests/unit/ip/address_v6.cpp",
"asio/src/tests/unit/ip/address_v6_iterator.cpp",
"asio/src/tests/unit/ip/address_v6_range.cpp",
"asio/src/tests/unit/ip/basic_endpoint.cpp",
"asio/src/tests/unit/ip/basic_resolver.cpp",
"asio/src/tests/unit/ip/basic_resolver_entry.cpp",
"asio/src/tests/unit/ip/basic_resolver_iterator.cpp",
"asio/src/tests/unit/ip/basic_resolver_query.cpp",
"asio/src/tests/unit/ip/host_name.cpp",
"asio/src/tests/unit/ip/icmp.cpp",
"asio/src/tests/unit/ip/multicast.cpp",
"asio/src/tests/unit/ip/network_v4.cpp",
"asio/src/tests/unit/ip/network_v6.cpp",
"asio/src/tests/unit/ip/resolver_query_base.cpp",
"asio/src/tests/unit/ip/resolver_service.cpp",
"asio/src/tests/unit/ip/tcp.cpp",
"asio/src/tests/unit/ip/udp.cpp",
"asio/src/tests/unit/ip/unicast.cpp",
"asio/src/tests/unit/ip/v6_only.cpp",
"asio/src/tests/unit/is_read_buffered.cpp",
"asio/src/tests/unit/is_write_buffered.cpp",
"asio/src/tests/unit/local/basic_endpoint.cpp",
"asio/src/tests/unit/local/connect_pair.cpp",
"asio/src/tests/unit/local/datagram_protocol.cpp",
"asio/src/tests/unit/local/stream_protocol.cpp",
"asio/src/tests/unit/main.cpp",
"asio/src/tests/unit/packaged_task.cpp",
"asio/src/tests/unit/placeholders.cpp",
"asio/src/tests/unit/posix/descriptor.cpp",
# "asio/src/tests/unit/posix/basic_descriptor.cpp",
# "asio/src/tests/unit/posix/basic_stream_descriptor.cpp",
"asio/src/tests/unit/posix/descriptor_base.cpp",
# "asio/src/tests/unit/posix/stream_descriptor.cpp",
# "asio/src/tests/unit/posix/stream_descriptor_service.cpp",
"asio/src/tests/unit/post.cpp",
"asio/src/tests/unit/raw_socket_service.cpp",
"asio/src/tests/unit/read.cpp",
"asio/src/tests/unit/read_at.cpp",
"asio/src/tests/unit/read_until.cpp",
"asio/src/tests/unit/seq_packet_socket_service.cpp",
"asio/src/tests/unit/serial_port.cpp",
"asio/src/tests/unit/serial_port_base.cpp",
"asio/src/tests/unit/serial_port_service.cpp",
"asio/src/tests/unit/signal_set.cpp",
"asio/src/tests/unit/signal_set_service.cpp",
"asio/src/tests/unit/socket_acceptor_service.cpp",
"asio/src/tests/unit/socket_base.cpp",
# "asio/src/tests/unit/ssl/context.cpp",
# "asio/src/tests/unit/ssl/context_base.cpp",
# "asio/src/tests/unit/ssl/rfc2818_verification.cpp",
# "asio/src/tests/unit/ssl/stream.cpp",
"asio/src/tests/unit/ssl/stream_base.cpp",
"asio/src/tests/unit/steady_timer.cpp",
"asio/src/tests/unit/strand.cpp",
"asio/src/tests/unit/stream_socket_service.cpp",
"asio/src/tests/unit/streambuf.cpp",
"asio/src/tests/unit/system_timer.cpp",
"asio/src/tests/unit/thread.cpp",
"asio/src/tests/unit/time_traits.cpp",
"asio/src/tests/unit/unit_test.hpp",
"asio/src/tests/unit/use_future.cpp",
"asio/src/tests/unit/uses_executor.cpp",
"asio/src/tests/unit/wait_traits.cpp",
"asio/src/tests/unit/waitable_timer_service.cpp",
# "asio/src/tests/unit/windows/basic_handle.cpp",
# "asio/src/tests/unit/windows/basic_object_handle.cpp",
# "asio/src/tests/unit/windows/basic_random_access_handle.cpp",
# "asio/src/tests/unit/windows/basic_stream_handle.cpp",
# "asio/src/tests/unit/windows/object_handle.cpp",
# "asio/src/tests/unit/windows/object_handle_service.cpp",
# "asio/src/tests/unit/windows/overlapped_handle.cpp",
# "asio/src/tests/unit/windows/overlapped_ptr.cpp",
# "asio/src/tests/unit/windows/random_access_handle.cpp",
# "asio/src/tests/unit/windows/random_access_handle_service.cpp",
# "asio/src/tests/unit/windows/stream_handle.cpp",
# "asio/src/tests/unit/windows/stream_handle_service.cpp",
"asio/src/tests/unit/write.cpp",
"asio/src/tests/unit/write_at.cpp",
]
cflags_cc = [ "-Wno-unused-variable" ]
deps = [
":asio",
]
configs -= [ "//build/config:no_exceptions" ]
}