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", |
64 "rtcerror.cc", | 63 "rtcerror.cc", |
65 "rtcerror.h", | 64 "rtcerror.h", |
66 "rtpparameters.h", | 65 "rtpparameters.h", |
67 "rtpreceiverinterface.h", | 66 "rtpreceiverinterface.h", |
68 "rtpsender.h", | 67 "rtpsender.h", |
69 "rtpsenderinterface.h", | 68 "rtpsenderinterface.h", |
70 "statstypes.cc", | 69 "statstypes.cc", |
71 "statstypes.h", | 70 "statstypes.h", |
72 "streamcollection.h", | 71 "streamcollection.h", |
73 "trackmediainfomap.cc", | 72 "trackmediainfomap.cc", |
74 "trackmediainfomap.h", | 73 "trackmediainfomap.h", |
75 "udptransportinterface.h", | |
76 "umametrics.h", | 74 "umametrics.h", |
77 "videosourceproxy.h", | 75 "videosourceproxy.h", |
78 "videotracksource.h", | 76 "videotracksource.h", |
79 "webrtcsdp.h", | 77 "webrtcsdp.h", |
80 ] | 78 ] |
81 | 79 |
82 if (!build_with_chromium && is_clang) { | 80 if (!build_with_chromium && is_clang) { |
83 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 81 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
84 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 82 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
85 } | 83 } |
86 | 84 |
87 deps = [ | 85 deps = [ |
88 ":rtc_stats_api", | 86 ":rtc_stats_api", |
89 ] | 87 ] |
90 } | 88 } |
91 | 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 |
92 # TODO(ossu): Remove once downstream projects have updated. | 110 # TODO(ossu): Remove once downstream projects have updated. |
93 rtc_source_set("libjingle_peerconnection") { | 111 rtc_source_set("libjingle_peerconnection") { |
94 public_deps = [ | 112 public_deps = [ |
95 "../pc:libjingle_peerconnection", | 113 "../pc:libjingle_peerconnection", |
96 ] | 114 ] |
97 } | 115 } |
98 | 116 |
99 rtc_source_set("rtc_stats_api") { | 117 rtc_source_set("rtc_stats_api") { |
100 cflags = [] | 118 cflags = [] |
101 sources = [ | 119 sources = [ |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 "../base:rtc_base_tests_utils", | 239 "../base:rtc_base_tests_utils", |
222 "../system_wrappers:metrics_default", | 240 "../system_wrappers:metrics_default", |
223 "../test:test_support", | 241 "../test:test_support", |
224 ] | 242 ] |
225 | 243 |
226 if (is_android) { | 244 if (is_android) { |
227 deps += [ "//testing/android/native_test:native_test_support" ] | 245 deps += [ "//testing/android/native_test:native_test_support" ] |
228 } | 246 } |
229 } | 247 } |
230 } | 248 } |
OLD | NEW |