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

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

Issue 2022833002: Migrate libjingle to WebRTC build targets. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 months 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
« no previous file with comments | « remoting/host/BUILD.gn ('k') | remoting/remoting.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//build/config/features.gni")
6 import("//remoting/remoting_srcs.gni") 6 import("//remoting/remoting_srcs.gni")
7 7
8 static_library("protocol") { 8 static_library("protocol") {
9 sources = rebase_path(remoting_srcs_gypi_values.remoting_protocol_sources, 9 sources = rebase_path(remoting_srcs_gypi_values.remoting_protocol_sources,
10 ".", 10 ".",
(...skipping 21 matching lines...) Expand all
32 "//third_party/libyuv", 32 "//third_party/libyuv",
33 ] 33 ]
34 34
35 if (!is_nacl) { 35 if (!is_nacl) {
36 sources += 36 sources +=
37 rebase_path(remoting_srcs_gypi_values.remoting_protocol_nonnacl_sources, 37 rebase_path(remoting_srcs_gypi_values.remoting_protocol_nonnacl_sources,
38 ".", 38 ".",
39 "//remoting") 39 "//remoting")
40 40
41 if (enable_webrtc) { 41 if (enable_webrtc) {
42 deps += [ "//third_party/libjingle:libjingle_webrtc" ] 42 deps += [
43 "//third_party/libjingle:libjingle_webrtc",
44 "//third_party/webrtc/libjingle/xmllite",
45 "//third_party/webrtc/libjingle/xmpp",
46 ]
43 } else { 47 } else {
44 sources -= [ 48 sources -= [
45 "webrtc_connection_to_client.cc", 49 "webrtc_connection_to_client.cc",
46 "webrtc_transport.cc", 50 "webrtc_transport.cc",
47 "webrtc_video_stream.cc", 51 "webrtc_video_stream.cc",
48 ] 52 ]
49 } 53 }
50 } 54 }
51 } 55 }
52 56
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 "webrtc_transport_unittest.cc", 125 "webrtc_transport_unittest.cc",
122 ] 126 ]
123 127
124 deps = [ 128 deps = [
125 ":test_support", 129 ":test_support",
126 "//net:test_support", 130 "//net:test_support",
127 "//testing/gmock", 131 "//testing/gmock",
128 "//testing/gtest", 132 "//testing/gtest",
129 ] 133 ]
130 } 134 }
OLDNEW
« no previous file with comments | « remoting/host/BUILD.gn ('k') | remoting/remoting.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698