Disable ChannelMojo.
[chromium-blink-merge.git] / remoting / protocol / BUILD.gn
blob41f0e8f3755f684e8dc289cefc8fe23d2a261110
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/compiler:no_size_t_to_int_warning",
14     "//build/config/compiler:wexit_time_destructors",
15   ]
17   public_deps = [
18     "//remoting/proto",
19     "//third_party/libjingle",
20   ]
21   deps = [
22     "//base",
23     "//crypto",
24     "//jingle:jingle_glue",
25     "//jingle:notifier",
26     "//net",
27     "//remoting/base",
28     "//remoting/codec",
29   ]
32 source_set("test_support") {
33   testonly = true
35   sources = [
36     "fake_authenticator.cc",
37     "fake_authenticator.h",
38     "fake_connection_to_host.cc",
39     "fake_connection_to_host.h",
40     "fake_datagram_socket.cc",
41     "fake_datagram_socket.h",
42     "fake_session.cc",
43     "fake_session.h",
44     "fake_stream_socket.cc",
45     "fake_stream_socket.h",
46     "protocol_mock_objects.cc",
47     "protocol_mock_objects.h",
48   ]
50   public_deps = [
51     ":protocol",
52     "//testing/gmock",
53   ]
56 source_set("unit_tests") {
57   testonly = true
59   sources = [
60     "authenticator_test_base.cc",
61     "authenticator_test_base.h",
62     "channel_multiplexer_unittest.cc",
63     "chromium_socket_factory_unittest.cc",
64     "client_video_dispatcher_unittest.cc",
65     "clipboard_echo_filter_unittest.cc",
66     "clipboard_filter_unittest.cc",
67     "connection_tester.cc",
68     "connection_tester.h",
69     "connection_to_client_unittest.cc",
70     "content_description_unittest.cc",
71     "input_event_tracker_unittest.cc",
72     "input_filter_unittest.cc",
73     "jingle_messages_unittest.cc",
74     "jingle_session_unittest.cc",
75     "message_decoder_unittest.cc",
76     "message_reader_unittest.cc",
77     "monitored_video_stub_unittest.cc",
78     "mouse_input_filter_unittest.cc",
79     "negotiating_authenticator_unittest.cc",
80     "pairing_registry_unittest.cc",
81     "ppapi_module_stub.cc",
82     "ssl_hmac_channel_authenticator_unittest.cc",
83     "third_party_authenticator_unittest.cc",
84     "v2_authenticator_unittest.cc",
85   ]
87   deps = [
88     ":test_support",
89     "//testing/gmock",
90     "//testing/gtest",
91   ]