OLD | NEW |
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 "mediacontroller.h", | 49 "mediacontroller.h", |
50 "mediastream.h", | 50 "mediastream.h", |
51 "mediastreaminterface.cc", | 51 "mediastreaminterface.cc", |
52 "mediastreaminterface.h", | 52 "mediastreaminterface.h", |
53 "mediastreamproxy.h", | 53 "mediastreamproxy.h", |
54 "mediastreamtrack.h", | 54 "mediastreamtrack.h", |
55 "mediastreamtrackproxy.h", | 55 "mediastreamtrackproxy.h", |
56 "mediatypes.cc", | 56 "mediatypes.cc", |
57 "mediatypes.h", | 57 "mediatypes.h", |
58 "notifier.h", | 58 "notifier.h", |
59 "ortcfactoryinterface.h", | |
60 "peerconnectionfactoryproxy.h", | 59 "peerconnectionfactoryproxy.h", |
61 "peerconnectioninterface.h", | 60 "peerconnectioninterface.h", |
62 "peerconnectionproxy.h", | 61 "peerconnectionproxy.h", |
63 "proxy.h", | 62 "proxy.h", |
| 63 "rtcerror.cc", |
| 64 "rtcerror.h", |
64 "rtpparameters.h", | 65 "rtpparameters.h", |
65 "rtpreceiverinterface.h", | 66 "rtpreceiverinterface.h", |
66 "rtpsender.h", | 67 "rtpsender.h", |
67 "rtpsenderinterface.h", | 68 "rtpsenderinterface.h", |
68 "statstypes.cc", | 69 "statstypes.cc", |
69 "statstypes.h", | 70 "statstypes.h", |
70 "streamcollection.h", | 71 "streamcollection.h", |
71 "trackmediainfomap.cc", | 72 "trackmediainfomap.cc", |
72 "trackmediainfomap.h", | 73 "trackmediainfomap.h", |
73 "udptransportinterface.h", | |
74 "umametrics.h", | 74 "umametrics.h", |
75 "videosourceproxy.h", | 75 "videosourceproxy.h", |
76 "videotracksource.h", | 76 "videotracksource.h", |
77 "webrtcsdp.h", | 77 "webrtcsdp.h", |
78 ] | 78 ] |
79 | 79 |
80 if (!build_with_chromium && is_clang) { | 80 if (!build_with_chromium && is_clang) { |
81 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 81 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
82 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 82 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
83 } | 83 } |
84 | 84 |
85 deps = [ | 85 deps = [ |
86 ":rtc_stats_api", | 86 ":rtc_stats_api", |
87 ] | 87 ] |
88 } | 88 } |
89 | 89 |
| 90 rtc_static_library("ortc_api") { |
| 91 sources = [ |
| 92 "ortc/ortcfactoryinterface.h", |
| 93 "ortc/ortcrtpreceiverinterface.h", |
| 94 "ortc/ortcrtpsenderinterface.h", |
| 95 "ortc/packettransportinterface.h", |
| 96 "ortc/rtptransportcontrollerinterface.h", |
| 97 "ortc/rtptransportinterface.h", |
| 98 "ortc/udptransportinterface.h", |
| 99 ] |
| 100 |
| 101 # For mediastreaminterface.h, etc. |
| 102 # 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 |
| 104 # libjingle_peerconnection_api. |
| 105 public_deps = [ |
| 106 ":libjingle_peerconnection_api", |
| 107 ] |
| 108 } |
| 109 |
90 # TODO(ossu): Remove once downstream projects have updated. | 110 # TODO(ossu): Remove once downstream projects have updated. |
91 rtc_source_set("libjingle_peerconnection") { | 111 rtc_source_set("libjingle_peerconnection") { |
92 public_deps = [ | 112 public_deps = [ |
93 "../pc:libjingle_peerconnection", | 113 "../pc:libjingle_peerconnection", |
94 ] | 114 ] |
95 } | 115 } |
96 | 116 |
97 rtc_source_set("rtc_stats_api") { | 117 rtc_source_set("rtc_stats_api") { |
98 cflags = [] | 118 cflags = [] |
99 sources = [ | 119 sources = [ |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 deps = [ | 214 deps = [ |
195 ":libjingle_peerconnection_api", | 215 ":libjingle_peerconnection_api", |
196 "../base:rtc_base_approved", | 216 "../base:rtc_base_approved", |
197 ] | 217 ] |
198 if (!build_with_chromium && is_clang) { | 218 if (!build_with_chromium && is_clang) { |
199 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 219 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
200 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 220 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
201 } | 221 } |
202 } | 222 } |
203 } | 223 } |
OLD | NEW |