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

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

Issue 2454373002: Added an empty AudioTransportProxy to AudioState. (Closed)
Patch Set: Created 4 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 (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("../build/webrtc.gni") 9 import("../build/webrtc.gni")
10 10
11 rtc_static_library("call") { 11 rtc_static_library("call") {
12 sources = [ 12 sources = [
13 "bitrate_allocator.cc", 13 "bitrate_allocator.cc",
14 "call.cc", 14 "call.cc",
15 "flexfec_receive_stream.cc", 15 "flexfec_receive_stream.cc",
16 "flexfec_receive_stream.h", 16 "flexfec_receive_stream.h",
17 "transport_adapter.cc", 17 "transport_adapter.cc",
18 "transport_adapter.h", 18 "transport_adapter.h",
19 ] 19 ]
20 20
21 if (!build_with_chromium && is_clang) { 21 if (!build_with_chromium && is_clang) {
22 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 22 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
23 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 23 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
24 } 24 }
25 25
aleloi 2016/11/01 15:53:34 Small unrelated change. Quote from "gn help public
26 public_deps = [
27 "../api:call_api",
28 ]
29
26 deps = [ 30 deps = [
27 "..:webrtc_common", 31 "..:webrtc_common",
28 "../api:call_api",
29 "../audio", 32 "../audio",
30 "../base:rtc_task_queue", 33 "../base:rtc_task_queue",
31 "../logging:rtc_event_log_impl", 34 "../logging:rtc_event_log_impl",
32 "../modules/congestion_controller", 35 "../modules/congestion_controller",
33 "../modules/rtp_rtcp", 36 "../modules/rtp_rtcp",
34 "../system_wrappers", 37 "../system_wrappers",
35 "../video", 38 "../video",
36 ] 39 ]
37 } 40 }
38 41
39 if (rtc_include_tests) { 42 if (rtc_include_tests) {
40 rtc_source_set("call_tests") { 43 rtc_source_set("call_tests") {
41 testonly = true 44 testonly = true
42 sources = [ 45 sources = [
43 "bitrate_allocator_unittest.cc", 46 "bitrate_allocator_unittest.cc",
44 "bitrate_estimator_tests.cc", 47 "bitrate_estimator_tests.cc",
45 "call_unittest.cc", 48 "call_unittest.cc",
46 "flexfec_receive_stream_unittest.cc", 49 "flexfec_receive_stream_unittest.cc",
47 "packet_injection_tests.cc", 50 "packet_injection_tests.cc",
48 ] 51 ]
49 deps = [ 52 deps = [
50 ":call", 53 ":call",
51 "//testing/gmock", 54 "//testing/gmock",
52 "//testing/gtest", 55 "//testing/gtest",
53 ] 56 ]
54 if (!build_with_chromium && is_clang) { 57 if (!build_with_chromium && is_clang) {
55 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 58 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
56 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 59 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
57 } 60 }
61 if (is_win) {
62 cflags = [
63 # TODO(phoglund): get rid of 4373 supression when
64 # http://code.google.com/p/webrtc/issues/detail?id=261 is solved.
65 # legacy warning for ignoring const / volatile in signatures.
66 "/wd4373",
67 ]
68 }
58 } 69 }
59 } 70 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698