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

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

Issue 2514883002: Create //webrtc/api:libjingle_peerconnection_api + refactorings. (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
« no previous file with comments | « no previous file | webrtc/api/mediatype.h » ('j') | webrtc/api/mediatype.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("../build/webrtc.gni") 9 import("../build/webrtc.gni")
10 if (is_android) { 10 if (is_android) {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 config("libjingle_peerconnection_warnings_config") { 46 config("libjingle_peerconnection_warnings_config") {
47 # GN orders flags on a target before flags from configs. The default config 47 # GN orders flags on a target before flags from configs. The default config
48 # adds these flags so to cancel them out they need to come from a config and 48 # adds these flags so to cancel them out they need to come from a config and
49 # cannot be on the target directly. 49 # cannot be on the target directly.
50 if (!is_win && !is_clang) { 50 if (!is_win && !is_clang) {
51 cflags = [ "-Wno-maybe-uninitialized" ] # Only exists for GCC. 51 cflags = [ "-Wno-maybe-uninitialized" ] # Only exists for GCC.
52 } 52 }
53 } 53 }
54 54
55 rtc_static_library("libjingle_peerconnection_api") {
56 cflags = []
57 sources = [
58 "datachannelinterface.h",
59 "dtmfsenderinterface.h",
60 "jsep.h",
61 "mediastreaminterface.h",
62 "mediatype.cc",
63 "mediatype.h",
64 "peerconnectioninterface.h",
65 "proxy.h",
66 "rtpparameters.h",
67 "rtpreceiverinterface.h",
68 "rtpsenderinterface.h",
69 "statstypes.cc",
70 "statstypes.h",
71 "umametrics.h",
72 ]
73
74 deps = [
75 ":rtc_stats_api",
76 ]
77 }
78
55 rtc_static_library("libjingle_peerconnection") { 79 rtc_static_library("libjingle_peerconnection") {
56 cflags = [] 80 cflags = []
57 sources = [ 81 sources = [
58 "audiotrack.cc", 82 "audiotrack.cc",
59 "audiotrack.h", 83 "audiotrack.h",
60 "datachannel.cc", 84 "datachannel.cc",
61 "datachannel.h", 85 "datachannel.h",
62 "datachannelinterface.h",
63 "dtmfsender.cc", 86 "dtmfsender.cc",
64 "dtmfsender.h", 87 "dtmfsender.h",
65 "dtmfsenderinterface.h",
66 "jsep.h",
67 "jsepicecandidate.cc", 88 "jsepicecandidate.cc",
68 "jsepicecandidate.h", 89 "jsepicecandidate.h",
69 "jsepsessiondescription.cc", 90 "jsepsessiondescription.cc",
70 "jsepsessiondescription.h", 91 "jsepsessiondescription.h",
71 "localaudiosource.cc", 92 "localaudiosource.cc",
72 "localaudiosource.h", 93 "localaudiosource.h",
73 "mediaconstraintsinterface.cc", 94 "mediaconstraintsinterface.cc",
74 "mediaconstraintsinterface.h", 95 "mediaconstraintsinterface.h",
Taylor Brandstetter 2016/11/18 21:10:31 mediaconstraintsinterface.h would go in the api ta
ossu 2016/11/22 15:36:16 Done.
75 "mediacontroller.cc", 96 "mediacontroller.cc",
76 "mediacontroller.h", 97 "mediacontroller.h",
77 "mediastream.cc", 98 "mediastream.cc",
78 "mediastream.h", 99 "mediastream.h",
79 "mediastreaminterface.h",
80 "mediastreamobserver.cc", 100 "mediastreamobserver.cc",
81 "mediastreamobserver.h", 101 "mediastreamobserver.h",
82 "mediastreamproxy.h", 102 "mediastreamproxy.h",
83 "mediastreamtrack.h", 103 "mediastreamtrack.h",
84 "mediastreamtrackproxy.h", 104 "mediastreamtrackproxy.h",
85 "notifier.h", 105 "notifier.h",
86 "peerconnection.cc", 106 "peerconnection.cc",
87 "peerconnection.h", 107 "peerconnection.h",
88 "peerconnectionfactory.cc", 108 "peerconnectionfactory.cc",
89 "peerconnectionfactory.h", 109 "peerconnectionfactory.h",
90 "peerconnectionfactoryproxy.h", 110 "peerconnectionfactoryproxy.h",
91 "peerconnectioninterface.h",
92 "peerconnectionproxy.h", 111 "peerconnectionproxy.h",
93 "proxy.h",
94 "remoteaudiosource.cc", 112 "remoteaudiosource.cc",
95 "remoteaudiosource.h", 113 "remoteaudiosource.h",
96 "rtcstatscollector.cc", 114 "rtcstatscollector.cc",
97 "rtcstatscollector.h", 115 "rtcstatscollector.h",
98 "rtpparameters.h",
99 "rtpreceiver.cc", 116 "rtpreceiver.cc",
100 "rtpreceiver.h", 117 "rtpreceiver.h",
101 "rtpreceiverinterface.h",
102 "rtpsender.cc", 118 "rtpsender.cc",
103 "rtpsender.h", 119 "rtpsender.h",
104 "rtpsenderinterface.h",
105 "sctputils.cc", 120 "sctputils.cc",
106 "sctputils.h", 121 "sctputils.h",
107 "statscollector.cc", 122 "statscollector.cc",
108 "statscollector.h", 123 "statscollector.h",
109 "statstypes.cc",
110 "statstypes.h",
111 "streamcollection.h", 124 "streamcollection.h",
112 "videocapturertracksource.cc", 125 "videocapturertracksource.cc",
113 "videocapturertracksource.h", 126 "videocapturertracksource.h",
114 "videosourceproxy.h", 127 "videosourceproxy.h",
115 "videotrack.cc", 128 "videotrack.cc",
116 "videotrack.h", 129 "videotrack.h",
117 "videotracksource.cc", 130 "videotracksource.cc",
118 "videotracksource.h", 131 "videotracksource.h",
119 "webrtcsdp.cc", 132 "webrtcsdp.cc",
120 "webrtcsdp.h", 133 "webrtcsdp.h",
121 "webrtcsession.cc", 134 "webrtcsession.cc",
122 "webrtcsession.h", 135 "webrtcsession.h",
123 "webrtcsessiondescriptionfactory.cc", 136 "webrtcsessiondescriptionfactory.cc",
124 "webrtcsessiondescriptionfactory.h", 137 "webrtcsessiondescriptionfactory.h",
125 ] 138 ]
126 139
127 configs += [ ":libjingle_peerconnection_warnings_config" ] 140 configs += [ ":libjingle_peerconnection_warnings_config" ]
128 141
129 if (!build_with_chromium && is_clang) { 142 if (!build_with_chromium && is_clang) {
130 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 143 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
131 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 144 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
132 } 145 }
133 146
134 deps = [ 147 deps = [
135 ":call_api", 148 ":call_api",
149 ":libjingle_peerconnection_api",
136 ":rtc_stats_api", 150 ":rtc_stats_api",
137 "../call", 151 "../call",
138 "../media", 152 "../media",
139 "../pc", 153 "../pc",
140 "../stats", 154 "../stats",
141 ] 155 ]
142 156
143 if (rtc_use_quic) { 157 if (rtc_use_quic) {
144 sources += [ 158 sources += [
145 "quicdatachannel.cc", 159 "quicdatachannel.cc",
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 "../base:base_java", 330 "../base:base_java",
317 ] 331 ]
318 } 332 }
319 } 333 }
320 334
321 rtc_source_set("rtc_stats_api") { 335 rtc_source_set("rtc_stats_api") {
322 cflags = [] 336 cflags = []
323 sources = [ 337 sources = [
324 "stats/rtcstats.h", 338 "stats/rtcstats.h",
325 "stats/rtcstats_objects.h", 339 "stats/rtcstats_objects.h",
340 "stats/rtcstatscollectorcallback.h",
326 "stats/rtcstatsreport.h", 341 "stats/rtcstatsreport.h",
327 ] 342 ]
328 343
329 deps = [ 344 deps = [
330 "../base:rtc_base_approved", 345 "../base:rtc_base_approved",
331 ] 346 ]
332 } 347 }
333 348
334 rtc_source_set("audio_mixer_api") { 349 rtc_source_set("audio_mixer_api") {
335 sources = [ 350 sources = [
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 deps = [ 501 deps = [
487 ":libjingle_peerconnection_java", 502 ":libjingle_peerconnection_java",
488 "../base:base_java", 503 "../base:base_java",
489 "//base:base_java", 504 "//base:base_java",
490 ] 505 ]
491 506
492 shared_libraries = [ ":libjingle_peerconnection_so" ] 507 shared_libraries = [ ":libjingle_peerconnection_so" ]
493 } 508 }
494 } 509 }
495 } 510 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/mediatype.h » ('j') | webrtc/api/mediatype.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698