Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1564)

Side by Side Diff: remoting/protocol/BUILD.gn

Issue 1427003009: Implement WebrtcTransport (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@transport_session.h
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni")
5 import("//remoting/remoting_srcs.gni") 6 import("//remoting/remoting_srcs.gni")
6 7
7 source_set("protocol") { 8 source_set("protocol") {
8 sources = rebase_path(remoting_srcs_gypi_values.remoting_protocol_sources, 9 sources = rebase_path(remoting_srcs_gypi_values.remoting_protocol_sources,
9 ".", 10 ".",
10 "//remoting") 11 "//remoting")
11 12
12 configs += [ 13 configs += [
13 "//build/config:precompiled_headers", 14 "//build/config:precompiled_headers",
14 "//build/config/compiler:no_size_t_to_int_warning", 15 "//build/config/compiler:no_size_t_to_int_warning",
(...skipping 14 matching lines...) Expand all
29 "//remoting/signaling", 30 "//remoting/signaling",
30 ] 31 ]
31 32
32 if (is_nacl) { 33 if (is_nacl) {
33 sources -= [ 34 sources -= [
34 "chromium_port_allocator.cc", 35 "chromium_port_allocator.cc",
35 "chromium_port_allocator_factory.cc", 36 "chromium_port_allocator_factory.cc",
36 "chromium_socket_factory.cc", 37 "chromium_socket_factory.cc",
37 ] 38 ]
38 } 39 }
40
41 if (!is_nacl && enable_webrtc) {
42 deps += [
43 # TODO(GYP): crbug.com/481633. We should probably not have to depend on
44 # libjingle_webrtc; that should be pulled in automatically by
45 # libpeerconnection instead.
46 "//third_party/libjingle:libjingle_webrtc",
47 "//third_party/libjingle:libpeerconnection",
48 ]
49 } else {
50 sources -= [ "webrtc_transport.cc" ]
51 }
39 } 52 }
40 53
41 source_set("test_support") { 54 source_set("test_support") {
42 testonly = true 55 testonly = true
43 56
44 sources = [ 57 sources = [
45 "fake_authenticator.cc", 58 "fake_authenticator.cc",
46 "fake_authenticator.h", 59 "fake_authenticator.h",
47 "fake_connection_to_host.cc", 60 "fake_connection_to_host.cc",
48 "fake_connection_to_host.h", 61 "fake_connection_to_host.h",
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 "mouse_input_filter_unittest.cc", 101 "mouse_input_filter_unittest.cc",
89 "negotiating_authenticator_unittest.cc", 102 "negotiating_authenticator_unittest.cc",
90 "pairing_registry_unittest.cc", 103 "pairing_registry_unittest.cc",
91 "port_range_unittest.cc", 104 "port_range_unittest.cc",
92 "ppapi_module_stub.cc", 105 "ppapi_module_stub.cc",
93 "pseudotcp_adapter_unittest.cc", 106 "pseudotcp_adapter_unittest.cc",
94 "quic_channel_factory_unittest.cc", 107 "quic_channel_factory_unittest.cc",
95 "ssl_hmac_channel_authenticator_unittest.cc", 108 "ssl_hmac_channel_authenticator_unittest.cc",
96 "third_party_authenticator_unittest.cc", 109 "third_party_authenticator_unittest.cc",
97 "v2_authenticator_unittest.cc", 110 "v2_authenticator_unittest.cc",
111 "webrtc_transport_unittest.cc",
98 ] 112 ]
99 113
100 deps = [ 114 deps = [
101 ":test_support", 115 ":test_support",
102 "//testing/gmock", 116 "//testing/gmock",
103 "//testing/gtest", 117 "//testing/gtest",
104 ] 118 ]
105 } 119 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698