MD Downloads: prevent search text from overlapping with the cancel search (X)
[chromium-blink-merge.git] / remoting / protocol / BUILD.gn
blobbb1942ba79ce3b106743f3e57877bbd45fe93b04
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//remoting/remoting_srcs.gni")
7 source_set("protocol") {
8   sources = rebase_path(remoting_srcs_gypi_values.remoting_protocol_sources,
9                         ".",
10                         "//remoting")
12   configs += [
13     "//build/config:precompiled_headers",
14     "//build/config/compiler:no_size_t_to_int_warning",
15     "//build/config/compiler:wexit_time_destructors",
16   ]
18   public_deps = [
19     "//remoting/proto",
20     "//third_party/libjingle",
21   ]
22   deps = [
23     "//base",
24     "//crypto",
25     "//jingle:jingle_glue",
26     "//net",
27     "//remoting/base",
28     "//remoting/codec",
29     "//remoting/signaling",
30   ]
33 source_set("test_support") {
34   testonly = true
36   sources = [
37     "fake_authenticator.cc",
38     "fake_authenticator.h",
39     "fake_connection_to_host.cc",
40     "fake_connection_to_host.h",
41     "fake_datagram_socket.cc",
42     "fake_datagram_socket.h",
43     "fake_session.cc",
44     "fake_session.h",
45     "fake_stream_socket.cc",
46     "fake_stream_socket.h",
47     "protocol_mock_objects.cc",
48     "protocol_mock_objects.h",
49   ]
51   public_deps = [
52     ":protocol",
53     "//testing/gmock",
54   ]
57 source_set("unit_tests") {
58   testonly = true
60   sources = [
61     "authenticator_test_base.cc",
62     "authenticator_test_base.h",
63     "channel_multiplexer_unittest.cc",
64     "channel_socket_adapter_unittest.cc",
65     "chromium_socket_factory_unittest.cc",
66     "client_video_dispatcher_unittest.cc",
67     "clipboard_echo_filter_unittest.cc",
68     "clipboard_filter_unittest.cc",
69     "connection_tester.cc",
70     "connection_tester.h",
71     "connection_to_client_unittest.cc",
72     "content_description_unittest.cc",
73     "input_event_tracker_unittest.cc",
74     "input_filter_unittest.cc",
75     "jingle_messages_unittest.cc",
76     "jingle_session_unittest.cc",
77     "message_decoder_unittest.cc",
78     "message_reader_unittest.cc",
79     "monitored_video_stub_unittest.cc",
80     "mouse_input_filter_unittest.cc",
81     "negotiating_authenticator_unittest.cc",
82     "pairing_registry_unittest.cc",
83     "port_range_unittest.cc",
84     "ppapi_module_stub.cc",
85     "pseudotcp_adapter_unittest.cc",
86     "quic_channel_factory_unittest.cc",
87     "ssl_hmac_channel_authenticator_unittest.cc",
88     "third_party_authenticator_unittest.cc",
89     "v2_authenticator_unittest.cc",
90   ]
92   deps = [
93     ":test_support",
94     "//testing/gmock",
95     "//testing/gtest",
96   ]