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

Side by Side Diff: webrtc/api/BUILD.gn

Issue 2743003004: Add skeleton webrtc::SessionDescription and webrtc::MediaDescription classes. (Closed)
Patch Set: Take over Zach's work. Fix the build and address some comments. Created 3 years, 9 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 | « no previous file | webrtc/api/ortc/mediadescription.h » ('j') | webrtc/api/ortc/mediadescription.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("../webrtc.gni") 9 import("../webrtc.gni")
10 if (is_android) { 10 if (is_android) {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 } 81 }
82 82
83 deps = [ 83 deps = [
84 ":rtc_stats_api", 84 ":rtc_stats_api",
85 ] 85 ]
86 } 86 }
87 87
88 rtc_source_set("ortc_api") { 88 rtc_source_set("ortc_api") {
89 check_includes = false # TODO(deadbeef): Remove (bugs.webrtc.org/6828) 89 check_includes = false # TODO(deadbeef): Remove (bugs.webrtc.org/6828)
90 sources = [ 90 sources = [
91 "ortc/mediadescription.cc",
92 "ortc/mediadescription.h",
91 "ortc/ortcfactoryinterface.h", 93 "ortc/ortcfactoryinterface.h",
92 "ortc/ortcrtpreceiverinterface.h", 94 "ortc/ortcrtpreceiverinterface.h",
93 "ortc/ortcrtpsenderinterface.h", 95 "ortc/ortcrtpsenderinterface.h",
94 "ortc/packettransportinterface.h", 96 "ortc/packettransportinterface.h",
95 "ortc/rtptransportcontrollerinterface.h", 97 "ortc/rtptransportcontrollerinterface.h",
96 "ortc/rtptransportinterface.h", 98 "ortc/rtptransportinterface.h",
99 "ortc/sessiondescription.cc",
100 "ortc/sessiondescription.h",
97 "ortc/srtptransportinterface.h", 101 "ortc/srtptransportinterface.h",
98 "ortc/udptransportinterface.h", 102 "ortc/udptransportinterface.h",
99 ] 103 ]
100 104
101 # For mediastreaminterface.h, etc. 105 # For mediastreaminterface.h, etc.
102 # TODO(deadbeef): Create a separate target for the common things ORTC and 106 # TODO(deadbeef): Create a separate target for the common things ORTC and
103 # PeerConnection code shares, so that ortc_api can depend on that instead of 107 # PeerConnection code shares, so that ortc_api can depend on that instead of
104 # libjingle_peerconnection_api. 108 # libjingle_peerconnection_api.
105 public_deps = [ 109 public_deps = [
106 ":libjingle_peerconnection_api", 110 ":libjingle_peerconnection_api",
107 ] 111 ]
112 if (!build_with_chromium && is_clang) {
113 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
114 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
115 }
108 } 116 }
109 117
110 # TODO(ossu): Remove once downstream projects have updated. 118 # TODO(ossu): Remove once downstream projects have updated.
111 rtc_source_set("libjingle_peerconnection") { 119 rtc_source_set("libjingle_peerconnection") {
112 public_deps = [ 120 public_deps = [
113 "../pc:libjingle_peerconnection", 121 "../pc:libjingle_peerconnection",
114 ] 122 ]
115 } 123 }
116 124
117 rtc_source_set("rtc_stats_api") { 125 rtc_source_set("rtc_stats_api") {
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 ] 224 ]
217 if (!build_with_chromium && is_clang) { 225 if (!build_with_chromium && is_clang) {
218 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 226 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
219 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 227 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
220 } 228 }
221 } 229 }
222 230
223 rtc_source_set("rtc_api_unittests") { 231 rtc_source_set("rtc_api_unittests") {
224 testonly = true 232 testonly = true
225 sources = [ 233 sources = [
234 "ortc/mediadescription_unittest.cc",
235 "ortc/sessiondescription_unittest.cc",
226 "rtcerror_unittest.cc", 236 "rtcerror_unittest.cc",
227 ] 237 ]
228 238
229 if (!build_with_chromium && is_clang) { 239 if (!build_with_chromium && is_clang) {
230 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 240 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
231 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 241 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
232 } 242 }
233 243
234 deps = [ 244 deps = [
235 ":libjingle_peerconnection_api", 245 ":libjingle_peerconnection_api",
246 ":ortc_api",
236 "//webrtc/test:test_support", 247 "//webrtc/test:test_support",
237 ] 248 ]
238 } 249 }
239 } 250 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/ortc/mediadescription.h » ('j') | webrtc/api/ortc/mediadescription.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698