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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: remoting/protocol/BUILD.gn
diff --git a/remoting/protocol/BUILD.gn b/remoting/protocol/BUILD.gn
index f5d79ca57b59e1f0bce76b30830ab6958ce1e9ed..8a81dd21263ffecb1138c7230f8b992a68e594f8 100644
--- a/remoting/protocol/BUILD.gn
+++ b/remoting/protocol/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/features.gni")
import("//remoting/remoting_srcs.gni")
source_set("protocol") {
@@ -36,6 +37,18 @@ source_set("protocol") {
"chromium_socket_factory.cc",
]
}
+
+ if (!is_nacl && enable_webrtc) {
+ deps += [
+ # TODO(GYP): crbug.com/481633. We should probably not have to depend on
+ # libjingle_webrtc; that should be pulled in automatically by
+ # libpeerconnection instead.
+ "//third_party/libjingle:libjingle_webrtc",
+ "//third_party/libjingle:libpeerconnection",
+ ]
+ } else {
+ sources -= [ "webrtc_transport.cc" ]
+ }
}
source_set("test_support") {
@@ -95,6 +108,7 @@ source_set("unit_tests") {
"ssl_hmac_channel_authenticator_unittest.cc",
"third_party_authenticator_unittest.cc",
"v2_authenticator_unittest.cc",
+ "webrtc_transport_unittest.cc",
]
deps = [

Powered by Google App Engine
This is Rietveld 408576698