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

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

Issue 2564333002: Reland of: Separating SCTP code from BaseChannel/MediaChannel. (Closed)
Patch Set: Another attempt. Created 3 years, 12 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
OLDNEW
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2016 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("//build/config/linux/pkg_config.gni") 9 import("//build/config/linux/pkg_config.gni")
10 import("../build/webrtc.gni") 10 import("../build/webrtc.gni")
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 "engine/webrtcvideocapturerfactory.h", 136 "engine/webrtcvideocapturerfactory.h",
137 "engine/webrtcvideodecoderfactory.h", 137 "engine/webrtcvideodecoderfactory.h",
138 "engine/webrtcvideoencoderfactory.cc", 138 "engine/webrtcvideoencoderfactory.cc",
139 "engine/webrtcvideoencoderfactory.h", 139 "engine/webrtcvideoencoderfactory.h",
140 "engine/webrtcvideoengine2.cc", 140 "engine/webrtcvideoengine2.cc",
141 "engine/webrtcvideoengine2.h", 141 "engine/webrtcvideoengine2.h",
142 "engine/webrtcvideoframe.h", 142 "engine/webrtcvideoframe.h",
143 "engine/webrtcvoe.h", 143 "engine/webrtcvoe.h",
144 "engine/webrtcvoiceengine.cc", 144 "engine/webrtcvoiceengine.cc",
145 "engine/webrtcvoiceengine.h", 145 "engine/webrtcvoiceengine.h",
146 "sctp/sctptransportinternal.h",
146 ] 147 ]
147 148
148 if (rtc_enable_sctp) { 149 if (rtc_enable_sctp) {
149 sources += [ 150 sources += [
150 "sctp/sctpdataengine.cc", 151 "sctp/sctptransport.cc",
151 "sctp/sctpdataengine.h", 152 "sctp/sctptransport.h",
152 ] 153 ]
153 } 154 }
154 155
155 configs += [ ":rtc_media_warnings_config" ] 156 configs += [ ":rtc_media_warnings_config" ]
156 157
157 if (!build_with_chromium && is_clang) { 158 if (!build_with_chromium && is_clang) {
158 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 159 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
159 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 160 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
160 } 161 }
161 162
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 "engine/simulcast_unittest.cc", 340 "engine/simulcast_unittest.cc",
340 "engine/videodecodersoftwarefallbackwrapper_unittest.cc", 341 "engine/videodecodersoftwarefallbackwrapper_unittest.cc",
341 "engine/videoencodersoftwarefallbackwrapper_unittest.cc", 342 "engine/videoencodersoftwarefallbackwrapper_unittest.cc",
342 "engine/webrtcmediaengine_unittest.cc", 343 "engine/webrtcmediaengine_unittest.cc",
343 "engine/webrtcvideocapturer_unittest.cc", 344 "engine/webrtcvideocapturer_unittest.cc",
344 "engine/webrtcvideoengine2_unittest.cc", 345 "engine/webrtcvideoengine2_unittest.cc",
345 "engine/webrtcvoiceengine_unittest.cc", 346 "engine/webrtcvoiceengine_unittest.cc",
346 ] 347 ]
347 348
348 if (rtc_enable_sctp) { 349 if (rtc_enable_sctp) {
349 sources += [ "sctp/sctpdataengine_unittest.cc" ] 350 sources += [ "sctp/sctptransport_unittest.cc" ]
350 } 351 }
351 352
352 configs += [ ":rtc_media_unittests_config" ] 353 configs += [ ":rtc_media_unittests_config" ]
353 354
354 if (rtc_use_h264) { 355 if (rtc_use_h264) {
355 defines += [ "WEBRTC_USE_H264" ] 356 defines += [ "WEBRTC_USE_H264" ]
356 } 357 }
357 if (is_win) { 358 if (is_win) {
358 cflags = [ 359 cflags = [
359 "/wd4245", # conversion from int to size_t, signed/unsigned mismatch. 360 "/wd4245", # conversion from int to size_t, signed/unsigned mismatch.
(...skipping 26 matching lines...) Expand all
386 # TODO(kjellander): Move as part of work in bugs.webrtc.org/4243. 387 # TODO(kjellander): Move as part of work in bugs.webrtc.org/4243.
387 ":rtc_media", 388 ":rtc_media",
388 ":rtc_unittest_main", 389 ":rtc_unittest_main",
389 "../audio", 390 "../audio",
390 "../base:rtc_base_tests_utils", 391 "../base:rtc_base_tests_utils",
391 "../modules/audio_device:mock_audio_device", 392 "../modules/audio_device:mock_audio_device",
392 "../system_wrappers:metrics_default", 393 "../system_wrappers:metrics_default",
393 ] 394 ]
394 } 395 }
395 } 396 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698