[GTK] Add CMake package search for vpx and libevent libraries
[WebKit-https.git] / Source / ThirdParty / libwebrtc / ChangeLog
1 2018-04-05  Alejandro G. Castro  <alex@igalia.com>
2
3         [GTK] Add CMake package search for vpx and libevent libraries
4         https://bugs.webkit.org/show_bug.cgi?id=184257
5
6         Reviewed by Michael Catanzaro.
7
8         Add new cmake search files for libevent, vpx and alsa-lib, this
9         makes a cleaner detection of the libraries.
10
11         * CMakeLists.txt: Use the new cmake find files to detect the
12         package and add a better error message when the library is not
13         there.
14         * Source/cmake/FindAlsaLib.cmake: Added.
15         * Source/cmake/FindLibEvent.cmake: Added.
16         * Source/cmake/FindVpx.cmake: Added.
17
18 2018-04-03  Youenn Fablet  <youenn@apple.com>
19
20         RealtimeOutgoingVideoSourceMac should pass a ObjCFrameBuffer buffer
21         https://bugs.webkit.org/show_bug.cgi?id=184281
22         rdar://problem/39153262
23
24         Reviewed by Jer Noble.
25
26         Introduce a routine to create the wrapper around native pixel buffers as expected by the new libwebrtc H264 encoder.
27
28         * Configurations/libwebrtc.iOS.exp:
29         * Configurations/libwebrtc.iOSsim.exp:
30         * Configurations/libwebrtc.mac.exp:
31         * Source/webrtc/sdk/WebKit/WebKitUtilities.h:
32         * Source/webrtc/sdk/WebKit/WebKitUtilities.mm:
33         (webrtc::pixelBufferToFrame):
34
35 2018-04-02  Alejandro G. Castro  <alex@igalia.com>
36
37         Unreviewed fixing GTK port X86 32bits compilation after r230152.
38
39         * CMakeLists.txt:
40
41 2018-04-02  Alejandro G. Castro  <alex@igalia.com>
42
43         Unreviewed fixing GTK port ARM compilation after r230152.
44
45         * CMakeLists.txt: Properly avoid SSE implementations for ARM.
46
47 2018-04-02  Alejandro G. Castro  <alex@igalia.com>
48
49         [GTK] Make libwebrtc backend buildable for GTK  port
50         https://bugs.webkit.org/show_bug.cgi?id=178860
51
52         Reviewed by Youenn Fablet.
53
54         Modified the cmake file and added some assembly code to the
55         boringssl compilation required for the linux compilation generated
56         by libwebrtc.
57
58         * CMakeLists.txt: This cmake file was unused so we have modified
59         it completely to make it work for our port. It was originally
60         generated from the libwebrtc json file but not anymore. We could
61         change its structure at some point but current one seems a good
62         option for the moment.
63         * Source/webrtc/base/task_queue_libevent.cc: We use system
64         libevent for the moment so we needed to adapt the includes in this file.
65         * Source/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc:
66         Readded lines removed by mistake in a previous commit.
67
68 2018-03-26  Youenn Fablet  <youennf@gmail.com>
69
70         Make VCP encoder usage conditional on using internal SDK
71         https://bugs.webkit.org/show_bug.cgi?id=184009
72
73         Reviewed by Eric Carlson.
74
75         * Source/webrtc/sdk/WebKit/VideoProcessingSoftLink.h:
76
77 2018-03-23  Youenn Fablet  <youenn@apple.com>
78
79         Add support for VCP encoder on MacOS and iOS
80         Build fix.
81
82         Unreviewed.
83
84         * Source/webrtc/sdk/WebKit/VideoProcessingSoftLink.cpp:
85
86 2018-03-23  Youenn Fablet  <youenn@apple.com>
87
88         Add support for VCP encoder on MacOS and iOS
89         https://bugs.webkit.org/show_bug.cgi?id=183924
90
91         Reviewed by Eric Carlson.
92
93         Soft-Link VideoProcessing functions and use them in H264 encoder.
94         This is conditional on recent MacOS and iOS platforms.
95
96         * Source/webrtc/sdk/WebKit/EncoderUtilities.h: Added.
97         * Source/webrtc/sdk/WebKit/VideoProcessingSoftLink.cpp: Added.
98         * Source/webrtc/sdk/WebKit/VideoProcessingSoftLink.h: Added.
99         * Source/webrtc/sdk/WebKit/WebKitUtilities.mm:
100         (webrtc::createVideoToolboxEncoderFactory):
101         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/RTCVideoEncoderH264.mm:
102         (-[RTCVideoEncoderH264 encode:codecSpecificInfo:frameTypes:]):
103         (-[RTCVideoEncoderH264 resetCompressionSessionWithPixelFormat:]):
104         (-[RTCVideoEncoderH264 destroyCompressionSession]):
105         * WebKit/0001-Using-VCP.patch: Added.
106         * libwebrtc.xcodeproj/project.pbxproj:
107
108 2018-03-23  David Kilzer  <ddkilzer@apple.com>
109
110         Stop using dispatch_set_target_queue()
111         <https://webkit.org/b/183908>
112         <rdar://problem/33553533>
113
114         Reviewed by Daniel Bates.
115
116         * Source/webrtc/rtc_base/task_queue_gcd.cc: Remove use of
117         dispatch_set_target_queue() by changing dispatch_queue_create()
118         to dispatch_queue_create_with_target().
119         * WebKit/0009-Remove-dispatch_set_target_queue.patch: Add patch.
120         Filed this to track upstreaming the change:
121         <https://bugs.chromium.org/p/webrtc/issues/detail?id=9055>
122         * WebKit/patch-libwebrtc: Delete empty patch file.
123
124 2018-03-23  Youenn Fablet  <youenn@apple.com>
125
126         Use libwebrtc ObjectiveC H264 encoder and decoder
127         https://bugs.webkit.org/show_bug.cgi?id=183912
128
129         Reviewed by Eric Carlson.
130
131         Add utilities inside libwebrtc to be used by WebKit:
132         - Create ObjectiveC encoder/decoder factories
133         - Notify of application status to invalidate encoders/decoders when in background
134         Implement RTCUIApplicationStatusObserver as a simple boolean that is set by WebCore.
135         This allows limiting the changes made to libwebrtc codec implementations.
136
137         Minor modifications done to libwebrtc to fix compilation.
138         Add Block_copy/Block_release to codec callbacks.
139
140         * Configurations/libwebrtc.iOS.exp:
141         * Configurations/libwebrtc.iOSsim.exp:
142         * Configurations/libwebrtc.mac.exp:
143         * Source/webrtc/sdk/WebKit/WebKitUtilities.h: Added.
144         * Source/webrtc/sdk/WebKit/WebKitUtilities.mm: Added.
145         (+[RTCUIApplicationStatusObserver sharedInstance]):
146         (+[RTCUIApplicationStatusObserver prepareForUse]):
147         (-[RTCUIApplicationStatusObserver setActive]):
148         (-[RTCUIApplicationStatusObserver setInactive]):
149         (-[RTCUIApplicationStatusObserver isApplicationActive]):
150         (webrtc::setApplicationStatus):
151         (webrtc::createVideoToolboxEncoderFactory):
152         (webrtc::createVideoToolboxDecoderFactory):
153         (webrtc::setH264HardwareEncoderAllowed):
154         (webrtc::isH264HardwareEncoderAllowed):
155         (webrtc::pixelBufferFromFrame):
156         * Source/webrtc/sdk/objc/Framework/Classes/Video/RTCCVPixelBuffer.mm:
157         (-[RTCCVPixelBuffer dealloc]):
158         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/RTCVideoDecoderH264.mm:
159         (-[RTCVideoDecoderH264 dealloc]):
160         (-[RTCVideoDecoderH264 setCallback:]):
161         (-[RTCVideoDecoderH264 releaseDecoder]):
162         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/RTCVideoEncoderH264.mm:
163         (-[RTCVideoEncoderH264 dealloc]):
164         (-[RTCVideoEncoderH264 setCallback:]):
165         (-[RTCVideoEncoderH264 releaseEncoder]):
166         (-[RTCVideoEncoderH264 resetCompressionSessionWithPixelFormat:]):
167         * WebKit/0001-Adapting-libwebrtc-H264-codec.patch: Added.
168         * libwebrtc.xcodeproj/project.pbxproj:
169
170 2018-03-22  Commit Queue  <commit-queue@webkit.org>
171
172         Unreviewed, rolling out r229876.
173         https://bugs.webkit.org/show_bug.cgi?id=183929
174
175         Some webrtc tests are timing out on iOS simulator (Requested
176         by youenn on #webkit).
177
178         Reverted changeset:
179
180         "Use libwebrtc ObjectiveC H264 encoder and decoder"
181         https://bugs.webkit.org/show_bug.cgi?id=183912
182         https://trac.webkit.org/changeset/229876
183
184 2018-03-22  Youenn Fablet  <youenn@apple.com>
185
186         Use libwebrtc ObjectiveC H264 encoder and decoder
187         https://bugs.webkit.org/show_bug.cgi?id=183912
188
189         Reviewed by Eric Carlson.
190
191         Add utilities inside libwebrtc to be used by WebKit:
192         - Create ObjectiveC encoder/decoder factories
193         - Notify of application status to invalidate encoders/decoders when in background
194         Implement RTCUIApplicationStatusObserver as a simple boolean that is set by WebCore.
195         This allows limiting the changes made to libwebrtc codec implementations.
196
197         Minor modifications done to libwebrtc to fix compilation.
198         Add Block_copy/Block_release to codec callbacks.
199
200         * Configurations/libwebrtc.iOS.exp:
201         * Configurations/libwebrtc.iOSsim.exp:
202         * Configurations/libwebrtc.mac.exp:
203         * Source/webrtc/sdk/WebKit/WebKitUtilities.h: Added.
204         * Source/webrtc/sdk/WebKit/WebKitUtilities.mm: Added.
205         (+[RTCUIApplicationStatusObserver sharedInstance]):
206         (+[RTCUIApplicationStatusObserver prepareForUse]):
207         (-[RTCUIApplicationStatusObserver setActive]):
208         (-[RTCUIApplicationStatusObserver setInactive]):
209         (-[RTCUIApplicationStatusObserver isApplicationActive]):
210         (webrtc::setApplicationStatus):
211         (webrtc::createVideoToolboxEncoderFactory):
212         (webrtc::createVideoToolboxDecoderFactory):
213         (webrtc::setH264HardwareEncoderAllowed):
214         (webrtc::isH264HardwareEncoderAllowed):
215         (webrtc::pixelBufferFromFrame):
216         * Source/webrtc/sdk/objc/Framework/Classes/Video/RTCCVPixelBuffer.mm:
217         (-[RTCCVPixelBuffer dealloc]):
218         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/RTCVideoDecoderH264.mm:
219         (-[RTCVideoDecoderH264 dealloc]):
220         (-[RTCVideoDecoderH264 setCallback:]):
221         (-[RTCVideoDecoderH264 releaseDecoder]):
222         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/RTCVideoEncoderH264.mm:
223         (-[RTCVideoEncoderH264 dealloc]):
224         (-[RTCVideoEncoderH264 setCallback:]):
225         (-[RTCVideoEncoderH264 releaseEncoder]):
226         (-[RTCVideoEncoderH264 resetCompressionSessionWithPixelFormat:]):
227         * WebKit/0001-Adapting-libwebrtc-H264-codec.patch: Added.
228         * libwebrtc.xcodeproj/project.pbxproj:
229
230 2018-03-14  Youenn Fablet  <youenn@apple.com>
231
232         Update libwebrtc up to 36af4e9614f707f733eb2340fae66d6325aaac5b
233         https://bugs.webkit.org/show_bug.cgi?id=183481
234
235         Reviewed by Eric Carlson.
236
237         * Configurations/libwebrtc.iOS.exp:
238         * Configurations/libwebrtc.iOSsim.exp:
239         * Configurations/libwebrtc.mac.exp:
240         * Source/webrtc/: refreshed
241         * libwebrtc.xcodeproj/project.pbxproj:
242
243 2018-03-12  Tim Horton  <timothy_horton@apple.com>
244
245         Stop using SDK conditionals to control feature definitions
246         https://bugs.webkit.org/show_bug.cgi?id=183430
247         <rdar://problem/38251619>
248
249         Reviewed by Dan Bernstein.
250
251         * Configurations/WebKitTargetConditionals.xcconfig: Renamed.
252         * Configurations/opus.xcconfig:
253
254 2018-03-12  Youenn Fablet  <youenn@apple.com>
255
256         Remove empty cpp files in Source/ThirdParty/libwebrtc
257         https://bugs.webkit.org/show_bug.cgi?id=183529
258
259         Unreviewed.
260         Removing further empty files.
261
262         * Source/webrtc/modules/audio_conference_mixer/BUILD.gn: Removed.
263         * Source/webrtc/modules/audio_conference_mixer/DEPS: Removed.
264         * Source/webrtc/modules/audio_conference_mixer/OWNERS: Removed.
265         * Source/webrtc/modules/video_coding/codecs/OWNERS: Removed.
266         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/decoder.mm: Removed.
267         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.mm: Removed.
268         * Source/webrtc/sdk/objc/Framework/UnitTests/RTCMTLVideoViewTests.mm: Removed.
269
270 2018-03-12  youenn fablet  <youenn@apple.com>
271
272         Remove empty cpp files in Source/ThirdParty/libwebrtc
273         https://bugs.webkit.org/show_bug.cgi?id=183529
274
275         Unreviewed.
276
277         * libwebrtc.xcodeproj/project.pbxproj: fix the build.
278
279 2018-03-09  Youenn Fablet  <youenn@apple.com>
280
281         Remove empty cpp files in Source/ThirdParty/libwebrtc
282         https://bugs.webkit.org/show_bug.cgi?id=183529
283
284         Reviewed by Eric Carlson.
285
286         * Source/third_party/boringssl/boringssl_unittest.cc: Removed.
287         * Source/third_party/boringssl/src/ssl/ssl_privkey_cc.cc: Removed.
288         * Source/webrtc/common_audio/fir_filter.cc: Removed.
289         * Source/webrtc/config.cc: Removed.
290         * Source/webrtc/logging/rtc_event_log/rtc_event_log_helper_thread.cc: Removed.
291         * Source/webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor.cc: Removed.
292         * Source/webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory_internal.cc: Removed.
293         * Source/webrtc/modules/audio_coding/codecs/builtin_audio_encoder_factory_internal.cc: Removed.
294         * Source/webrtc/modules/audio_coding/codecs/ilbc/test/empty.cc: Removed.
295         * Source/webrtc/modules/audio_coding/codecs/isac/empty.cc: Removed.
296         * Source/webrtc/modules/audio_coding/neteq/audio_decoder_impl.cc: Removed.
297         * Source/webrtc/modules/audio_coding/neteq/test/NETEQTEST_DummyRTPpacket.cc: Removed.
298         * Source/webrtc/modules/audio_coding/neteq/test/NETEQTEST_RTPpacket.cc: Removed.
299         * Source/webrtc/modules/audio_coding/neteq/test/RTPchange.cc: Removed.
300         * Source/webrtc/modules/audio_coding/neteq/test/RTPencode.cc: Removed.
301         * Source/webrtc/modules/audio_coding/neteq/test/RTPjitter.cc: Removed.
302         * Source/webrtc/modules/audio_coding/neteq/test/RTPtimeshift.cc: Removed.
303         * Source/webrtc/modules/audio_conference_mixer/source/audio_conference_mixer_impl.cc: Removed.
304         * Source/webrtc/modules/audio_conference_mixer/source/audio_frame_manipulator.cc: Removed.
305         * Source/webrtc/modules/audio_conference_mixer/source/time_scheduler.cc: Removed.
306         * Source/webrtc/modules/audio_conference_mixer/test/audio_conference_mixer_unittest.cc: Removed.
307         * Source/webrtc/modules/audio_device/test/audio_device_test_api.cc: Removed.
308         * Source/webrtc/modules/audio_processing/aec3/decimator_by_4.cc: Removed.
309         * Source/webrtc/modules/audio_processing/aec3/decimator_by_4_unittest.cc: Removed.
310         * Source/webrtc/modules/audio_processing/agc2/digital_gain_applier.cc: Removed.
311         * Source/webrtc/modules/audio_processing/residual_echo_detector_complexity_unittest.cc: Removed.
312         * Source/webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.cc: Removed.
313         * Source/webrtc/modules/congestion_controller/congestion_controller.cc: Removed.
314         * Source/webrtc/modules/congestion_controller/congestion_controller_unittest.cc: Removed.
315         * Source/webrtc/modules/desktop_capture/resolution_change_detector.cc: Removed.
316         * Source/webrtc/modules/video_coding/codecs/test/plot_videoprocessor_integrationtest.cc: Removed.
317         * Source/webrtc/modules/video_coding/codecs/test/predictive_packet_manipulator.cc: Removed.
318         * Source/webrtc/modules/video_coding/codecs/tools/video_quality_measurement.cc: Removed.
319         * Source/webrtc/modules/video_coding/sequence_number_util_unittest.cc: Removed.
320         * Source/webrtc/p2p/base/dtlstransportchannel.cc: Removed.
321         * Source/webrtc/p2p/base/dtlstransportchannel_unittest.cc: Removed.
322         * Source/webrtc/p2p/base/transportcontroller.cc: Removed.
323         * Source/webrtc/p2p/base/transportcontroller_unittest.cc: Removed.
324         * Source/webrtc/p2p/quic/quicconnectionhelper.cc: Removed.
325         * Source/webrtc/p2p/quic/quicconnectionhelper_unittest.cc: Removed.
326         * Source/webrtc/p2p/quic/quicsession.cc: Removed.
327         * Source/webrtc/p2p/quic/quicsession_unittest.cc: Removed.
328         * Source/webrtc/p2p/quic/quictransport.cc: Removed.
329         * Source/webrtc/p2p/quic/quictransport_unittest.cc: Removed.
330         * Source/webrtc/p2p/quic/quictransportchannel.cc: Removed.
331         * Source/webrtc/p2p/quic/quictransportchannel_unittest.cc: Removed.
332         * Source/webrtc/p2p/quic/reliablequicstream.cc: Removed.
333         * Source/webrtc/p2p/quic/reliablequicstream_unittest.cc: Removed.
334         * Source/webrtc/pc/quicdatachannel.cc: Removed.
335         * Source/webrtc/pc/quicdatachannel_unittest.cc: Removed.
336         * Source/webrtc/pc/quicdatatransport.cc: Removed.
337         * Source/webrtc/pc/quicdatatransport_unittest.cc: Removed.
338         * Source/webrtc/pc/webrtcsession.cc: Removed.
339         * Source/webrtc/pc/webrtcsession_unittest.cc: Removed.
340         * Source/webrtc/sdk/android/src/jni/androidnetworkmonitor_jni.cc: Removed.
341         * Source/webrtc/sdk/android/src/jni/audio_jni.cc: Removed.
342         * Source/webrtc/sdk/android/src/jni/filevideocapturer_jni.cc: Removed.
343         * Source/webrtc/sdk/android/src/jni/media_jni.cc: Removed.
344         * Source/webrtc/sdk/android/src/jni/native_handle_impl.cc: Removed.
345         * Source/webrtc/sdk/android/src/jni/null_audio_jni.cc: Removed.
346         * Source/webrtc/sdk/android/src/jni/null_media_jni.cc: Removed.
347         * Source/webrtc/sdk/android/src/jni/null_video_jni.cc: Removed.
348         * Source/webrtc/sdk/android/src/jni/ownedfactoryandthreads.cc: Removed.
349         * Source/webrtc/sdk/android/src/jni/peerconnection_jni.cc: Removed.
350         * Source/webrtc/sdk/android/src/jni/rtcstatscollectorcallbackwrapper.cc: Removed.
351         * Source/webrtc/sdk/android/src/jni/video_jni.cc: Removed.
352         * Source/webrtc/system_wrappers/source/atomic32_darwin.cc: Removed.
353         * Source/webrtc/system_wrappers/source/atomic32_non_darwin_unix.cc: Removed.
354         * Source/webrtc/system_wrappers/source/atomic32_win.cc: Removed.
355         * Source/webrtc/system_wrappers/source/logcat_trace_context.cc: Removed.
356         * Source/webrtc/system_wrappers/source/trace_impl.cc: Removed.
357         * Source/webrtc/system_wrappers/source/trace_posix.cc: Removed.
358         * Source/webrtc/system_wrappers/source/trace_win.cc: Removed.
359         * Source/webrtc/test/testsupport/isolated_output.cc: Removed.
360         * Source/webrtc/test/testsupport/isolated_output_unittest.cc: Removed.
361         * Source/webrtc/test/testsupport/trace_to_stderr.cc: Removed.
362         * Source/webrtc/tools/agc/activity_metric.cc: Removed.
363         * Source/webrtc/tools/converter/converter.cc: Removed.
364         * Source/webrtc/tools/converter/rgba_to_i420_converter.cc: Removed.
365         * Source/webrtc/tools/event_log_visualizer/analyzer.cc: Removed.
366         * Source/webrtc/tools/event_log_visualizer/main.cc: Removed.
367         * Source/webrtc/tools/event_log_visualizer/plot_base.cc: Removed.
368         * Source/webrtc/tools/event_log_visualizer/plot_protobuf.cc: Removed.
369         * Source/webrtc/tools/event_log_visualizer/plot_python.cc: Removed.
370         * Source/webrtc/tools/force_mic_volume_max/force_mic_volume_max.cc: Removed.
371         * Source/webrtc/tools/frame_analyzer/frame_analyzer.cc: Removed.
372         * Source/webrtc/tools/frame_analyzer/reference_less_video_analysis.cc: Removed.
373         * Source/webrtc/tools/frame_analyzer/reference_less_video_analysis_lib.cc: Removed.
374         * Source/webrtc/tools/frame_analyzer/reference_less_video_analysis_unittest.cc: Removed.
375         * Source/webrtc/tools/frame_analyzer/video_quality_analysis.cc: Removed.
376         * Source/webrtc/tools/frame_analyzer/video_quality_analysis_unittest.cc: Removed.
377         * Source/webrtc/tools/frame_editing/frame_editing.cc: Removed.
378         * Source/webrtc/tools/frame_editing/frame_editing_lib.cc: Removed.
379         * Source/webrtc/tools/frame_editing/frame_editing_unittest.cc: Removed.
380         * Source/webrtc/tools/network_tester/config_reader.cc: Removed.
381         * Source/webrtc/tools/network_tester/network_tester_unittest.cc: Removed.
382         * Source/webrtc/tools/network_tester/packet_logger.cc: Removed.
383         * Source/webrtc/tools/network_tester/packet_sender.cc: Removed.
384         * Source/webrtc/tools/network_tester/server.cc: Removed.
385         * Source/webrtc/tools/network_tester/test_controller.cc: Removed.
386         * Source/webrtc/tools/psnr_ssim_analyzer/psnr_ssim_analyzer.cc: Removed.
387         * Source/webrtc/tools/simple_command_line_parser.cc: Removed.
388         * Source/webrtc/tools/simple_command_line_parser_unittest.cc: Removed.
389         * Source/webrtc/video/vie_encoder.cc: Removed.
390         * Source/webrtc/video/vie_encoder_unittest.cc: Removed.
391         * Source/webrtc/voice_engine/coder.cc: Removed.
392         * Source/webrtc/voice_engine/file_player.cc: Removed.
393         * Source/webrtc/voice_engine/file_player_unittests.cc: Removed.
394         * Source/webrtc/voice_engine/file_recorder.cc: Removed.
395         * Source/webrtc/voice_engine/output_mixer.cc: Removed.
396         * Source/webrtc/voice_engine/statistics.cc: Removed.
397         * Source/webrtc/voice_engine/test/auto_test/automated_mode.cc: Removed.
398         * Source/webrtc/voice_engine/test/auto_test/fakes/conference_transport.cc: Removed.
399         * Source/webrtc/voice_engine/test/auto_test/fakes/loudest_filter.cc: Removed.
400         * Source/webrtc/voice_engine/test/auto_test/fixtures/after_initialization_fixture.cc: Removed.
401         * Source/webrtc/voice_engine/test/auto_test/fixtures/after_streaming_fixture.cc: Removed.
402         * Source/webrtc/voice_engine/test/auto_test/fixtures/before_initialization_fixture.cc: Removed.
403         * Source/webrtc/voice_engine/test/auto_test/fixtures/before_streaming_fixture.cc: Removed.
404         * Source/webrtc/voice_engine/test/auto_test/standard/codec_before_streaming_test.cc: Removed.
405         * Source/webrtc/voice_engine/test/auto_test/standard/codec_test.cc: Removed.
406         * Source/webrtc/voice_engine/test/auto_test/standard/dtmf_test.cc: Removed.
407         * Source/webrtc/voice_engine/test/auto_test/standard/rtp_rtcp_before_streaming_test.cc: Removed.
408         * Source/webrtc/voice_engine/test/auto_test/standard/rtp_rtcp_extensions.cc: Removed.
409         * Source/webrtc/voice_engine/test/auto_test/standard/rtp_rtcp_test.cc: Removed.
410         * Source/webrtc/voice_engine/test/auto_test/voe_conference_test.cc: Removed.
411         * Source/webrtc/voice_engine/test/auto_test/voe_standard_test.cc: Removed.
412         * Source/webrtc/voice_engine/voe_codec_impl.cc: Removed.
413         * Source/webrtc/voice_engine/voe_codec_unittest.cc: Removed.
414         * Source/webrtc/voice_engine/voe_file_impl.cc: Removed.
415         * Source/webrtc/voice_engine/voe_network_impl.cc: Removed.
416         * Source/webrtc/voice_engine/voe_network_unittest.cc: Removed.
417         * Source/webrtc/voice_engine/voe_rtp_rtcp_impl.cc: Removed.
418         * Source/webrtc/voice_engine/voice_engine_fixture.cc: Removed.
419
420 2018-03-07  Youenn Fablet  <youenn@apple.com>
421
422         Update to libwebrtc revision 4e70a72571dd26b85c2385e9c618e343428df5d3
423         https://bugs.webkit.org/show_bug.cgi?id=180843
424
425         Unreviewed.
426         Removed empty unused files.
427
428         * Source/webrtc/audio/test/low_bandwidth_audio_test.h: Removed.
429         * Source/webrtc/config.h: Removed.
430         * Source/webrtc/logging/rtc_event_log/rtc_event_log_helper_thread.h: Removed.
431         * Source/webrtc/media/engine/webrtccommon.h: Removed.
432         * Source/webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory_internal.h: Removed.
433         * Source/webrtc/modules/audio_coding/codecs/builtin_audio_encoder_factory_internal.h: Removed.
434         * Source/webrtc/modules/audio_coding/neteq/audio_decoder_impl.h: Removed.
435         * Source/webrtc/modules/audio_coding/neteq/test/NETEQTEST_DummyRTPpacket.h: Removed.
436         * Source/webrtc/modules/audio_coding/neteq/test/NETEQTEST_RTPpacket.h: Removed.
437         * Source/webrtc/modules/audio_coding/neteq/test/PayloadTypes.h: Removed.
438         * Source/webrtc/modules/audio_conference_mixer/include/audio_conference_mixer.h: Removed.
439         * Source/webrtc/modules/audio_conference_mixer/include/audio_conference_mixer_defines.h: Removed.
440         * Source/webrtc/modules/audio_conference_mixer/source/audio_conference_mixer_impl.h: Removed.
441         * Source/webrtc/modules/audio_conference_mixer/source/audio_frame_manipulator.h: Removed.
442         * Source/webrtc/modules/audio_conference_mixer/source/memory_pool.h: Removed.
443         * Source/webrtc/modules/audio_conference_mixer/source/memory_pool_posix.h: Removed.
444         * Source/webrtc/modules/audio_conference_mixer/source/memory_pool_win.h: Removed.
445         * Source/webrtc/modules/audio_conference_mixer/source/time_scheduler.h: Removed.
446         * Source/webrtc/modules/audio_device/test/audio_device_test_defines.h: Removed.
447         * Source/webrtc/modules/audio_processing/aec3/decimator_by_4.h: Removed.
448         * Source/webrtc/modules/audio_processing/agc2/digital_gain_applier.h: Removed.
449         * Source/webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.h: Removed.
450         * Source/webrtc/modules/congestion_controller/include/congestion_controller.h: Removed.
451         * Source/webrtc/modules/desktop_capture/resolution_change_detector.h: Removed.
452         * Source/webrtc/modules/remote_bitrate_estimator/include/mock/mock_remote_bitrate_observer.h: Removed.
453         * Source/webrtc/modules/video_coding/codecs/test/predictive_packet_manipulator.h: Removed.
454         * Source/webrtc/modules/video_coding/sequence_number_util.h: Removed.
455         * Source/webrtc/p2p/base/candidate.h: Removed.
456         * Source/webrtc/p2p/base/dtlstransportchannel.h: Removed.
457         * Source/webrtc/p2p/base/faketransportcontroller.h: Removed.
458         * Source/webrtc/p2p/base/transportcontroller.h: Removed.
459         * Source/webrtc/p2p/quic/quicconnectionhelper.h: Removed.
460         * Source/webrtc/p2p/quic/quicsession.h: Removed.
461         * Source/webrtc/p2p/quic/quictransport.h: Removed.
462         * Source/webrtc/p2p/quic/quictransportchannel.h: Removed.
463         * Source/webrtc/p2p/quic/reliablequicstream.h: Removed.
464         * Source/webrtc/pc/quicdatachannel.h: Removed.
465         * Source/webrtc/pc/quicdatatransport.h: Removed.
466         * Source/webrtc/pc/test/mock_webrtcsession.h: Removed.
467         * Source/webrtc/pc/webrtcsession.h: Removed.
468         * Source/webrtc/sdk/android/src/jni/audio_jni.h: Removed.
469         * Source/webrtc/sdk/android/src/jni/media_jni.h: Removed.
470         * Source/webrtc/sdk/android/src/jni/native_handle_impl.h: Removed.
471         * Source/webrtc/sdk/android/src/jni/ownedfactoryandthreads.h: Removed.
472         * Source/webrtc/sdk/android/src/jni/rtcstatscollectorcallbackwrapper.h: Removed.
473         * Source/webrtc/sdk/android/src/jni/video_jni.h: Removed.
474         * Source/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCFileVideoCapturer.h: Removed.
475         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/decoder.h: Removed.
476         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.h: Removed.
477         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/videocodecfactory.h: Removed.
478         * Source/webrtc/system_wrappers/include/fix_interlocked_exchange_pointer_win.h: Removed.
479         * Source/webrtc/system_wrappers/include/logcat_trace_context.h: Removed.
480         * Source/webrtc/system_wrappers/include/static_instance.h: Removed.
481         * Source/webrtc/system_wrappers/include/trace.h: Removed.
482         * Source/webrtc/system_wrappers/source/trace_impl.h: Removed.
483         * Source/webrtc/system_wrappers/source/trace_posix.h: Removed.
484         * Source/webrtc/system_wrappers/source/trace_win.h: Removed.
485         * Source/webrtc/test/testsupport/isolated_output.h: Removed.
486         * Source/webrtc/test/testsupport/mock/mock_frame_writer.h: Removed.
487         * Source/webrtc/test/testsupport/trace_to_stderr.h: Removed.
488         * Source/webrtc/tools/converter/converter.h: Removed.
489         * Source/webrtc/tools/event_log_visualizer/analyzer.h: Removed.
490         * Source/webrtc/tools/event_log_visualizer/plot_base.h: Removed.
491         * Source/webrtc/tools/event_log_visualizer/plot_protobuf.h: Removed.
492         * Source/webrtc/tools/event_log_visualizer/plot_python.h: Removed.
493         * Source/webrtc/tools/frame_analyzer/reference_less_video_analysis_lib.h: Removed.
494         * Source/webrtc/tools/frame_analyzer/video_quality_analysis.h: Removed.
495         * Source/webrtc/tools/frame_editing/frame_editing_lib.h: Removed.
496         * Source/webrtc/tools/network_tester/config_reader.h: Removed.
497         * Source/webrtc/tools/network_tester/packet_logger.h: Removed.
498         * Source/webrtc/tools/network_tester/packet_sender.h: Removed.
499         * Source/webrtc/tools/network_tester/test_controller.h: Removed.
500         * Source/webrtc/tools/simple_command_line_parser.h: Removed.
501         * Source/webrtc/video/vie_encoder.h: Removed.
502         * Source/webrtc/video_receive_stream.h: Removed.
503         * Source/webrtc/video_send_stream.h: Removed.
504         * Source/webrtc/voice_engine/coder.h: Removed.
505         * Source/webrtc/voice_engine/file_player.h: Removed.
506         * Source/webrtc/voice_engine/file_recorder.h: Removed.
507         * Source/webrtc/voice_engine/include/voe_codec.h: Removed.
508         * Source/webrtc/voice_engine/include/voe_file.h: Removed.
509         * Source/webrtc/voice_engine/include/voe_network.h: Removed.
510         * Source/webrtc/voice_engine/include/voe_rtp_rtcp.h: Removed.
511         * Source/webrtc/voice_engine/mock/mock_voe_observer.h: Removed.
512         * Source/webrtc/voice_engine/monitor_module.h: Removed.
513         * Source/webrtc/voice_engine/output_mixer.h: Removed.
514         * Source/webrtc/voice_engine/statistics.h: Removed.
515         * Source/webrtc/voice_engine/test/auto_test/automated_mode.h: Removed.
516         * Source/webrtc/voice_engine/test/auto_test/fakes/conference_transport.h: Removed.
517         * Source/webrtc/voice_engine/test/auto_test/fakes/loudest_filter.h: Removed.
518         * Source/webrtc/voice_engine/test/auto_test/fixtures/after_initialization_fixture.h: Removed.
519         * Source/webrtc/voice_engine/test/auto_test/fixtures/after_streaming_fixture.h: Removed.
520         * Source/webrtc/voice_engine/test/auto_test/fixtures/before_initialization_fixture.h: Removed.
521         * Source/webrtc/voice_engine/test/auto_test/fixtures/before_streaming_fixture.h: Removed.
522         * Source/webrtc/voice_engine/test/auto_test/voe_standard_test.h: Removed.
523         * Source/webrtc/voice_engine/test/auto_test/voe_test_common.h: Removed.
524         * Source/webrtc/voice_engine/test/auto_test/voe_test_defines.h: Removed.
525         * Source/webrtc/voice_engine/voe_codec_impl.h: Removed.
526         * Source/webrtc/voice_engine/voe_file_impl.h: Removed.
527         * Source/webrtc/voice_engine/voe_network_impl.h: Removed.
528         * Source/webrtc/voice_engine/voe_rtp_rtcp_impl.h: Removed.
529         * Source/webrtc/voice_engine/voice_engine_fixture.h: Removed.
530
531 2018-03-07  Youenn Fablet  <youenn@apple.com>
532
533         Update to libwebrtc revision 4e70a72571dd26b85c2385e9c618e343428df5d3
534         https://bugs.webkit.org/show_bug.cgi?id=180843
535
536         Unreviewed.
537         Removed folder as it is now unused.
538
539         * Source/webrtc/base: Removed.
540
541 2017-12-18  Youenn Fablet  <youenn@apple.com>
542
543         Update to libwebrtc revision 4e70a72571dd26b85c2385e9c618e343428df5d3
544         https://bugs.webkit.org/show_bug.cgi?id=180843
545
546         Reviewed by Eric Carlson.
547
548         Updated libwebrtc as follows:
549         - Boringssl
550             - https://boringssl.googlesource.com/boringssl/
551             - fc9c67599d9bdeb2e0467085133b81a8e28f77a4
552         - Libwebrtc
553             - https://webrtc.googlesource.com/src
554             - 4e70a72571dd26b85c2385e9c618e343428df5d3
555             - Libsrtp
556                 - 1d45b8e599dc2db6ea3ae22dbc94a8c504652423
557                 - https://chromium.googlesource.com/chromium/deps/libsrtp.git
558             - Libyuv
559                 - 12c904a97c81c3ef4cab0fc8fb1f0485b4ec4e8c
560                 - https://chromium.googlesource.com/libyuv/libyuv.git
561             - Usrsctp
562                 - f4819e1b177f7bfdd761c147f5a649b9f1a78c06
563                 - https://github.com/sctplab/usrsctp.git
564
565         Below files have been modified to adapt for WebKit.
566         Patches for various parts are kept in WebKit folder.
567         In addition to these changes, VTB codecs and factories used by WebKit
568         are now added inside libwebrtc in webrtc/sdk/WebKit.
569         Future refactoring should consolidate these files.
570
571         Not updated the following folders that are not used right now:
572         - Source/third_party/boringssl/linux-x86_64
573         - Source/third_party/boringssl/mac-x86
574         - Source/webrtc/data
575         - Source/third_party/boringssl/src/fuzz
576
577         * Configurations/libwebrtc.iOS.exp:
578         * Configurations/libwebrtc.iOSsim.exp:
579         * Configurations/libwebrtc.mac.exp:
580         * Configurations/libwebrtc.xcconfig:
581         * Configurations/libwebrtcpcrtc.xcconfig:
582         * Source/third_party/boringssl/src/crypto/fipsmodule/aes/aes.c:
583         * Source/third_party/usrsctp/usrsctplib/netinet/sctp_input.c:
584         (sctp_process_cookie_existing):
585         * Source/third_party/usrsctp/usrsctplib/netinet/sctp_output.c:
586         * Source/third_party/usrsctp/usrsctplib/netinet/sctp_pcb.c:
587         * Source/third_party/usrsctp/usrsctplib/user_atomic.h:
588         * Source/webrtc/api/array_view.h:
589         (rtc::impl::ArrayViewBase::ArrayViewBase):
590         * Source/webrtc/api/audio_codecs/ilbc/audio_encoder_ilbc.cc:
591         * Source/webrtc/api/datachannelinterface.h:
592         (webrtc::DataChannelObserver::OnBufferedAmountChange):
593         * Source/webrtc/api/jsep.h:
594         (webrtc::SessionDescriptionInterface::RemoveCandidates):
595         * Source/webrtc/api/mediastreaminterface.h:
596         (webrtc::VideoTrackInterface::set_content_hint):
597         (webrtc::AudioSourceInterface::SetVolume):
598         (webrtc::AudioSourceInterface::RegisterAudioObserver):
599         (webrtc::AudioSourceInterface::UnregisterAudioObserver):
600         (webrtc::AudioSourceInterface::AddSink):
601         (webrtc::AudioSourceInterface::RemoveSink):
602         (webrtc::AudioTrackInterface::GetSignalLevel):
603         * Source/webrtc/api/mediatypes.cc:
604         * Source/webrtc/api/peerconnectioninterface.h:
605         (webrtc::PeerConnectionInterface::AddTransceiver):
606         (webrtc::PeerConnectionInterface::CreateSender):
607         (webrtc::PeerConnectionInterface::GetStats):
608         (webrtc::PeerConnectionInterface::CreateOffer):
609         (webrtc::PeerConnectionInterface::CreateAnswer):
610         (webrtc::PeerConnectionInterface::SetRemoteDescription):
611         (webrtc::PeerConnectionInterface::UpdateIce):
612         (webrtc::PeerConnectionInterface::SetConfiguration):
613         (webrtc::PeerConnectionInterface::RemoveIceCandidates):
614         (webrtc::PeerConnectionInterface::SetBitrateAllocationStrategy):
615         (webrtc::PeerConnectionInterface::SetAudioPlayout):
616         (webrtc::PeerConnectionInterface::SetAudioRecording):
617         (webrtc::PeerConnectionInterface::StartRtcEventLog):
618         (webrtc::PeerConnectionObserver::OnIceCandidatesRemoved):
619         (webrtc::PeerConnectionObserver::OnIceConnectionReceivingChange):
620         (webrtc::PeerConnectionObserver::OnAddTrack):
621         (webrtc::PeerConnectionObserver::OnRemoveTrack):
622         (webrtc::PeerConnectionFactoryInterface::CreateVideoSource):
623         * Source/webrtc/api/umametrics.h:
624         (webrtc::MetricsObserverInterface::IncrementEnumCounter):
625         * Source/webrtc/api/video_codecs/video_decoder.h:
626         (webrtc::DecodedImageCallback::Decoded):
627         (webrtc::DecodedImageCallback::ReceivedDecodedReferenceFrame):
628         (webrtc::DecodedImageCallback::ReceivedDecodedFrame):
629         * Source/webrtc/api/video_codecs/video_encoder.h:
630         (webrtc::EncodedImageCallback::OnDroppedFrame):
631         * Source/webrtc/common_video/include/frame_callback.h:
632         (webrtc::EncodedFrameObserver::OnEncodeTiming):
633         * Source/webrtc/common_video/video_frame_buffer.cc:
634         * Source/webrtc/logging/rtc_event_log/rtc_event_log.h:
635         (webrtc::RtcEventLog::Create):
636         * Source/webrtc/media/base/mediachannel.h:
637         (cricket::DataMediaChannel::GetStats):
638         (cricket::DataMediaChannel::OnNetworkRouteChanged):
639         * Source/webrtc/media/engine/internaldecoderfactory.cc:
640         * Source/webrtc/media/engine/internalencoderfactory.cc:
641         * Source/webrtc/modules/audio_coding/acm2/audio_coding_module.cc:
642         * Source/webrtc/modules/audio_coding/acm2/rent_a_codec.cc:
643         * Source/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.cc:
644         * Source/webrtc/modules/audio_coding/codecs/ilbc/audio_encoder_ilbc.cc:
645         * Source/webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc:
646         * Source/webrtc/modules/audio_coding/neteq/tools/neteq_test.cc:
647         * Source/webrtc/modules/audio_coding/neteq/tools/rtp_file_source.cc:
648         * Source/webrtc/modules/audio_device/android/audio_device_template.h:
649         * Source/webrtc/modules/audio_device/android/audio_record_jni.cc:
650         * Source/webrtc/modules/audio_device/include/audio_device.h:
651         (webrtc::AudioDeviceModule::SetRecordingChannel):
652         (webrtc::AudioDeviceModule::RecordingChannel const):
653         (webrtc::AudioDeviceModule::SetRecordingSampleRate):
654         (webrtc::AudioDeviceModule::RecordingSampleRate const):
655         (webrtc::AudioDeviceModule::SetPlayoutSampleRate):
656         (webrtc::AudioDeviceModule::PlayoutSampleRate const):
657         (webrtc::AudioDeviceModule::SetLoudspeakerStatus):
658         (webrtc::AudioDeviceModule::GetLoudspeakerStatus const):
659         * Source/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/fake_polqa.cc:
660         * Source/webrtc/modules/audio_processing/test/wav_based_simulator.cc:
661         * Source/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc:
662         * Source/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.h:
663         (webrtc::DefaultTemporalLayersChecker::BufferState::BufferState):
664         * Source/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers_unittest.cc:
665         * Source/webrtc/modules/video_coding/codecs/vp8/include/vp8.h:
666         * Source/webrtc/modules/video_coding/codecs/vp8/include/vp8_common_types.h:
667         * Source/webrtc/modules/video_coding/codecs/vp8/include/vp8_globals.h:
668         * Source/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc:
669         * Source/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.h:
670         * Source/webrtc/modules/video_coding/codecs/vp8/screenshare_layers_unittest.cc:
671         * Source/webrtc/modules/video_coding/codecs/vp8/simulcast_rate_allocator.cc:
672         * Source/webrtc/modules/video_coding/codecs/vp8/simulcast_rate_allocator.h:
673         * Source/webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.cc:
674         * Source/webrtc/modules/video_coding/codecs/vp8/temporal_layers.h:
675         (webrtc::TemporalLayers::FrameConfig::operator== const):
676         (webrtc::TemporalLayers::FrameConfig::operator!= const):
677         (webrtc::TemporalLayersChecker::~TemporalLayersChecker):
678         (webrtc::TemporalLayersChecker::BufferState::BufferState):
679         * Source/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc:
680         * Source/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc:
681         * Source/webrtc/modules/video_coding/codecs/vp8/vp8_impl.h:
682         * Source/webrtc/modules/video_coding/codecs/vp8/vp8_noop.cc:
683         * Source/webrtc/modules/video_coding/qp_parser.cc:
684         * Source/webrtc/modules/video_coding/video_codec_initializer.cc:
685         * Source/webrtc/ortc/ortcfactory.cc:
686         * Source/webrtc/ortc/rtpparametersconversion.cc:
687         * Source/webrtc/p2p/base/icetransportinternal.h:
688         (cricket::IceTransportInternal::SetIceProtocolType):
689         * Source/webrtc/p2p/base/port.h:
690         (cricket::Port::HandleConnectionDestroyed):
691         * Source/webrtc/p2p/base/stun.h:
692         (cricket::StunAttribute::SetOwner):
693         * Source/webrtc/p2p/base/stunrequest.h:
694         (cricket::StunRequest::Prepare):
695         (cricket::StunRequest::OnResponse):
696         (cricket::StunRequest::OnErrorResponse):
697         * Source/webrtc/rtc_base/checks.h:
698         * Source/webrtc/rtc_base/flags.cc:
699         * Source/webrtc/rtc_base/location.h:
700         * Source/webrtc/rtc_base/messagehandler.h:
701         (rtc::FunctorMessageHandler::OnMessage):
702         * Source/webrtc/rtc_base/network.h:
703         (rtc::NetworkManager::GetAnyAddressNetworks):
704         * Source/webrtc/rtc_base/numerics/safe_conversions.h:
705         (rtc::saturated_cast):
706         * Source/webrtc/rtc_base/numerics/safe_conversions_impl.h:
707         * Source/webrtc/rtc_base/opensslidentity.cc:
708         * Source/webrtc/rtc_base/sanitizer.h:
709         (rtc_AsanPoison):
710         (rtc_AsanUnpoison):
711         (rtc_MsanMarkUninitialized):
712         (rtc_MsanCheckInitialized):
713         * Source/webrtc/rtc_base/socketserver.h:
714         (rtc::SocketServer::SetMessageQueue):
715         * Source/webrtc/rtc_base/stream.h:
716         (rtc::StreamInterface::ConsumeReadData):
717         (rtc::StreamInterface::ConsumeWriteBuffer):
718         * Source/webrtc/rtc_base/stringize_macros.h:
719         * Source/webrtc/sdk/WebKit/VideoToolBoxDecoderFactory.cpp: Added.
720         (webrtc::VideoToolboxVideoDecoderFactory::~VideoToolboxVideoDecoderFactory):
721         (webrtc::VideoToolboxVideoDecoderFactory::Add):
722         (webrtc::VideoToolboxVideoDecoderFactory::Remove):
723         (webrtc::VideoToolboxVideoDecoderFactory::SetActive):
724         (webrtc::VideoToolboxVideoDecoderFactory::CreateVideoDecoder):
725         (webrtc::CreateH264Format):
726         (webrtc::VideoToolboxVideoDecoderFactory::GetSupportedFormats const):
727         * Source/webrtc/sdk/WebKit/VideoToolBoxDecoderFactory.h: Renamed from Source/WebCore/platform/mediastream/libwebrtc/VideoToolBoxDecoderFactory.h.
728         * Source/webrtc/sdk/WebKit/VideoToolBoxEncoderFactory.cpp: Added.
729         (webrtc::VideoToolboxVideoEncoderFactory::~VideoToolboxVideoEncoderFactory):
730         (webrtc::VideoToolboxVideoEncoderFactory::Add):
731         (webrtc::VideoToolboxVideoEncoderFactory::Remove):
732         (webrtc::VideoToolboxVideoEncoderFactory::SetActive):
733         (webrtc::CreateH264Format):
734         (webrtc::VideoToolboxVideoEncoderFactory::GetSupportedFormats const):
735         (webrtc::VideoToolboxVideoEncoderFactory::QueryVideoEncoder const):
736         (webrtc::VideoToolboxVideoEncoderFactory::CreateVideoEncoder):
737         * Source/webrtc/sdk/WebKit/VideoToolBoxEncoderFactory.h: Renamed from Source/WebCore/platform/mediastream/libwebrtc/VideoToolBoxEncoderFactory.h.
738         * Source/webrtc/sdk/WebKit/decoder.h: Added.
739         (webrtc::H264VideoToolboxDecoder::SetActive):
740         * Source/webrtc/sdk/WebKit/decoder.mm: Added.
741         (webrtc::H264VideoToolboxDecoder::H264VideoToolboxDecoder):
742         (webrtc::H264VideoToolboxDecoder::~H264VideoToolboxDecoder):
743         (webrtc::H264VideoToolboxDecoder::ClearFactory):
744         (webrtc::H264VideoToolboxDecoder::InitDecode):
745         (webrtc::H264VideoToolboxDecoder::Decode):
746         * Source/webrtc/sdk/WebKit/encoder.h: Copied from Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.h.
747         (webrtc::H264VideoToolboxEncoder::ClearFactory):
748         (webrtc::H264VideoToolboxEncoder::SetActive):
749         * Source/webrtc/sdk/WebKit/encoder.mm: Copied from Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.mm.
750         (internal::CreateCFDictionary):
751         (internal::CFStringToString):
752         (internal::SetVTSessionProperty):
753         (internal::FrameEncodeParams::FrameEncodeParams):
754         (internal::CopyVideoFrameToPixelBuffer):
755         (internal::CreatePixelBuffer):
756         (internal::VTCompressionOutputCallback):
757         (internal::ExtractProfile):
758         (webrtc::H264VideoToolboxEncoder::H264VideoToolboxEncoder):
759         (webrtc::H264VideoToolboxEncoder::~H264VideoToolboxEncoder):
760         (webrtc::H264VideoToolboxEncoder::InitEncode):
761         (webrtc::H264VideoToolboxEncoder::Encode):
762         * Source/webrtc/sdk/WebKit/encoder_vcp.h: Renamed from Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.h.
763         (webrtc::H264VideoToolboxEncoderVCP::ClearFactory):
764         * Source/webrtc/sdk/WebKit/encoder_vcp.mm: Renamed from Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.mm.
765         (internal::SetVTSessionProperty):
766         (internal::CopyVideoFrameToPixelBuffer):
767         (internal::CreatePixelBuffer):
768         (internal::ExtractProfile):
769         (webrtc::H264VideoToolboxEncoderVCP::H264VideoToolboxEncoderVCP):
770         (webrtc::H264VideoToolboxEncoderVCP::Encode):
771         * Source/webrtc/test/rtp_file_reader.cc:
772         * Source/webrtc/voice_engine/utility.cc:
773         * WebKit/0001-Tweaking-boringssl-include-of-internal.h.patch: Renamed from Source/ThirdParty/libwebrtc/WebKit/patch-boringssl.
774         * WebKit/0002-Fixing-usrctp-library-compilation-errors.patch: Added.
775         * WebKit/0003-Fixing-VP8-files.patch: Added.
776         * WebKit/0004-Removing-parameter-names-from-files-included-from-We.patch: Added.
777         * WebKit/0005-Fix-RTC_FATAL.patch: Added.
778         * WebKit/0006-Disabling-VP8.patch: Added.
779         * WebKit/0007-Fix-RTC_STRINGIZE.patch: Added.
780         * WebKit/0008-Fix-sanitizer.patch: Added.
781         * WebKit/patch-libwebrtc: Removed.
782         * WebKit/patch-usrsctp: Removed.
783         * libwebrtc.xcodeproj/project.pbxproj:
784
785 2018-01-27  Dan Bernstein  <mitz@apple.com>
786
787         HaveInternalSDK includes should be "#include?"
788         https://bugs.webkit.org/show_bug.cgi?id=179670
789
790         * Configurations/Base.xcconfig:
791
792 2018-01-26  Youenn Fablet  <youenn@apple.com>
793
794         Disable VCP for MacOS
795         https://bugs.webkit.org/show_bug.cgi?id=182183
796         <rdar://problem/36919791>
797
798         Reviewed by Eric Carlson.
799
800         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/VideoProcessingSoftLink.h:
801
802 2018-01-19  Joseph Pecoraro  <pecoraro@apple.com>
803
804         Follow-up build fix for r227206.
805
806         Unreviewed.
807
808         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/VideoProcessingSoftLink.h:
809         Avoid duplicate and different definitions of ALWAYS_INLINE.
810
811 2018-01-19  Youenn Fablet  <youenn@apple.com>
812
813         Softlink VideoProcessing in WebKit
814         https://bugs.webkit.org/show_bug.cgi?id=181853
815         <rdar://problem/36590005>
816
817         Reviewed by Eric Carlson.
818
819         * Configurations/libwebrtc.xcconfig:
820         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/VideoProcessingSoftLink.cpp: Added.
821         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/VideoProcessingSoftLink.h: Added.
822         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.h:
823         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.mm:
824         (internal::SetVTSessionProperty):
825         (webrtc::H264VideoToolboxEncoderVCP::Encode):
826         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/videocodecfactory.mm:
827         (webrtc::VideoToolboxVideoEncoderFactory::VideoToolboxVideoEncoderFactory):
828         * libwebrtc.xcodeproj/project.pbxproj:
829
830 2018-01-18  Dan Bernstein  <mitz@apple.com>
831
832         [Xcode] Streamline and future-proof target-macOS-version-dependent build setting definitions
833         https://bugs.webkit.org/show_bug.cgi?id=181803
834
835         Reviewed by Tim Horton.
836
837         * Configurations/Base.xcconfig: Updated.
838         * Configurations/DebugRelease.xcconfig: Ditto.
839         * Configurations/macOSTargetConditionals.xcconfig: Added. Defines helper build settings
840           useful for defining settings that depend on the target macOS version.
841         * Configurations/opus.xcconfig: Adopted macOSTargetConditionals helper.
842
843 2018-01-08  David Kilzer  <ddkilzer@apple.com>
844
845         libwebrtc: Fix 'ld: warning: cannot export hidden symbol' messages
846         <https://webkit.org/b/181378>
847
848         Reviewed by Youenn Fablet.
849
850         * Configurations/libwebrtc.iOS.exp:
851         * Configurations/libwebrtc.iOSsim.exp:
852         * Configurations/libwebrtc.mac.exp:
853         - Remove 117 symbols that are not currently exported.  These
854           warnings only appear in Release and Production builds.
855
856 2018-01-05  Youenn Fablet  <youenn@apple.com>
857
858         Close WebRTC sockets when marked as defunct
859         https://bugs.webkit.org/show_bug.cgi?id=177324
860         rdar://problem/35244931
861
862         Reviewed by Eric Carlson.
863
864         In case selected sockets return an error when trying to accept an incoming socket,
865         check whether the socket is defunct or not.
866         If so, close it properly.
867
868         * Source/webrtc/base/asynctcpsocket.cc:
869         * Source/webrtc/base/physicalsocketserver.cc:
870         * Source/webrtc/base/socket.h:
871
872 2017-12-15  Dan Bernstein  <mitz@apple.com>
873
874         libwebrtc installs an extra copy of encoder_vcp.h under /usr/local/include
875         https://bugs.webkit.org/show_bug.cgi?id=180858
876
877         Reviewed by Anders Carlsson.
878
879         * libwebrtc.xcodeproj/project.pbxproj: Demoted the header from Private to Project. A script build phase
880           copies it to the correct location under /usr/local/include/webrtc.
881
882 2017-12-14  David Kilzer  <ddkilzer@apple.com>
883
884         Enable -Wstrict-prototypes for WebKit
885         <https://webkit.org/b/180757>
886         <rdar://problem/36024132>
887
888         Rubber-stamped by Joseph Pecoraro.
889
890         * Configurations/Base.xcconfig:
891         (CLANG_WARN_STRICT_PROTOTYPES): Add. Set to YES.
892         * Source/third_party/usrsctp/usrsctplib/usrsctplib/user_socket.c:
893         (wakeup_one): Modernize function argument declarations.
894         (getsockaddr): Ditto.
895         * Source/webrtc/common_audio/signal_processing/include/signal_processing_library.h:
896         (WebRtcSpl_Init): Add 'void' to C function declaration.
897         * Source/webrtc/common_audio/vad/include/webrtc_vad.h:
898         (WebRtcVad_Create): Ditto.
899         * Source/webrtc/modules/audio_coding/codecs/isac/fix/source/codec.h:
900         (WebRtcIsacfix_InitTransform): Ditto.
901         * Source/webrtc/modules/audio_processing/agc/legacy/gain_control.h:
902         (WebRtcAgc_Create): Ditto.
903         * Source/webrtc/modules/audio_processing/ns/noise_suppression.h:
904         (WebRtcNs_Create): Ditto.
905         (WebRtcNs_num_freq): Ditto.
906         * Source/webrtc/modules/audio_processing/ns/noise_suppression_x.h:
907         (WebRtcNsx_Create): Ditto.
908         (WebRtcNsx_num_freq): Ditto.
909
910 2017-12-11  Youenn Fablet  <youenn@apple.com>
911
912         Use VCP H264 encoder for platforms supporting it
913         https://bugs.webkit.org/show_bug.cgi?id=179076
914         rdar://problem/35180773
915
916         Reviewed by Eric Carlson.
917
918         * Configurations/libwebrtc.iOS.exp:
919         * Configurations/libwebrtc.iOSsim.exp:
920         * Configurations/libwebrtc.mac.exp:
921         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.h: Added.
922         (webrtc::H264VideoToolboxEncoderVCP::SetActive):
923         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.mm: Copied from Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.mm.
924         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.mm:
925         (internal::CFStringToString):
926         (internal::SetVTSessionProperty):
927         (internal::CopyVideoFrameToPixelBuffer):
928         (internal::CreatePixelBuffer):
929         (internal::VTCompressionOutputCallback):
930         (internal::ExtractProfile):
931         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/videocodecfactory.h:
932         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/videocodecfactory.mm:
933         (webrtc::VideoToolboxVideoEncoderFactory::VideoToolboxVideoEncoderFactory):
934         (webrtc::VideoToolboxVideoEncoderFactory::CreateSupportedVideoEncoder):
935         * libwebrtc.xcodeproj/project.pbxproj:
936
937 2017-12-11  Tim Horton  <timothy_horton@apple.com>
938
939         Stop using deprecated target conditional for simulator builds
940         https://bugs.webkit.org/show_bug.cgi?id=180662
941         <rdar://problem/35136156>
942
943         Reviewed by Simon Fraser.
944
945         * Source/third_party/libyuv/source/mjpeg_decoder.cc:
946         * Source/webrtc/examples/objc/AppRTCMobile/ARDAppClient.m:
947         (-[ARDAppClient createLocalVideoTrack]):
948         * Source/webrtc/examples/objc/AppRTCMobile/tests/ARDAppClient_xctest.mm:
949         * Source/webrtc/modules/audio_device/ios/audio_device_ios.mm:
950         (webrtc::LogDeviceInfo):
951
952 2017-11-06  Commit Queue  <commit-queue@webkit.org>
953
954         Unreviewed, rolling out r224497.
955         https://bugs.webkit.org/show_bug.cgi?id=179335
956
957         It is breaking internal builds (Requested by youenn on
958         #webkit).
959
960         Reverted changeset:
961
962         "Use VCP H264 encoder for platforms supporting it"
963         https://bugs.webkit.org/show_bug.cgi?id=179076
964         https://trac.webkit.org/changeset/224497
965
966 2017-11-06  Youenn Fablet  <youenn@apple.com>
967
968         Use VCP H264 encoder for platforms supporting it
969         https://bugs.webkit.org/show_bug.cgi?id=179076
970         rdar://problem/35180773
971
972         Reviewed by Eric Carlson.
973
974         * Configurations/libwebrtc.iOS.exp:
975         * Configurations/libwebrtc.iOSsim.exp:
976         * Configurations/libwebrtc.mac.exp:
977         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.h: Added.
978         (webrtc::H264VideoToolboxEncoderVCP::SetActive):
979         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.mm: Copied from Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.mm.
980         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.mm:
981         (internal::CFStringToString):
982         (internal::SetVTSessionProperty):
983         (internal::CopyVideoFrameToPixelBuffer):
984         (internal::CreatePixelBuffer):
985         (internal::VTCompressionOutputCallback):
986         (internal::ExtractProfile):
987         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/videocodecfactory.h:
988         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/videocodecfactory.mm:
989         (webrtc::VideoToolboxVideoEncoderFactory::VideoToolboxVideoEncoderFactory):
990         (webrtc::VideoToolboxVideoEncoderFactory::CreateSupportedVideoEncoder):
991         * libwebrtc.xcodeproj/project.pbxproj:
992
993 2017-11-03  Commit Queue  <commit-queue@webkit.org>
994
995         Unreviewed, rolling out r224428, r224435, and r224440.
996         https://bugs.webkit.org/show_bug.cgi?id=179274
997
998         Broke iOS and internal builds (Requested by ryanhaddad on
999         #webkit).
1000
1001         Reverted changesets:
1002
1003         "Use VCP H264 encoder for platforms supporting it"
1004         https://bugs.webkit.org/show_bug.cgi?id=179076
1005         https://trac.webkit.org/changeset/224428
1006
1007         "Use VCP H264 encoder for platforms supporting it"
1008         https://bugs.webkit.org/show_bug.cgi?id=179076
1009         https://trac.webkit.org/changeset/224435
1010
1011         "Use VCP H264 encoder for platforms supporting it"
1012         https://bugs.webkit.org/show_bug.cgi?id=179076
1013         https://trac.webkit.org/changeset/224440
1014
1015 2017-11-03  Youenn Fablet  <youenn@apple.com>
1016
1017         Use VCP H264 encoder for platforms supporting it
1018         https://bugs.webkit.org/show_bug.cgi?id=179076
1019         rdar://problem/35180773
1020
1021         Unreviewed.
1022
1023         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.h: build fix for iOS.
1024
1025 2017-11-03  Youenn Fablet  <youenn@apple.com>
1026
1027         Use VCP H264 encoder for platforms supporting it
1028         https://bugs.webkit.org/show_bug.cgi?id=179076
1029         rdar://problem/35180773
1030
1031         Unreviewed.
1032
1033         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.h: build fix.
1034
1035 2017-11-03  Youenn Fablet  <youenn@apple.com>
1036
1037         Use VCP H264 encoder for platforms supporting it
1038         https://bugs.webkit.org/show_bug.cgi?id=179076
1039         rdar://problem/35180773
1040
1041         Reviewed by Eric Carlson.
1042
1043         * Configurations/libwebrtc.iOS.exp:
1044         * Configurations/libwebrtc.iOSsim.exp:
1045         * Configurations/libwebrtc.mac.exp:
1046         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.h: Added.
1047         (webrtc::H264VideoToolboxEncoderVCP::SetActive):
1048         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.mm: Copied from Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.mm.
1049         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.mm:
1050         (internal::CFStringToString):
1051         (internal::SetVTSessionProperty):
1052         (internal::CopyVideoFrameToPixelBuffer):
1053         (internal::CreatePixelBuffer):
1054         (internal::VTCompressionOutputCallback):
1055         (internal::ExtractProfile):
1056         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/videocodecfactory.h:
1057         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/videocodecfactory.mm:
1058         (webrtc::VideoToolboxVideoEncoderFactory::VideoToolboxVideoEncoderFactory):
1059         (webrtc::VideoToolboxVideoEncoderFactory::CreateSupportedVideoEncoder):
1060         * libwebrtc.xcodeproj/project.pbxproj:
1061
1062 2017-10-04  Commit Queue  <commit-queue@webkit.org>
1063
1064         Unreviewed, rolling out r222775.
1065         https://bugs.webkit.org/show_bug.cgi?id=177890
1066
1067         Significantly increased the WebKit build time (Requested by
1068         rniwa on #webkit).
1069
1070         Reverted changeset:
1071
1072         "Build libwebrtc unit tests executables"
1073         https://bugs.webkit.org/show_bug.cgi?id=177211
1074         http://trac.webkit.org/changeset/222775
1075
1076 2017-10-03  Youenn Fablet  <youenn@apple.com>
1077
1078         Remove no longer needed WebRTC build infrastructure
1079         https://bugs.webkit.org/show_bug.cgi?id=177756
1080
1081         Reviewed by Alejandro G. Castro.
1082
1083         * WebKit/project.json: Removed.
1084         * WebKit/rtc_sdk_framework_objc_info_plist.plist: Removed.
1085
1086 2017-10-03  Youenn Fablet  <youenn@apple.com>
1087
1088         Build libwebrtc unit tests executables
1089         https://bugs.webkit.org/show_bug.cgi?id=177211
1090
1091         Reviewed by Alex Christensen.
1092
1093         Adding support for a new target called unittests that will be several executables.
1094         Each executable run unit tests dedicated to a part of libwebrtc.
1095
1096         Adding one target/executable per unit test suite.
1097         Adding one composite target to build all unit test targets.
1098         Adding a target to build a static libwebrtctest library.
1099         The static libwebrtctest library is then linked to each unit test executable which is also linked to libwebrtc dylib.
1100
1101         Some unit tests require a default codec (VP8) that is disabled in libwebrtc.
1102         This ends up making some tests crashing.
1103         An additional work should follow to execute only the meaningful subset of tests.
1104
1105         * Configurations/libwebrtc-base.xcconfig: Added.
1106         * Configurations/libwebrtc-test-static.xcconfig: Added.
1107         * Configurations/rtc_pc_unittests.xcconfig: Added.
1108         * Source/third_party/gflags/gen/posix/include/private/config.h:
1109         * Source/webrtc/modules/audio_coding/neteq/tools/neteq_test.cc: Replacing FATAL by RTC_FATAL.
1110         * Source/webrtc/sdk/objc/Framework/Classes/Common/helpers.mm: Removing UIKit dependency.
1111         * Source/webrtc/test/gmock.h: Using googletest version instead of checking in testing folder.
1112         * Source/webrtc/test/gtest.h: Ditto.
1113         * Source/webrtc/test/rtp_file_reader.cc: Replacing FATAL by RTC_FATAL.
1114         * libwebrtc.xcodeproj/project.pbxproj:
1115
1116 2017-09-29  Matt Lewis  <jlewis3@apple.com>
1117
1118         Unreviewed, rolling out r222652.
1119
1120         This broke an internal build.
1121
1122         Reverted changeset:
1123
1124         "Build libwebrtc unit tests executables"
1125         https://bugs.webkit.org/show_bug.cgi?id=177211
1126         http://trac.webkit.org/changeset/222652
1127
1128 2017-09-29  Youenn Fablet  <youenn@apple.com>
1129
1130         Build libwebrtc unit tests executables
1131         https://bugs.webkit.org/show_bug.cgi?id=177211
1132
1133         Reviewed by Alex Christensen.
1134
1135         Adding support for a new target called unittests that will be several executables.
1136         Each executable run unit tests dedicated to a part of libwebrtc.
1137
1138         Adding one target/executable per unit test suite.
1139         Adding one composite target to build all unit test targets.
1140         Adding a target to build a static libwebrtctest library.
1141         The static libwebrtctest library is then linked to each unit test executable which is also linked to libwebrtc dylib.
1142
1143         Some unit tests require a default codec (VP8) that is disabled in libwebrtc.
1144         This ends up making some tests crashing.
1145         An additional work should follow to execute only the meaningful subset of tests.
1146
1147         * Configurations/libwebrtc-base.xcconfig: Added.
1148         * Configurations/libwebrtc-test-static.xcconfig: Added.
1149         * Configurations/rtc_pc_unittests.xcconfig: Added.
1150         * Source/third_party/gflags/gen/posix/include/private/config.h:
1151         * Source/webrtc/modules/audio_coding/neteq/tools/neteq_test.cc: Replacing FATAL by RTC_FATAL.
1152         * Source/webrtc/sdk/objc/Framework/Classes/Common/helpers.mm: Removing UIKit dependency.
1153         * Source/webrtc/test/gmock.h: Using googletest version instead of checking in testing folder.
1154         * Source/webrtc/test/gtest.h: Ditto.
1155         * Source/webrtc/test/rtp_file_reader.cc: Replacing FATAL by RTC_FATAL.
1156         * libwebrtc.xcodeproj/project.pbxproj:
1157
1158 2017-09-27  Ryan Haddad  <ryanhaddad@apple.com>
1159
1160         Unreviewed, rolling out r222537.
1161
1162         This change broke internal builds.
1163
1164         Reverted changeset:
1165
1166         "Build libwebrtc unit tests executables"
1167         https://bugs.webkit.org/show_bug.cgi?id=177211
1168         http://trac.webkit.org/changeset/222537
1169
1170 2017-09-26  Youenn Fablet  <youenn@apple.com>
1171
1172         Build libwebrtc unit tests executables
1173         https://bugs.webkit.org/show_bug.cgi?id=177211
1174
1175         Reviewed by Alex Christensen.
1176
1177         Adding support for a new target called unittests that will be several executables.
1178         Each executable run unit tests dedicated to a part of libwebrtc.
1179
1180         Adding one target/executable per unit test suite.
1181         Adding one composite target to build all unit test targets.
1182         Adding a target to build a static libwebrtctest library.
1183         The static libwebrtctest library is then linked to each unit test executable which is also linked to libwebrtc dylib.
1184
1185         Some unit tests require a default codec (VP8) that is disabled in libwebrtc.
1186         This ends up making some tests crashing.
1187         An additional work should follow to execute only the meaningful subset of tests.
1188
1189         * Configurations/libwebrtc-base.xcconfig: Added.
1190         * Configurations/libwebrtc-test-static.xcconfig: Added.
1191         * Configurations/rtc_pc_unittests.xcconfig: Added.
1192         * Source/third_party/gflags/gen/posix/include/private/config.h:
1193         * Source/webrtc/modules/audio_coding/neteq/tools/neteq_test.cc: Replacing FATAL by RTC_FATAL.
1194         * Source/webrtc/sdk/objc/Framework/Classes/Common/helpers.mm: Removing UIKit dependency.
1195         * Source/webrtc/test/gmock.h: Using googletest version instead of checking in testing folder.
1196         * Source/webrtc/test/gtest.h: Ditto.
1197         * Source/webrtc/test/rtp_file_reader.cc: Replacing FATAL by RTC_FATAL.
1198         * libwebrtc.xcodeproj/project.pbxproj:
1199
1200 2017-09-26  Youenn Fablet  <youenn@apple.com>
1201
1202         Remove unnecessary libwebrtc dependencies
1203         https://bugs.webkit.org/show_bug.cgi?id=177494
1204
1205         Reviewed by Alex Christensen.
1206
1207         * libwebrtc.xcodeproj/project.pbxproj:
1208
1209 2017-09-25  Youenn Fablet  <youenn@apple.com>
1210
1211         WebRTC video does not resume receiving when switching back to Safari 11 on iOS
1212         https://bugs.webkit.org/show_bug.cgi?id=175472
1213         <rdar://problem/33860863>
1214
1215         Reviewed by Darin Adler.
1216
1217         Adding a method to disable any decoding/encoding task.
1218         When reenabling the decoder, the decoder will request an I frame after failing the first initial decoding task.
1219
1220         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/decoder.h:
1221         (webrtc::H264VideoToolboxDecoder::SetActive):
1222         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/decoder.mm:
1223         (webrtc::H264VideoToolboxDecoder::Decode):
1224         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.h:
1225         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.mm:
1226         (webrtc::H264VideoToolboxEncoder::Encode):
1227
1228 2017-09-25  Youenn Fablet  <youenn@apple.com>
1229
1230         Adding per-platform libwebrtc export files
1231         https://bugs.webkit.org/show_bug.cgi?id=177465
1232
1233         Reviewed by Alex Christensen.
1234
1235         Using per platform export symbol files for libwebrtc.dylib.
1236         This allows exporting platform-specific symbols that are used by libwebrtc unit tests.
1237
1238         * Configurations/libwebrtc.iOS.exp: Added.
1239         * Configurations/libwebrtc.iOSsim.exp: Added.
1240         * Configurations/libwebrtc.mac.exp: Added.
1241         * Configurations/libwebrtc.exp: Removed.
1242         * Configurations/libwebrtc.xcconfig:
1243         * libwebrtc.xcodeproj/project.pbxproj: Adding ISAC/fix codec files used for
1244         by audio codec unit tests to libwebrtc.dylib. This files will allow us to add support to the ISAC/fix codec.
1245
1246 2017-09-23  Youenn Fablet  <youenn@apple.com>
1247
1248         Export libwebrtc symbols through an export file
1249         https://bugs.webkit.org/show_bug.cgi?id=177344
1250
1251         Reviewed by Darin Adler.
1252
1253         Removing export changes made to libwebrtc.
1254         Exporting based on libwebrtc.exp file.
1255
1256         * Configurations/Base.xcconfig:
1257         * Configurations/libwebrtc.exp: Added.
1258         * Configurations/libwebrtc.xcconfig:
1259         * Source/webrtc/api/jsep.h:
1260         (): Deleted.
1261         * Source/webrtc/api/mediatypes.h:
1262         * Source/webrtc/api/peerconnectioninterface.h:
1263         * Source/webrtc/api/rtcerror.h:
1264         * Source/webrtc/api/stats/rtcstats.h:
1265         * Source/webrtc/api/stats/rtcstatsreport.h:
1266         (): Deleted.
1267         * Source/webrtc/api/video/i420_buffer.h:
1268         * Source/webrtc/api/video/video_frame.h:
1269         (): Deleted.
1270         * Source/webrtc/api/video/video_frame_buffer.h:
1271         * Source/webrtc/base/asyncpacketsocket.h:
1272         * Source/webrtc/base/asyncresolverinterface.h:
1273         (): Deleted.
1274         * Source/webrtc/base/checks.h:
1275         (): Deleted.
1276         * Source/webrtc/base/copyonwritebuffer.h:
1277         (): Deleted.
1278         * Source/webrtc/base/event.h:
1279         (): Deleted.
1280         * Source/webrtc/base/export.h: Removed.
1281         * Source/webrtc/base/helpers.h:
1282         * Source/webrtc/base/ipaddress.h:
1283         * Source/webrtc/base/location.h:
1284         (): Deleted.
1285         * Source/webrtc/base/logging.h:
1286         * Source/webrtc/base/messagehandler.h:
1287         * Source/webrtc/base/network.h:
1288         * Source/webrtc/base/proxyinfo.h:
1289         * Source/webrtc/base/socketaddress.h:
1290         (): Deleted.
1291         * Source/webrtc/base/thread.h:
1292         * Source/webrtc/common_video/include/i420_buffer_pool.h:
1293         (): Deleted.
1294         * Source/webrtc/common_video/include/video_frame_buffer.h:
1295         (): Deleted.
1296         * Source/webrtc/common_video/libyuv/include/webrtc_libyuv.h:
1297         * Source/webrtc/media/engine/webrtcvideoencoderfactory.h:
1298         (): Deleted.
1299         * Source/webrtc/p2p/base/basicpacketsocketfactory.h:
1300         (): Deleted.
1301         * Source/webrtc/p2p/client/basicportallocator.h:
1302         * Source/webrtc/pc/mediastream.h:
1303         * Source/webrtc/sdk/objc/Framework/Classes/Video/corevideo_frame_buffer.h:
1304         (): Deleted.
1305         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.h:
1306         (): Deleted.
1307         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/videocodecfactory.h:
1308         (): Deleted.
1309         * libwebrtc.xcodeproj/project.pbxproj:
1310
1311 2017-09-20  Youenn Fablet  <youenn@apple.com>
1312
1313         Upstream googletest framework
1314         https://bugs.webkit.org/show_bug.cgi?id=177252
1315
1316         Reviewed by Alex Christensen.
1317
1318         This is used by libwebrtc.
1319
1320         * Source/third_party/googletest: Added.
1321  
1322 2017-09-15  Alicia Boya García  <aboya@igalia.com>
1323
1324         Normalize line terminators in jsoncpp Visual Studio files
1325         https://bugs.webkit.org/show_bug.cgi?id=176991
1326
1327         Reviewed by Konstantin Tokarev.
1328
1329         * Source/third_party/jsoncpp/source/makefiles/vs71/jsoncpp.sln:
1330         * Source/third_party/jsoncpp/source/makefiles/vs71/jsontest.vcproj:
1331         * Source/third_party/jsoncpp/source/makefiles/vs71/lib_json.vcproj:
1332         * Source/third_party/jsoncpp/source/makefiles/vs71/test_lib_json.vcproj:
1333
1334 2017-07-18  Andy Estes  <aestes@apple.com>
1335
1336         [Xcode] Enable CLANG_WARN_OBJC_LITERAL_CONVERSION
1337         https://bugs.webkit.org/show_bug.cgi?id=174631
1338
1339         Reviewed by Sam Weinig.
1340
1341         * Configurations/Base.xcconfig:
1342
1343 2017-07-18  Andy Estes  <aestes@apple.com>
1344
1345         [Xcode] Enable CLANG_WARN_NON_LITERAL_NULL_CONVERSION
1346         https://bugs.webkit.org/show_bug.cgi?id=174631
1347
1348         Reviewed by Dan Bernstein.
1349
1350         * Configurations/Base.xcconfig:
1351
1352 2017-07-18  Andy Estes  <aestes@apple.com>
1353
1354         [Xcode] Enable CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING
1355         https://bugs.webkit.org/show_bug.cgi?id=174631
1356
1357         Reviewed by Darin Adler.
1358
1359         * Configurations/Base.xcconfig:
1360
1361 2017-07-03  Andy Estes  <aestes@apple.com>
1362
1363         [Xcode] Add an experimental setting to build with ccache
1364         https://bugs.webkit.org/show_bug.cgi?id=173875
1365
1366         Reviewed by Tim Horton.
1367
1368         * Configurations/DebugRelease.xcconfig: Included ccache.xcconfig.
1369
1370 2017-07-01  Dan Bernstein  <mitz@apple.com>
1371
1372         [macOS] Remove code only needed when building for OS X Yosemite
1373         https://bugs.webkit.org/show_bug.cgi?id=174067
1374
1375         Reviewed by Tim Horton.
1376
1377         * Configurations/Base.xcconfig:
1378         * Configurations/DebugRelease.xcconfig:
1379
1380 2017-06-27  Youenn Fablet  <youenn@apple.com>
1381
1382         Update boringssl to c8ff30cbe716c72279a6f6a9d7d7d0d4091220fa
1383         https://bugs.webkit.org/show_bug.cgi?id=173676
1384
1385         Reviewed by Alex Christensen.
1386
1387         * Configurations/boringssl.xcconfig: Enabling ASM.
1388         * Source/third_party/boringssl/BUILD.generated.gni:
1389         * Source/third_party/boringssl: Updated folder according new revision.
1390         * WebKit/patch-boringssl: Added, needed to fix some files to disable warnings.
1391         * libwebrtc.xcodeproj/project.pbxproj:
1392
1393 2017-06-27  Youenn Fablet  <youenn@apple.com>
1394
1395         Refresh usrsctp to Source/ThirdParty/libwebrtc/WebKit/patch-usrsctp and libsrtp to ccf84786f8ef803cb9c75e919e5a3976b9f5a67
1396         https://bugs.webkit.org/show_bug.cgi?id=173673
1397
1398         Reviewed by Sam Weinig.
1399
1400         * Source/third_party/libsrtp/README.chromium:
1401         * Source/third_party/libsrtp/srtp/srtp.c:
1402         (srtp_stream_init_keys):
1403         (srtp_calc_aead_iv_srtcp):
1404         (srtp_protect_rtcp_aead):
1405         (srtp_unprotect_rtcp_aead):
1406         * Source/third_party/libsrtp/test/srtp_driver.c:
1407         (srtp_validate_encrypted_extensions_headers_gcm):
1408         * Source/third_party/usrsctp/usrsctplib/.gitignore: Added.
1409         * Source/third_party/usrsctp/usrsctplib/CMakeLists.txt:
1410         * Source/third_party/usrsctp/usrsctplib/Makefile.am:
1411         * Source/third_party/usrsctp/usrsctplib/README.md:
1412         * Source/third_party/usrsctp/usrsctplib/configure.ac:
1413         * Source/third_party/usrsctp/usrsctplib/programs/CMakeLists.txt:
1414         * Source/third_party/usrsctp/usrsctplib/programs/Makefile.am:
1415         * Source/third_party/usrsctp/usrsctplib/programs/client.c:
1416         (main):
1417         * Source/third_party/usrsctp/usrsctplib/programs/datachan_serv.c:
1418         (main):
1419         * Source/third_party/usrsctp/usrsctplib/programs/ekr_loop_offload.c: Added.
1420         (handle_packets):
1421         * Source/third_party/usrsctp/usrsctplib/programs/test_timer.c: Added.
1422         (main):
1423         * Source/third_party/usrsctp/usrsctplib/usrsctp.pc.in: Added.
1424         * Source/third_party/usrsctp/usrsctplib/usrsctplib/CMakeLists.txt:
1425         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_asconf.c:
1426         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_asconf.h:
1427         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_auth.c:
1428         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_auth.h:
1429         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_bsd_addr.c:
1430         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_bsd_addr.h:
1431         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_cc_functions.c:
1432         (sctp_cwnd_update_after_fr):
1433         (sctp_hs_cwnd_update_after_fr):
1434         (sctp_htcp_cwnd_update_after_fr):
1435         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_constants.h:
1436         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_crc32.c:
1437         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_crc32.h:
1438         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_header.h:
1439         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_indata.c:
1440         (sctp_build_readq_entry):
1441         (sctp_place_control_in_stream):
1442         (sctp_abort_in_reasm):
1443         (sctp_queue_data_to_stream):
1444         (sctp_build_readq_entry_from_ctl):
1445         (sctp_handle_old_unordered_data):
1446         (sctp_inject_old_unordered_data):
1447         (sctp_deliver_reasm_check):
1448         (sctp_add_chk_to_control):
1449         (sctp_queue_data_for_reasm):
1450         (sctp_find_reasm_entry):
1451         (sctp_process_a_data_chunk):
1452         (sctp_sack_check):
1453         (sctp_process_segment_range):
1454         (sctp_check_for_revoked):
1455         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_indata.h:
1456         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_input.c:
1457         (sctp_process_init):
1458         (sctp_process_cookie_existing):
1459         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_input.h:
1460         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_output.c:
1461         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_output.h:
1462         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_pcb.c:
1463         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_pcb.h:
1464         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_peeloff.h:
1465         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_ss_functions.c:
1466         (sctp_ss_rr_add):
1467         (sctp_ss_fcfs_select):
1468         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_structs.h:
1469         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_sysctl.c:
1470         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_timer.c:
1471         (sctp_recover_sent_list):
1472         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_uio.h:
1473         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_usrreq.c:
1474         (sctp_init):
1475         (sctp_pathmtu_adjustment):
1476         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_var.h:
1477         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctputil.c:
1478         (sctp_log_strm_del):
1479         (sctp_init_asoc):
1480         (sctp_notify_send_failed):
1481         (sctp_notify_send_failed2):
1482         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctputil.h:
1483         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet6/sctp6_usrreq.c:
1484         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet6/sctp6_var.h:
1485         * Source/third_party/usrsctp/usrsctplib/usrsctplib/user_mbuf.c:
1486         (m_get):
1487         (mbuf_initialize):
1488         * Source/third_party/usrsctp/usrsctplib/usrsctplib/user_mbuf.h:
1489         * Source/third_party/usrsctp/usrsctplib/usrsctplib/user_socket.c:
1490         * Source/third_party/usrsctp/usrsctplib/usrsctplib/usrsctp.h:
1491         * WebKit/patch-usrsctp: Added.
1492
1493 2017-06-22  Youenn Fablet  <youenn@apple.com>
1494
1495         [WebRTC] Prevent capturing at unconventional resolutions when using the SW encoder on Mac
1496         https://bugs.webkit.org/show_bug.cgi?id=172602
1497         <rdar://problem/32407693>
1498
1499         Reviewed by Eric Carlson.
1500
1501         Adding a parameter to disable hardware encoder.
1502
1503         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.h:
1504         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.mm:
1505         (webrtc::H264VideoToolboxEncoder::CreateCompressionSession):
1506
1507 2017-06-21  Youenn Fablet  <youenn@apple.com>
1508
1509         Update libyuv to 8cab2e31d76246263206318f3568d452e7f3ff3e
1510         https://bugs.webkit.org/show_bug.cgi?id=173675
1511
1512         Reviewed by Sam Weinig.
1513
1514         * Source/third_party/libyuv/.clang-format: Added.
1515         * Source/third_party/libyuv/.gitignore: Added.
1516         * Source/third_party/libyuv/Android.mk:
1517         * Source/third_party/libyuv/BUILD.gn:
1518         * Source/third_party/libyuv/CM_linux_packages.cmake: Added.
1519         * Source/third_party/libyuv/CMakeLists.txt:
1520         * Source/third_party/libyuv/DEPS:
1521         * Source/third_party/libyuv/PRESUBMIT.py:
1522         (_RunPythonTests):
1523         (_RunPythonTests.join):
1524         (_CommonChecks):
1525         (CheckChangeOnUpload):
1526         (CheckChangeOnCommit):
1527         * Source/third_party/libyuv/README.chromium:
1528         * Source/third_party/libyuv/build_overrides/build.gni:
1529         * Source/third_party/libyuv/chromium/.gclient: Removed.
1530         * Source/third_party/libyuv/chromium/README: Removed.
1531         * Source/third_party/libyuv/cleanup_links.py: Added.
1532         (WebRTCLinkSetup):
1533         (WebRTCLinkSetup.__init__):
1534         (WebRTCLinkSetup.CleanupLinks):
1535         (_initialize_database):
1536         (main):
1537         * Source/third_party/libyuv/codereview.settings:
1538         * Source/third_party/libyuv/docs/deprecated_builds.md:
1539         * Source/third_party/libyuv/docs/getting_started.md:
1540         * Source/third_party/libyuv/gyp_libyuv.py:
1541         * Source/third_party/libyuv/include/libyuv/basic_types.h:
1542         * Source/third_party/libyuv/include/libyuv/compare.h:
1543         * Source/third_party/libyuv/include/libyuv/compare_row.h:
1544         * Source/third_party/libyuv/include/libyuv/convert.h:
1545         * Source/third_party/libyuv/include/libyuv/convert_argb.h:
1546         * Source/third_party/libyuv/include/libyuv/convert_from.h:
1547         * Source/third_party/libyuv/include/libyuv/convert_from_argb.h:
1548         * Source/third_party/libyuv/include/libyuv/cpu_id.h:
1549         * Source/third_party/libyuv/include/libyuv/macros_msa.h:
1550         * Source/third_party/libyuv/include/libyuv/mjpeg_decoder.h:
1551         * Source/third_party/libyuv/include/libyuv/planar_functions.h:
1552         * Source/third_party/libyuv/include/libyuv/rotate.h:
1553         * Source/third_party/libyuv/include/libyuv/rotate_argb.h:
1554         * Source/third_party/libyuv/include/libyuv/rotate_row.h:
1555         * Source/third_party/libyuv/include/libyuv/row.h:
1556         * Source/third_party/libyuv/include/libyuv/scale.h:
1557         * Source/third_party/libyuv/include/libyuv/scale_argb.h:
1558         * Source/third_party/libyuv/include/libyuv/scale_row.h:
1559         * Source/third_party/libyuv/include/libyuv/version.h:
1560         * Source/third_party/libyuv/include/libyuv/video_common.h:
1561         * Source/third_party/libyuv/infra/config/OWNERS: Added.
1562         * Source/third_party/libyuv/infra/config/README.md: Added.
1563         * Source/third_party/libyuv/infra/config/cq.cfg: Added.
1564         * Source/third_party/libyuv/libyuv.gyp:
1565         * Source/third_party/libyuv/libyuv.gypi:
1566         * Source/third_party/libyuv/libyuv_test.gyp:
1567         * Source/third_party/libyuv/linux.mk:
1568         * Source/third_party/libyuv/pylintrc: Added.
1569         * Source/third_party/libyuv/setup_links.py: Removed.
1570         * Source/third_party/libyuv/source/compare.cc:
1571         * Source/third_party/libyuv/source/compare_common.cc:
1572         * Source/third_party/libyuv/source/compare_gcc.cc:
1573         * Source/third_party/libyuv/source/compare_neon.cc:
1574         * Source/third_party/libyuv/source/compare_neon64.cc:
1575         * Source/third_party/libyuv/source/compare_win.cc:
1576         * Source/third_party/libyuv/source/convert.cc:
1577         * Source/third_party/libyuv/source/convert_argb.cc:
1578         * Source/third_party/libyuv/source/convert_from.cc:
1579         * Source/third_party/libyuv/source/convert_from_argb.cc:
1580         * Source/third_party/libyuv/source/convert_jpeg.cc:
1581         * Source/third_party/libyuv/source/convert_to_argb.cc:
1582         * Source/third_party/libyuv/source/convert_to_i420.cc:
1583         * Source/third_party/libyuv/source/cpu_id.cc:
1584         * Source/third_party/libyuv/source/mjpeg_decoder.cc:
1585         * Source/third_party/libyuv/source/mjpeg_validate.cc:
1586         * Source/third_party/libyuv/source/planar_functions.cc:
1587         * Source/third_party/libyuv/source/rotate.cc:
1588         * Source/third_party/libyuv/source/rotate_any.cc:
1589         * Source/third_party/libyuv/source/rotate_argb.cc:
1590         * Source/third_party/libyuv/source/rotate_common.cc:
1591         * Source/third_party/libyuv/source/rotate_dspr2.cc: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/source/rotate_mips.cc.
1592         * Source/third_party/libyuv/source/rotate_gcc.cc:
1593         * Source/third_party/libyuv/source/rotate_msa.cc: Added.
1594         * Source/third_party/libyuv/source/rotate_neon.cc:
1595         * Source/third_party/libyuv/source/rotate_neon64.cc:
1596         * Source/third_party/libyuv/source/rotate_win.cc:
1597         * Source/third_party/libyuv/source/row_any.cc:
1598         * Source/third_party/libyuv/source/row_common.cc:
1599         * Source/third_party/libyuv/source/row_dspr2.cc: Added.
1600         * Source/third_party/libyuv/source/row_gcc.cc:
1601         * Source/third_party/libyuv/source/row_mips.cc: Removed.
1602         * Source/third_party/libyuv/source/row_msa.cc:
1603         * Source/third_party/libyuv/source/row_neon.cc:
1604         * Source/third_party/libyuv/source/row_neon64.cc:
1605         * Source/third_party/libyuv/source/row_win.cc:
1606         * Source/third_party/libyuv/source/scale.cc:
1607         * Source/third_party/libyuv/source/scale_any.cc:
1608         * Source/third_party/libyuv/source/scale_argb.cc:
1609         * Source/third_party/libyuv/source/scale_common.cc:
1610         * Source/third_party/libyuv/source/scale_dspr2.cc: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/source/scale_mips.cc.
1611         * Source/third_party/libyuv/source/scale_gcc.cc:
1612         * Source/third_party/libyuv/source/scale_msa.cc: Added.
1613         * Source/third_party/libyuv/source/scale_neon.cc:
1614         * Source/third_party/libyuv/source/scale_neon64.cc:
1615         * Source/third_party/libyuv/source/scale_win.cc:
1616         * Source/third_party/libyuv/source/video_common.cc:
1617         * Source/third_party/libyuv/sync_chromium.py: Removed.
1618         * Source/third_party/libyuv/third_party/gflags/BUILD.gn: Removed.
1619         * Source/third_party/libyuv/third_party/gflags/LICENSE: Removed.
1620         * Source/third_party/libyuv/third_party/gflags/README.libyuv: Removed.
1621         * Source/third_party/libyuv/third_party/gflags/gen/posix/include/gflags/gflags.h: Removed.
1622         * Source/third_party/libyuv/third_party/gflags/gen/posix/include/gflags/gflags_completions.h: Removed.
1623         * Source/third_party/libyuv/third_party/gflags/gen/posix/include/gflags/gflags_declare.h: Removed.
1624         * Source/third_party/libyuv/third_party/gflags/gen/posix/include/gflags/gflags_gflags.h: Removed.
1625         * Source/third_party/libyuv/third_party/gflags/gen/posix/include/private/config.h: Removed.
1626         * Source/third_party/libyuv/third_party/gflags/gen/win/include/gflags/gflags.h: Removed.
1627         * Source/third_party/libyuv/third_party/gflags/gen/win/include/gflags/gflags_completions.h: Removed.
1628         * Source/third_party/libyuv/third_party/gflags/gen/win/include/gflags/gflags_declare.h: Removed.
1629         * Source/third_party/libyuv/third_party/gflags/gen/win/include/gflags/gflags_gflags.h: Removed.
1630         * Source/third_party/libyuv/third_party/gflags/gen/win/include/private/config.h: Removed.
1631         * Source/third_party/libyuv/third_party/gflags/gflags.gyp: Removed.
1632         * Source/third_party/libyuv/tools/gritsettings/README: Removed.
1633         * Source/third_party/libyuv/tools/gritsettings/resource_ids: Removed.
1634         * Source/third_party/libyuv/tools/valgrind-libyuv/tsan/OWNERS: Removed.
1635         * Source/third_party/libyuv/tools/valgrind-libyuv/tsan/PRESUBMIT.py: Removed.
1636         * Source/third_party/libyuv/tools/valgrind-libyuv/tsan/suppressions.txt: Removed.
1637         * Source/third_party/libyuv/tools/valgrind-libyuv/tsan/suppressions_mac.txt: Removed.
1638         * Source/third_party/libyuv/tools/valgrind-libyuv/tsan/suppressions_win32.txt: Removed.
1639         * Source/third_party/libyuv/tools_libyuv/OWNERS: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/OWNERS.
1640         * Source/third_party/libyuv/tools_libyuv/autoroller/roll_deps.py: Added.
1641         (RollError):
1642         (ParseDepsDict):
1643         (ParseLocalDepsFile):
1644         (ParseRemoteCrDepsFile):
1645         (ParseCommitPosition):
1646         (_RunCommand):
1647         (_GetBranches):
1648         (_ReadGitilesContent):
1649         (ReadRemoteCrFile):
1650         (ReadRemoteCrCommit):
1651         (ReadUrlContent):
1652         (GetMatchingDepsEntries):
1653         (BuildDepsentryDict):
1654         (BuildDepsentryDict.AddDepsEntries):
1655         (CalculateChangedDeps):
1656         (CalculateChangedClang):
1657         (CalculateChangedClang.GetClangRev):
1658         (GenerateCommitMessage):
1659         (UpdateDepsFile):
1660         (_IsTreeClean):
1661         (_EnsureUpdatedMasterBranch):
1662         (_CreateRollBranch):
1663         (_RemovePreviousRollBranch):
1664         (_LocalCommit):
1665         (_UploadCL):
1666         (_SendToCQ):
1667         (main):
1668         * Source/third_party/libyuv/tools_libyuv/autoroller/unittests/roll_deps_test.py: Added.
1669         (TestError):
1670         (FakeCmd):
1671         (FakeCmd.__init__):
1672         (FakeCmd.add_expectation):
1673         (FakeCmd.__call__):
1674         (TestRollChromiumRevision):
1675         (TestRollChromiumRevision.setUp):
1676         (TestRollChromiumRevision.tearDown):
1677         (TestRollChromiumRevision.testUpdateDepsFile):
1678         (TestRollChromiumRevision.testParseDepsDict):
1679         (TestRollChromiumRevision.testParseDepsDict.assertVar):
1680         (TestRollChromiumRevision.testGetMatchingDepsEntriesReturnsPathInSimpleCase):
1681         (TestRollChromiumRevision.testGetMatchingDepsEntriesHandlesSimilarStartingPaths):
1682         (TestRollChromiumRevision.testGetMatchingDepsEntriesHandlesTwoPathsWithIdenticalFirstParts):
1683         (TestRollChromiumRevision.testCalculateChangedDeps):
1684         (_SetupGitLsRemoteCall):
1685         * Source/third_party/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS: Added.
1686         * Source/third_party/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium.new: Added.
1687         * Source/third_party/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium.old: Added.
1688         * Source/third_party/libyuv/tools_libyuv/get_landmines.py: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/get_landmines.py.
1689         * Source/third_party/libyuv/tools_libyuv/msan/OWNERS: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/msan/OWNERS.
1690         * Source/third_party/libyuv/tools_libyuv/msan/blacklist.txt: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/msan/blacklist.txt.
1691         * Source/third_party/libyuv/tools_libyuv/ubsan/OWNERS: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/ubsan/OWNERS.
1692         * Source/third_party/libyuv/tools_libyuv/ubsan/blacklist.txt: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/ubsan/blacklist.txt.
1693         * Source/third_party/libyuv/tools_libyuv/ubsan/vptr_blacklist.txt: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/ubsan/vptr_blacklist.txt.
1694         * Source/third_party/libyuv/tools_libyuv/valgrind/libyuv_tests.bat: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/valgrind-libyuv/libyuv_tests.bat.
1695         * Source/third_party/libyuv/tools_libyuv/valgrind/libyuv_tests.py: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/valgrind-libyuv/libyuv_tests.py.
1696         (LibyuvTest._DefaultCommand):
1697         * Source/third_party/libyuv/tools_libyuv/valgrind/libyuv_tests.sh: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/valgrind-libyuv/libyuv_tests.sh.
1698         * Source/third_party/libyuv/tools_libyuv/valgrind/memcheck/OWNERS: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/valgrind-libyuv/memcheck/OWNERS.
1699         * Source/third_party/libyuv/tools_libyuv/valgrind/memcheck/PRESUBMIT.py: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/valgrind-libyuv/memcheck/PRESUBMIT.py.
1700         (CheckChange):
1701         * Source/third_party/libyuv/tools_libyuv/valgrind/memcheck/suppressions.txt: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/valgrind-libyuv/memcheck/suppressions.txt.
1702         * Source/third_party/libyuv/tools_libyuv/valgrind/memcheck/suppressions_mac.txt: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/valgrind-libyuv/memcheck/suppressions_mac.txt.
1703         * Source/third_party/libyuv/tools_libyuv/valgrind/memcheck/suppressions_win32.txt: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/valgrind-libyuv/memcheck/suppressions_win32.txt.
1704         * Source/third_party/libyuv/unit_test/color_test.cc:
1705         * Source/third_party/libyuv/unit_test/compare_test.cc:
1706         * Source/third_party/libyuv/unit_test/convert_test.cc:
1707         * Source/third_party/libyuv/unit_test/cpu_test.cc:
1708         * Source/third_party/libyuv/unit_test/cpu_thread_test.cc: Added.
1709         * Source/third_party/libyuv/unit_test/math_test.cc:
1710         * Source/third_party/libyuv/unit_test/planar_test.cc:
1711         * Source/third_party/libyuv/unit_test/rotate_argb_test.cc:
1712         * Source/third_party/libyuv/unit_test/rotate_test.cc:
1713         * Source/third_party/libyuv/unit_test/scale_argb_test.cc:
1714         * Source/third_party/libyuv/unit_test/scale_test.cc:
1715         * Source/third_party/libyuv/unit_test/unit_test.cc:
1716         * Source/third_party/libyuv/unit_test/unit_test.h:
1717         (SizeValid):
1718         * Source/third_party/libyuv/unit_test/video_common_test.cc:
1719         * Source/third_party/libyuv/util/compare.cc:
1720         * Source/third_party/libyuv/util/cpuid.c:
1721         (main):
1722         * Source/third_party/libyuv/util/psnr.cc:
1723         * Source/third_party/libyuv/util/psnr_main.cc:
1724         * Source/third_party/libyuv/util/ssim.cc:
1725         * Source/third_party/libyuv/util/ssim.h:
1726         * Source/third_party/libyuv/util/yuvconvert.cc: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/util/convert.cc.
1727
1728 2017-06-21  Youenn Fablet  <youenn@apple.com>
1729
1730         Fix build after r218645
1731         https://bugs.webkit.org/show_bug.cgi?id=173668
1732
1733         Unreviewed.
1734
1735         * Source/webrtc/base/sigslottester.h: Removing executable right.
1736         * Source/webrtc/modules/video_coding/codecs/vp8/temporal_layers.h:
1737         (webrtc::TemporalLayersFactory::Create): Inline a default implementation.
1738         * Source/webrtc/modules/video_processing/util/skin_detection.h: Removing executable right.
1739
1740 2017-06-21  Youenn Fablet  <youenn@apple.com>
1741
1742         Remove expat source code from Source/ThirdParty/libwebrtc
1743         https://bugs.webkit.org/show_bug.cgi?id=173656
1744
1745         Reviewed by Brent Fulgham.
1746
1747         * Source/third_party/expat/BUILD.gn: Removed.
1748         * Source/third_party/expat/OWNERS: Removed.
1749         * Source/third_party/expat/README.chromium: Removed.
1750         * Source/third_party/expat/files/COPYING: Removed.
1751         * Source/third_party/expat/files/Changes: Removed.
1752         * Source/third_party/expat/files/MANIFEST: Removed.
1753         * Source/third_party/expat/files/README: Removed.
1754         * Source/third_party/expat/files/lib/amigaconfig.h: Removed.
1755         * Source/third_party/expat/files/lib/ascii.h: Removed.
1756         * Source/third_party/expat/files/lib/asciitab.h: Removed.
1757         * Source/third_party/expat/files/lib/expat.h: Removed.
1758         * Source/third_party/expat/files/lib/expat_config.h: Removed.
1759         * Source/third_party/expat/files/lib/expat_external.h: Removed.
1760         * Source/third_party/expat/files/lib/iasciitab.h: Removed.
1761         * Source/third_party/expat/files/lib/internal.h: Removed.
1762         * Source/third_party/expat/files/lib/latin1tab.h: Removed.
1763         * Source/third_party/expat/files/lib/libexpat.def: Removed.
1764         * Source/third_party/expat/files/lib/libexpatw.def: Removed.
1765         * Source/third_party/expat/files/lib/macconfig.h: Removed.
1766         * Source/third_party/expat/files/lib/nametab.h: Removed.
1767         * Source/third_party/expat/files/lib/utf8tab.h: Removed.
1768         * Source/third_party/expat/files/lib/winconfig.h: Removed.
1769         * Source/third_party/expat/files/lib/winconfig.h.original: Removed.
1770         * Source/third_party/expat/files/lib/xmlparse.c: Removed.
1771         * Source/third_party/expat/files/lib/xmlparse.c.original: Removed.
1772         * Source/third_party/expat/files/lib/xmlrole.c: Removed.
1773         * Source/third_party/expat/files/lib/xmlrole.h: Removed.
1774         * Source/third_party/expat/files/lib/xmltok.c: Removed.
1775         * Source/third_party/expat/files/lib/xmltok.h: Removed.
1776         * Source/third_party/expat/files/lib/xmltok_impl.c: Removed.
1777         * Source/third_party/expat/files/lib/xmltok_impl.c.original: Removed.
1778         * Source/third_party/expat/files/lib/xmltok_impl.h: Removed.
1779         * Source/third_party/expat/files/lib/xmltok_ns.c: Removed.
1780         * Source/third_party/expat/fuzz/OWNERS: Removed.
1781         * Source/third_party/expat/fuzz/expat_xml_parse_fuzzer.cc: Removed.
1782
1783 2017-06-21  Youenn Fablet  <youenn@apple.com>
1784
1785         Refresh libwebrtc code up to a87675d4a160e2c49c3e754cd9ca291d6c8f36ae
1786         https://bugs.webkit.org/show_bug.cgi?id=173602
1787
1788         Reviewed by Eric Carlson.
1789
1790         * Configurations/libwebrtc.xcconfig:
1791         * Source: Updated to a87675d4a160e2c49c3e754cd9ca291d6c8f36ae and reapplied WebKit specific changes.
1792         * WebKit/patch-libwebrtc:
1793         * libwebrtc.xcodeproj/project.pbxproj:
1794
1795 2017-06-19  Commit Queue  <commit-queue@webkit.org>
1796
1797         Unreviewed, rolling out r218505.
1798         https://bugs.webkit.org/show_bug.cgi?id=173563
1799
1800         "It would break internal builds" (Requested by youenn on
1801         #webkit).
1802
1803         Reverted changeset:
1804
1805         "[WebRTC] Prevent capturing at unconventional resolutions when
1806         using the SW encoder on Mac"
1807         https://bugs.webkit.org/show_bug.cgi?id=172602
1808         http://trac.webkit.org/changeset/218505
1809
1810 2017-06-19  Youenn Fablet  <youenn@apple.com>
1811
1812         [WebRTC] Prevent capturing at unconventional resolutions when using the SW encoder on Mac
1813         https://bugs.webkit.org/show_bug.cgi?id=172602
1814         <rdar://problem/32407693>
1815
1816         Reviewed by Eric Carlson.
1817
1818         Adding a parameter to disable hardware encoder.
1819
1820         * Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:
1821         * Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:
1822         (webrtc::H264VideoToolboxEncoder::CreateCompressionSession):
1823
1824 2017-06-10  Dan Bernstein  <mitz@apple.com>
1825
1826         Reverted r218056 because it made the IDE reindex constantly.
1827
1828         * Configurations/DebugRelease.xcconfig:
1829
1830 2017-06-10  Dan Bernstein  <mitz@apple.com>
1831
1832         [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
1833         https://bugs.webkit.org/show_bug.cgi?id=173223
1834
1835         Reviewed by Sam Weinig.
1836
1837         The rebuilds were happening due to a difference in the compiler options that the IDE and
1838         xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
1839         xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
1840         specify an appropriate path in CLANG_INDEX_STORE_PATH.
1841
1842         * Configurations/DebugRelease.xcconfig:
1843
1844 2017-06-07  Youenn Fablet  <youenn@apple.com>
1845
1846         Add WebRTC stats logging
1847         https://bugs.webkit.org/show_bug.cgi?id=173045
1848
1849         Reviewed by Eric Carlson.
1850
1851         * Source/webrtc/api/stats/rtcstats.h: Exporting RTCStats ToString.
1852
1853 2017-05-28  Dan Bernstein  <mitz@apple.com>
1854
1855         [Xcode] ALWAYS_SEARCH_USER_PATHS is set to YES
1856         https://bugs.webkit.org/show_bug.cgi?id=172691
1857
1858         Reviewed by Tim Horton.
1859
1860         * Configurations/Base.xcconfig: Set ALWAYS_SEARCH_USER_PATHS to NO.
1861
1862 2017-05-16  Youenn Fablet  <youenn@apple.com>
1863
1864         RealtimeOutgoingVideoSource should support sinkWants for rotation
1865         https://bugs.webkit.org/show_bug.cgi?id=172123
1866         <rdar://problem/32200017>
1867
1868         Reviewed by Eric Carlson.
1869
1870         * Source/webrtc/api/video/i420_buffer.h: Exporting rotate routine.
1871
1872 2017-05-08  Youenn Fablet  <youenn@apple.com>
1873
1874         TURNS gathering is not working properly
1875         https://bugs.webkit.org/show_bug.cgi?id=171747
1876
1877         Reviewed by Eric Carlson.
1878
1879         * Source/webrtc/base/openssladapter.cc: Adding support for SNI in case of TLS ice candidate gathering.
1880
1881 2017-04-29  Dan Bernstein  <mitz@apple.com>
1882
1883         [Xcode] libwebrtc SRCROOT includes examples
1884         https://bugs.webkit.org/show_bug.cgi?id=171478
1885
1886         Reviewed by Tim Horton.
1887
1888         * Configurations/Base.xcconfig: Exclude the Source/webrtc/examples subdirectory from
1889           installsrc. Its contents are not used for building any of the targets in the project.
1890
1891 2017-04-19  Youenn Fablet  <youenn@apple.com>
1892
1893         [Mac] Allow customizing H264 encoder
1894         https://bugs.webkit.org/show_bug.cgi?id=170829
1895
1896         Reviewed by Alex Christensen.
1897
1898         * Configurations/libwebrtc.xcconfig:
1899         * Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:
1900         * Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:
1901         (webrtc::H264VideoToolboxEncoder::ResetCompressionSession):
1902         (webrtc::H264VideoToolboxEncoder::CreateCompressionSession): Default implementation, fixing memory leak for dictionary.
1903         * Source/webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.cc:
1904
1905 2017-04-18  Youenn Fablet  <youenn@apple.com>
1906
1907         Add NDEBUG and CodeStripping to libwebrtc build system
1908         https://bugs.webkit.org/show_bug.cgi?id=170954
1909
1910         Reviewed by Alex Christensen.
1911
1912         This optimizes libwebrtc library size and efficiency.
1913         This allows allocating libwebrtc objects in WebCore without issues.
1914
1915         * Configurations/Base.xcconfig:
1916         * Configurations/boringssl.xcconfig:
1917         * Configurations/libsrtp.xcconfig:
1918         * Configurations/libwebrtc.xcconfig:
1919         * Configurations/libwebrtcpcrtc.xcconfig:
1920         * Configurations/opus.xcconfig:
1921         * Configurations/usrsctp.xcconfig:
1922
1923 2017-04-17  Youenn Fablet  <youenn@apple.com>
1924
1925         Add an external libwebrtc encoder factory in WebCore
1926         https://bugs.webkit.org/show_bug.cgi?id=170883
1927
1928         Reviewed by Alex Christensen.
1929
1930         Exporting some symbols.
1931         Allowing to customize the creation of the H264 encoder.
1932
1933         * Source/webrtc/media/base/codec.h:
1934         * Source/webrtc/media/engine/webrtcvideoencoderfactory.h
1935         * Source/webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.cc:
1936         * Source/webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.h:
1937         * Source/webrtc/video_decoder.h
1938         * Source/webrtc/video_encoder.h
1939
1940 2017-04-14  Mark Lam  <mark.lam@apple.com>
1941
1942         Update architectures in xcconfig files.
1943         https://bugs.webkit.org/show_bug.cgi?id=170867
1944         <rdar://problem/31628104>
1945
1946         Reviewed by Joseph Pecoraro.
1947
1948         * Configurations/opus.xcconfig:
1949
1950 2017-04-12  Dan Bernstein  <mitz@apple.com>
1951
1952         [Mac] Future-proof .xcconfig files
1953         https://bugs.webkit.org/show_bug.cgi?id=170802
1954
1955         Reviewed by Tim Horton.
1956
1957         * Configurations/Base.xcconfig:
1958         * Configurations/DebugRelease.xcconfig:
1959         * Configurations/opus.xcconfig:
1960
1961 2017-04-07  Alex Christensen  <achristensen@webkit.org>
1962
1963         Enable SSE4 and NEON optimizations of libopus where available
1964         https://bugs.webkit.org/show_bug.cgi?id=170592
1965
1966         Reviewed by Youenn Fablet.
1967
1968         * Configurations/opus.xcconfig:
1969         * libwebrtc.xcodeproj/project.pbxproj:
1970
1971 2017-04-06  Youenn Fablet  <youenn@apple.com>
1972
1973         WebRTC aborts when trying to sleep on a wrong thread
1974         https://bugs.webkit.org/show_bug.cgi?id=170492
1975         <rdar://problem/31446377>
1976
1977         Reviewed by Eric Carlson.
1978
1979         Libwebrtc network thread is set up so that it does not accept blocking calls to other threads.
1980         as per ChannelManager::Init() in channelmanager.cc.
1981         But rtc::Thread::SleepMs expects to block it.
1982         Marking thread as blockable before calling SleepMs and resetting the value if needed afterwards.
1983         * Source/webrtc/media/sctp/sctptransport.cc:
1984
1985 2017-03-27  Alejandro G. Castro  <alex@igalia.com>
1986
1987         Fixes for libwebrtc logging after r214288
1988         https://bugs.webkit.org/show_bug.cgi?id=170116
1989
1990         Reviewed by Youenn Fablet.
1991
1992         * Source/webrtc/base/logging.cc: Added the critical section
1993         requirement and the call to the new getter for g_log_crit.
1994
1995 2017-03-27  Alex Christensen  <achristensen@webkit.org>
1996
1997         Build libwebrtc with even more warnings
1998         https://bugs.webkit.org/show_bug.cgi?id=169997
1999
2000         Reviewed by Tim Horton.
2001
2002         There are still OSAtomic* functions I don't want to worry about right now,
2003         so I'm keeping a few -Wno-deprecated-declarations, but everything else can go.
2004
2005         * Configurations/libsrtp.xcconfig:
2006         * Configurations/libwebrtc.xcconfig:
2007         * Configurations/libwebrtcpcrtc.xcconfig:
2008
2009 2017-03-27  Youenn Fablet  <youenn@apple.com>
2010
2011         Add support for RTCRtpReceiver/RTCRtpSender getParameters
2012         https://bugs.webkit.org/show_bug.cgi?id=170057
2013
2014         Reviewed by Alex Christensen.
2015
2016         * Source/webrtc/api/mediatypes.h:
2017
2018 2017-03-22  Alex Christensen  <achristensen@webkit.org>
2019
2020         Fix warnings in libwebrtc
2021         https://bugs.webkit.org/show_bug.cgi?id=169973
2022
2023         Reviewed by Geoffrey Garen.
2024
2025         * Configurations/boringssl.xcconfig:
2026         * Configurations/libsrtp.xcconfig:
2027         * Configurations/libwebrtc.xcconfig:
2028         * Configurations/libwebrtcpcrtc.xcconfig:
2029         * Configurations/libyuv.xcconfig:
2030         * Configurations/opus.xcconfig:
2031         * Configurations/usrsctp.xcconfig:
2032         Build with more warnings.
2033         opus still needs some incompatible pointer warnings disabled because it converts 
2034         const opus_int16 * to const opus_val16 * and opus_int32 * to opus_val32 *
2035         and that's ok because its a codec and that's what codecs do.
2036         * Source/webrtc/base/logging.cc:
2037         * Source/webrtc/base/logging.h:
2038         * Source/webrtc/base/neverdestroyed.h: Added.
2039         (webrtc::NeverDestroyed::NeverDestroyed):
2040         (webrtc::NeverDestroyed::operator T&):
2041         (webrtc::NeverDestroyed::get):
2042         (webrtc::NeverDestroyed::operator&):
2043         (webrtc::NeverDestroyed::asPtr):
2044         Added webrtc::NeverDestroyed which may or may not be based on WTF::NeverDestroyed.
2045         This allows us to avoid exit time destructors, which would slow down program termination for no reason.
2046         * Source/webrtc/base/virtualsocketserver.cc:
2047         * Source/webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory_internal.cc:
2048         Adopt NeverDestroyed in function scope so we don't have global constructors or destructors.
2049         * Source/webrtc/modules/audio_processing/beamformer/array_util.h:
2050         (webrtc::DegreesToRadians):
2051         (webrtc::RadiansToDegrees):
2052         Add constexpr so we can calculate values at compile time instead of launch time.
2053         * Source/webrtc/modules/rtp_rtcp/source/rtp_utility.cc:
2054         * Source/webrtc/system_wrappers/source/clock.cc:
2055         * libwebrtc.xcodeproj/project.pbxproj:
2056         Don't compile ssl_test.cc.  We don't need it.
2057
2058 2017-03-10  Youenn Fablet  <youenn@apple.com>
2059
2060         Move libwebrtc backend to using tracks
2061         https://bugs.webkit.org/show_bug.cgi?id=169472
2062
2063         Reviewed by Alex Christensen.
2064
2065         * Source/webrtc/pc/rtcstatscollector.cc: Moving from using media stream to tracks.
2066
2067 2017-03-08  Youenn Fablet  <youenn@apple.com>
2068
2069         Use H264 hardware encoder for Mac libwebrtc
2070         https://bugs.webkit.org/show_bug.cgi?id=169383
2071
2072         Reviewed by Alex Christensen.
2073
2074         Switching to H264 hardware encoder if available for Mac.
2075         Adding logs in case hardware encoder cannot be used.
2076
2077         * Configurations/libwebrtc.xcconfig:
2078         * Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:
2079         (webrtc::H264VideoToolboxEncoder::ResetCompressionSession):
2080         (webrtc::H264VideoToolboxEncoder::ConfigureCompressionSession):
2081
2082 2017-03-07  Youenn Fablet  <youenn@apple.com>
2083
2084         TurnPort::OnSocketConnect is crashing
2085         https://bugs.webkit.org/show_bug.cgi?id=169284
2086
2087         Reviewed by Eric Carlson.
2088
2089         * Source/webrtc/p2p/base/turnport.cc: Fixing the assertion.
2090
2091 2017-03-06  Youenn Fablet  <youenn@apple.com>
2092
2093         Bring back WebKit specific changes to disable temporarily libwebrtc video adaptation
2094         https://bugs.webkit.org/show_bug.cgi?id=169229
2095
2096         Reviewed by Alex Christensen.
2097
2098         * Source/webrtc/modules/video_coding/video_sender.cc: disabling frame dropping.
2099         * Source/webrtc/video/vie_encoder.cc: disabling resolution decrease based on CPU overuse.
2100
2101 2017-03-06  Alex Christensen  <achristensen@webkit.org>
2102
2103         Fix Production libwebrtc build after r213418
2104         https://bugs.webkit.org/show_bug.cgi?id=169217
2105         <rdar://problem/30876775>
2106
2107         Reviewed by Tim Horton.
2108
2109         * Source/webrtc/base/checks.h:
2110         * libwebrtc.xcodeproj/project.pbxproj:
2111         MakeCheckOpString was a weak export, and it wasn't needed.
2112         There is an internal build that checks for weak exports and fails if there is one.
2113         Run the check-for-weak-vtables-and-externals script for libwebrtc.dylib like we do for the other frameworks.
2114
2115 2017-03-04  Dan Bernstein  <mitz@apple.com>
2116
2117         [Cocoa] libwebrtc.dylib’s current version is fixed at 1.0.0
2118         https://bugs.webkit.org/show_bug.cgi?id=169170
2119
2120         Reviewed by Alex Christensen.
2121
2122         * Configurations/Version.xcconfig: Copied from Source/JavaScriptCore/Configurations/Version.xcconfig.
2123           This defines DYLIB_CURRENT_VERSION.
2124         * Configurations/libwebrtc.xcconfig: Include Version.xcconfig.
2125
2126 2017-03-04  Alex Christensen  <achristensen@webkit.org>
2127
2128         Cleanup after r213418
2129         https://bugs.webkit.org/show_bug.cgi?id=169165
2130
2131         Reviewed by Youenn Fablet.
2132
2133         * WebKit/patch-libwebrtc:
2134         I made another change after the last patch I uploaded to stop crashing.
2135         This should be reflected in our patch.
2136
2137 2017-03-03  Youenn Fablet  <youenn@apple.com>
2138
2139         [WebRTC] Update libwebrtc source code
2140         https://bugs.webkit.org/show_bug.cgi?id=168599
2141
2142         Reviewed by Alex Christensen.
2143
2144         Very long list of file changes omitted.
2145
2146         We updated to git commit 716e726ef0b322e8317b749613691da043bfc61c
2147         of https://chromium.googlesource.com/external/webrtc and applied
2148         the changes that are now in WebKit/patch-libwebrtc
2149
2150 2017-03-03  Alex Christensen  <achristensen@webkit.org>
2151
2152         Remove empty build directories.
2153
2154         * build: Removed.
2155         * build/Debug: Removed.
2156
2157 2017-03-01  Joseph Pecoraro  <pecoraro@apple.com>
2158
2159         [WebRTC] Install libwebrtc.dylib inside of WebCore.framework
2160         https://bugs.webkit.org/show_bug.cgi?id=168859
2161
2162         Reviewed by Dan Bernstein.
2163
2164         * Configurations/Base.xcconfig:
2165         Define some general configuration variables.
2166
2167         * Configurations/DebugRelease.xcconfig:
2168         Define WK_RELOCATABLE_FRAMEWORKS for Debug/Release builds.
2169
2170         * Configurations/libwebrtc.xcconfig:
2171         Set INSTALL_PATH to be inside WebCore.framework's sub-Frameworks directory
2172         unless WK_USE_OVERRIDE_FRAMEWORKS_DIR. Set the install name of the dylib to
2173         be relative to WebCore / WebKit when frameworks are relocatable, such as
2174         WK_USE_OVERRIDE_FRAMEWORKS_DIR or WK_RELOCATABLE_FRAMEWORKS.
2175
2176 2017-02-28  Youenn Fablet  <youenn@apple.com>
2177
2178         [WebRTC] CPU Overuse libwebrtc detector is decreasing the quality of the video
2179         https://bugs.webkit.org/show_bug.cgi?id=168990
2180
2181         Reviewed by Eric Carlson.
2182
2183         * Source/webrtc/video/vie_encoder.cc: Disabling temporarily overuse detector.
2184
2185 2017-02-28  Alex Christensen  <achristensen@webkit.org>
2186
2187         [WebRTC] Fix an internal production build
2188         https://bugs.webkit.org/show_bug.cgi?id=168992
2189
2190         Reviewed by Youenn Fablet.
2191
2192         * libwebrtc.xcodeproj/project.pbxproj:
2193         Link with Foundation and CoreFoundation frameworks.
2194
2195 2017-02-28  Youenn Fablet  <youenn@apple.com>
2196
2197         [WebRTC] LibWebRTC frame dropper is not working consistently
2198         https://bugs.webkit.org/show_bug.cgi?id=168973
2199
2200         Reviewed by Eric Carlson.
2201
2202         * Source/webrtc/modules/video_coding/video_sender.cc: Disable temporarily the frame dropper as it is sometimes
2203         dropping too many frames.
2204
2205 2017-02-27  Youenn Fablet  <youenn@apple.com>
2206
2207         [WebRTC] RealtimOutgoingVideoSource should not need to do image conversion
2208         https://bugs.webkit.org/show_bug.cgi?id=168802
2209
2210         Reviewed by Jon Lee.
2211
2212         Exporting new symbols.
2213         Including headers in the project file.
2214
2215         * Source/webrtc/common_video/include/corevideo_frame_buffer.h:
2216         * Source/webrtc/common_video/include/i420_buffer_pool.h:
2217         * Source/webrtc/common_video/include/video_frame_buffer.h:
2218         * libwebrtc.xcodeproj/project.pbxproj:
2219
2220 2017-02-24  Alex Christensen  <achristensen@webkit.org>
2221
2222         Remove unneeded protobuf tests directory.
2223         
2224         Rubber-stamped by Joe Pecoraro.
2225         
2226         This directory contained a swift file that was causing problems in an internal verification step.
2227
2228         * Source/third_party/protobuf/objectivec/Tests: Removed.
2229         (And everything in this subdirectory)
2230
2231 2017-02-22  Youenn Fablet  <youenn@apple.com>
2232
2233         [WebRTC] Disable libwebrtc stderr logging in release mode
2234         https://bugs.webkit.org/show_bug.cgi?id=168734
2235
2236         Reviewed by Tim Horton.
2237
2238         * Source/webrtc/base/logging.h:
2239
2240 2017-02-21  Youenn Fablet  <youenn@apple.com>
2241
2242         [WebRTC][Mac] Activate libwebrtc
2243         https://bugs.webkit.org/show_bug.cgi?id=167293
2244         <rdar://problem/30401864>
2245
2246         Reviewed by Alex Christensen.
2247
2248         Doing some clean-up.
2249
2250         * Configurations/libwebrtc.xcconfig:
2251         * Source/webrtc/base/checks.h:
2252         * libwebrtc.xcodeproj/project.pbxproj:
2253
2254 2017-02-21  Alex Christensen  <achristensen@webkit.org>
2255
2256         Don't build libwebrtc on 32-bit architectures
2257         https://bugs.webkit.org/show_bug.cgi?id=168692
2258
2259         Reviewed by Dan Bernstein.
2260
2261         * Configurations/Base.xcconfig:
2262
2263 2017-02-21  Youenn Fablet  <youenn@apple.com>
2264
2265         [Xcode] libwebrtc installhdrs doesn’t install any of the headers
2266         https://bugs.webkit.org/show_bug.cgi?id=168634
2267
2268         Reviewed by Alex Christensen.
2269
2270         * Configurations/libwebrtc.xcconfig:
2271         * libwebrtc.xcodeproj/project.pbxproj:
2272
2273 2017-02-21  Alex Christensen  <achristensen@webkit.org>
2274
2275         Unreviewed, rolling out r212699.
2276
2277         Internal build not ready
2278
2279         Reverted changeset:
2280
2281         "[WebRTC][Mac] Activate libwebrtc"
2282         https://bugs.webkit.org/show_bug.cgi?id=167293
2283         http://trac.webkit.org/changeset/212699
2284
2285 2017-02-20  Youenn Fablet  <youenn@apple.com>
2286
2287         [WebRTC][Mac] Activate libwebrtc
2288         https://bugs.webkit.org/show_bug.cgi?id=167293
2289         <rdar://problem/30401864>
2290
2291         Reviewed by Alex Christensen.
2292
2293         Doing some clean-up.
2294
2295         * Configurations/libwebrtc.xcconfig:
2296         * Source/webrtc/base/checks.h:
2297         * libwebrtc.xcodeproj/project.pbxproj:
2298
2299 2017-02-17  Alex Christensen  <achristensen@webkit.org>
2300
2301         Fix iOS ASAN build after r212401
2302         https://bugs.webkit.org/show_bug.cgi?id=168398
2303
2304         * libwebrtc.xcodeproj/project.pbxproj:
2305         libwebrtc.dylib needs some symbols from CFNetwork,
2306         like CFNetworkCopySystemProxySettings
2307
2308 2017-02-16  Youenn Fablet  <youenn@apple.com>
2309
2310         [WebRTC] Fix some missing exports after r212401
2311         https://bugs.webkit.org/show_bug.cgi?id=168449
2312
2313         Reviewed by Alex Christensen.
2314
2315         * Source/webrtc/api/jsep.h:
2316         * Source/webrtc/base/checks.h:
2317
2318 2017-02-15  Alex Christensen  <achristensen@webkit.org>
2319
2320         Fix ASAN build after r212401
2321         https://bugs.webkit.org/show_bug.cgi?id=168398
2322
2323         * Source/webrtc/media/engine/webrtcvideocapturer.cc:
2324         * libwebrtc.xcodeproj/project.pbxproj:
2325
2326 2017-02-15  Alex Christensen  <achristensen@webkit.org>
2327
2328         Make libwebrtc.dylib
2329         https://bugs.webkit.org/show_bug.cgi?id=168335
2330
2331         Reviewed by Dan Bernstein.
2332
2333         We were building libwebrtc as a static library, which would prevent us from weak linking with it.
2334         We need to explicitly export what we use from WebCore or WebKit2, and RTCLogging.mm now needs to
2335         be built on Mac, so we make it not automatically reference counted to make it work on 32-bit El Capitan.
2336
2337         * Configurations/libwebrtc.xcconfig:
2338         * Source/webrtc/api/jsep.h:
2339         * Source/webrtc/api/mediastream.h:
2340         * Source/webrtc/api/notifier.h:
2341         (webrtc::Notifier::Notifier): Deleted.
2342         (webrtc::Notifier::RegisterObserver): Deleted.
2343         (webrtc::Notifier::UnregisterObserver): Deleted.
2344         (webrtc::Notifier::FireOnChanged): Deleted.
2345         * Source/webrtc/api/peerconnectioninterface.h:
2346         * Source/webrtc/base/asyncpacketsocket.h:
2347         * Source/webrtc/base/asyncresolverinterface.h:
2348         (rtc::AsyncResolverInterface::address): Deleted.
2349         * Source/webrtc/base/copyonwritebuffer.h:
2350         (rtc::CopyOnWriteBuffer::CopyOnWriteBuffer): Deleted.
2351         (rtc::CopyOnWriteBuffer::data): Deleted.
2352         (rtc::CopyOnWriteBuffer::cdata): Deleted.
2353         (rtc::CopyOnWriteBuffer::size): Deleted.
2354         (rtc::CopyOnWriteBuffer::capacity): Deleted.
2355         (rtc::CopyOnWriteBuffer::operator=): Deleted.
2356         (rtc::CopyOnWriteBuffer::operator!=): Deleted.
2357         (rtc::CopyOnWriteBuffer::operator[]): Deleted.
2358         (rtc::CopyOnWriteBuffer::SetData): Deleted.
2359         (rtc::CopyOnWriteBuffer::AppendData): Deleted.
2360         (rtc::CopyOnWriteBuffer::swap): Deleted.
2361         (rtc::CopyOnWriteBuffer::IsConsistent): Deleted.
2362         * Source/webrtc/base/event.h:
2363         * Source/webrtc/base/export.h: Added.
2364         * Source/webrtc/base/helpers.h:
2365         * Source/webrtc/base/ipaddress.h:
2366         (rtc::IPAddress::IPAddress): Deleted.
2367         (rtc::IPAddress::~IPAddress): Deleted.
2368         (rtc::IPAddress::operator=): Deleted.
2369         (rtc::IPAddress::family): Deleted.
2370         * Source/webrtc/base/location.h:
2371         (rtc::Location::function_name): Deleted.
2372         (rtc::Location::file_and_line): Deleted.
2373         * Source/webrtc/base/messagehandler.h:
2374         (rtc::MessageHandler::MessageHandler): Deleted.
2375         * Source/webrtc/base/network.h:
2376         (rtc::NetworkManagerBase::ipv6_enabled): Deleted.
2377         (rtc::NetworkManagerBase::set_ipv6_enabled): Deleted.
2378         (rtc::NetworkManagerBase::set_max_ipv6_networks): Deleted.
2379         (rtc::NetworkManagerBase::max_ipv6_networks): Deleted.
2380         (rtc::NetworkManagerBase::set_enumeration_permission): Deleted.
2381         (rtc::BasicNetworkManager::started): Deleted.
2382         (rtc::BasicNetworkManager::set_network_ignore_list): Deleted.
2383         (rtc::BasicNetworkManager::set_ignore_non_default_routes): Deleted.
2384         (rtc::Network::default_local_address_provider): Deleted.
2385         (rtc::Network::set_default_local_address_provider): Deleted.
2386         (rtc::Network::name): Deleted.
2387         (rtc::Network::description): Deleted.
2388         (rtc::Network::prefix): Deleted.
2389         (rtc::Network::prefix_length): Deleted.
2390         (rtc::Network::key): Deleted.
2391         (rtc::Network::ip): Deleted.
2392         (rtc::Network::AddIP): Deleted.
2393         (rtc::Network::GetIPs): Deleted.
2394         (rtc::Network::ClearIPs): Deleted.
2395         (rtc::Network::scope_id): Deleted.
2396         (rtc::Network::set_scope_id): Deleted.
2397         (rtc::Network::ignored): Deleted.
2398         (rtc::Network::set_ignored): Deleted.
2399         (rtc::Network::type): Deleted.
2400         (rtc::Network::set_type): Deleted.
2401         (rtc::Network::GetCost): Deleted.
2402         (rtc::Network::id): Deleted.
2403         (rtc::Network::set_id): Deleted.
2404         (rtc::Network::preference): Deleted.
2405         (rtc::Network::set_preference): Deleted.
2406         (rtc::Network::active): Deleted.
2407         (rtc::Network::set_active): Deleted.
2408         * Source/webrtc/base/proxyinfo.h:
2409         * Source/webrtc/base/refcountedobject.h:
2410         (rtc::RefCountedObject::RefCountedObject): Deleted.
2411         (rtc::RefCountedObject::AddRef): Deleted.
2412         (rtc::RefCountedObject::Release): Deleted.
2413         (rtc::RefCountedObject::HasOneRef): Deleted.
2414         (rtc::RefCountedObject::~RefCountedObject): Deleted.
2415         * Source/webrtc/base/socketaddress.h:
2416         (rtc::SocketAddress::hostname): Deleted.
2417         (rtc::SocketAddress::family): Deleted.
2418         (rtc::SocketAddress::scope_id): Deleted.
2419         (rtc::SocketAddress::SetScopeID): Deleted.
2420         (rtc::SocketAddress::operator !=): Deleted.
2421         * Source/webrtc/base/thread.h:
2422         * Source/webrtc/common_types.h:
2423         * Source/webrtc/common_video/include/video_frame_buffer.h:
2424         (webrtc::I420Buffer::Copy): Deleted.
2425         (webrtc::I420Buffer::CropAndScaleFrom): Deleted.
2426         (webrtc::I420Buffer::ScaleFrom): Deleted.
2427         * Source/webrtc/common_video/libyuv/include/webrtc_libyuv.h:
2428         * Source/webrtc/p2p/base/basicpacketsocketfactory.h:
2429         * Source/webrtc/p2p/client/basicportallocator.h:
2430         (cricket::BasicPortAllocator::network_ignore_mask): Deleted.
2431         (cricket::BasicPortAllocator::network_manager): Deleted.
2432         (cricket::BasicPortAllocator::socket_factory): Deleted.
2433         * Source/webrtc/sdk/objc/Framework/Classes/RTCLogging.mm:
2434         (RTCFileName):
2435         * Source/webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.h:
2436         * Source/webrtc/video_frame.h:
2437         (webrtc::VideoFrame::timestamp_us): Deleted.
2438         (webrtc::VideoFrame::set_timestamp_us): Deleted.
2439         (webrtc::VideoFrame::set_timestamp): Deleted.
2440         (webrtc::VideoFrame::timestamp): Deleted.
2441         (webrtc::VideoFrame::transport_frame_id): Deleted.
2442         (webrtc::VideoFrame::set_ntp_time_ms): Deleted.
2443         (webrtc::VideoFrame::ntp_time_ms): Deleted.
2444         (webrtc::VideoFrame::rotation): Deleted.
2445         (webrtc::VideoFrame::set_rotation): Deleted.
2446         (webrtc::VideoFrame::set_render_time_ms): Deleted.
2447         (webrtc::VideoFrame::render_time_ms): Deleted.
2448         (webrtc::VideoFrame::is_texture): Deleted.
2449         * build: Added.
2450         * build/Debug: Added.
2451         * libwebrtc.xcodeproj/project.pbxproj:
2452
2453 2017-02-15  Youenn Fablet  <youenn@apple.com>
2454
2455         [WebRTC] Remove libwebrtc ObjectiveC files that use UIKit
2456         https://bugs.webkit.org/show_bug.cgi?id=168392
2457
2458         Reviewed by Alex Christensen.
2459
2460         Removing default AudioDeviceModule as WebKit is providing its own.
2461         Removing checks for active application in H264 codec as WebKit should be made responsible for that.
2462         Removing no longer needed ObjectiveC files.
2463
2464         * Configurations/libwebrtc.xcconfig:
2465         * Configurations/libwebrtcpcrtc.xcconfig:
2466         * Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_decoder.cc:
2467         * Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:
2468         (webrtc::H264VideoToolboxEncoder::Encode):
2469         * libwebrtc.xcodeproj/project.pbxproj:
2470
2471 2017-02-14  Ryan Haddad  <ryanhaddad@apple.com>
2472
2473         Unreviewed, rolling out r212326.
2474
2475         This change broke certain build configurations.
2476
2477         Reverted changeset:
2478
2479         "Make libwebrtc.dylib"
2480         https://bugs.webkit.org/show_bug.cgi?id=168335
2481         http://trac.webkit.org/changeset/212326
2482
2483 2017-02-14  Alex Christensen  <achristensen@webkit.org>
2484
2485         Make libwebrtc.dylib
2486         https://bugs.webkit.org/show_bug.cgi?id=168335
2487
2488         Reviewed by Dan Bernstein.
2489
2490         We were building libwebrtc as a static library, which would prevent us from weak linking with it.
2491         We need to explicitly export what we use from WebCore or WebKit2, and RTCLogging.mm now needs to
2492         be built on Mac, so we make it not automatically reference counted to make it work on 32-bit El Capitan.
2493
2494         * Configurations/libwebrtc.xcconfig:
2495         * Source/webrtc/api/jsep.h:
2496         * Source/webrtc/api/mediastream.h:
2497         * Source/webrtc/api/notifier.h:
2498         (webrtc::Notifier::Notifier): Deleted.
2499         (webrtc::Notifier::RegisterObserver): Deleted.
2500         (webrtc::Notifier::UnregisterObserver): Deleted.
2501         (webrtc::Notifier::FireOnChanged): Deleted.
2502         * Source/webrtc/api/peerconnectioninterface.h:
2503         * Source/webrtc/base/asyncpacketsocket.h:
2504         * Source/webrtc/base/asyncresolverinterface.h:
2505         (rtc::AsyncResolverInterface::address): Deleted.
2506         * Source/webrtc/base/copyonwritebuffer.h:
2507         (rtc::CopyOnWriteBuffer::CopyOnWriteBuffer): Deleted.
2508         (rtc::CopyOnWriteBuffer::data): Deleted.
2509         (rtc::CopyOnWriteBuffer::cdata): Deleted.
2510         (rtc::CopyOnWriteBuffer::size): Deleted.
2511         (rtc::CopyOnWriteBuffer::capacity): Deleted.
2512         (rtc::CopyOnWriteBuffer::operator=): Deleted.
2513         (rtc::CopyOnWriteBuffer::operator!=): Deleted.
2514         (rtc::CopyOnWriteBuffer::operator[]): Deleted.
2515         (rtc::CopyOnWriteBuffer::SetData): Deleted.
2516         (rtc::CopyOnWriteBuffer::AppendData): Deleted.
2517         (rtc::CopyOnWriteBuffer::swap): Deleted.
2518         (rtc::CopyOnWriteBuffer::IsConsistent): Deleted.
2519         * Source/webrtc/base/event.h:
2520         * Source/webrtc/base/export.h: Added.
2521         * Source/webrtc/base/helpers.h:
2522         * Source/webrtc/base/ipaddress.h:
2523         (rtc::IPAddress::IPAddress): Deleted.
2524         (rtc::IPAddress::~IPAddress): Deleted.
2525         (rtc::IPAddress::operator=): Deleted.
2526         (rtc::IPAddress::family): Deleted.
2527         * Source/webrtc/base/location.h:
2528         (rtc::Location::function_name): Deleted.
2529         (rtc::Location::file_and_line): Deleted.
2530         * Source/webrtc/base/messagehandler.h:
2531         (rtc::MessageHandler::MessageHandler): Deleted.
2532         * Source/webrtc/base/network.h:
2533         (rtc::NetworkManagerBase::ipv6_enabled): Deleted.
2534         (rtc::NetworkManagerBase::set_ipv6_enabled): Deleted.
2535         (rtc::NetworkManagerBase::set_max_ipv6_networks): Deleted.
2536         (rtc::NetworkManagerBase::max_ipv6_networks): Deleted.
2537         (rtc::NetworkManagerBase::set_enumeration_permission): Deleted.
2538         (rtc::BasicNetworkManager::started): Deleted.
2539         (rtc::BasicNetworkManager::set_network_ignore_list): Deleted.
2540         (rtc::BasicNetworkManager::set_ignore_non_default_routes): Deleted.
2541         (rtc::Network::default_local_address_provider): Deleted.
2542         (rtc::Network::set_default_local_address_provider): Deleted.
2543         (rtc::Network::name): Deleted.
2544         (rtc::Network::description): Deleted.
2545         (rtc::Network::prefix): Deleted.
2546         (rtc::Network::prefix_length): Deleted.
2547         (rtc::Network::key): Deleted.
2548         (rtc::Network::ip): Deleted.
2549         (rtc::Network::AddIP): Deleted.
2550         (rtc::Network::GetIPs): Deleted.
2551         (rtc::Network::ClearIPs): Deleted.
2552         (rtc::Network::scope_id): Deleted.
2553         (rtc::Network::set_scope_id): Deleted.
2554         (rtc::Network::ignored): Deleted.
2555         (rtc::Network::set_ignored): Deleted.
2556         (rtc::Network::type): Deleted.
2557         (rtc::Network::set_type): Deleted.
2558         (rtc::Network::GetCost): Deleted.
2559         (rtc::Network::id): Deleted.
2560         (rtc::Network::set_id): Deleted.
2561         (rtc::Network::preference): Deleted.
2562         (rtc::Network::set_preference): Deleted.
2563         (rtc::Network::active): Deleted.
2564         (rtc::Network::set_active): Deleted.
2565         * Source/webrtc/base/proxyinfo.h:
2566         * Source/webrtc/base/refcountedobject.h:
2567         (rtc::RefCountedObject::RefCountedObject): Deleted.
2568         (rtc::RefCountedObject::AddRef): Deleted.
2569         (rtc::RefCountedObject::Release): Deleted.
2570         (rtc::RefCountedObject::HasOneRef): Deleted.
2571         (rtc::RefCountedObject::~RefCountedObject): Deleted.
2572         * Source/webrtc/base/socketaddress.h:
2573         (rtc::SocketAddress::hostname): Deleted.
2574         (rtc::SocketAddress::family): Deleted.
2575         (rtc::SocketAddress::scope_id): Deleted.
2576         (rtc::SocketAddress::SetScopeID): Deleted.
2577         (rtc::SocketAddress::operator !=): Deleted.
2578         * Source/webrtc/base/thread.h:
2579         * Source/webrtc/common_types.h:
2580         * Source/webrtc/common_video/include/video_frame_buffer.h:
2581         (webrtc::I420Buffer::Copy): Deleted.
2582         (webrtc::I420Buffer::CropAndScaleFrom): Deleted.
2583         (webrtc::I420Buffer::ScaleFrom): Deleted.
2584         * Source/webrtc/common_video/libyuv/include/webrtc_libyuv.h:
2585         * Source/webrtc/p2p/base/basicpacketsocketfactory.h:
2586         * Source/webrtc/p2p/client/basicportallocator.h:
2587         (cricket::BasicPortAllocator::network_ignore_mask): Deleted.
2588         (cricket::BasicPortAllocator::network_manager): Deleted.
2589         (cricket::BasicPortAllocator::socket_factory): Deleted.
2590         * Source/webrtc/sdk/objc/Framework/Classes/RTCLogging.mm:
2591         (RTCFileName):
2592         * Source/webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.h:
2593         * Source/webrtc/video_frame.h:
2594         (webrtc::VideoFrame::timestamp_us): Deleted.
2595         (webrtc::VideoFrame::set_timestamp_us): Deleted.
2596         (webrtc::VideoFrame::set_timestamp): Deleted.
2597         (webrtc::VideoFrame::timestamp): Deleted.
2598         (webrtc::VideoFrame::transport_frame_id): Deleted.
2599         (webrtc::VideoFrame::set_ntp_time_ms): Deleted.
2600         (webrtc::VideoFrame::ntp_time_ms): Deleted.
2601         (webrtc::VideoFrame::rotation): Deleted.
2602         (webrtc::VideoFrame::set_rotation): Deleted.
2603         (webrtc::VideoFrame::set_render_time_ms): Deleted.
2604         (webrtc::VideoFrame::render_time_ms): Deleted.
2605         (webrtc::VideoFrame::is_texture): Deleted.
2606         * build: Added.
2607         * build/Debug: Added.
2608         * libwebrtc.xcodeproj/project.pbxproj:
2609
2610 2017-02-14  Alex Christensen  <achristensen@webkit.org>
2611
2612         Remove android-specific files from ThirdParty/libwebrtc
2613         https://bugs.webkit.org/show_bug.cgi?id=168272
2614
2615         Reviewed by Brady Eidson.
2616
2617         * Source/third_party/boringssl/src/third_party/android-cmake: Removed.
2618         * Source/third_party/boringssl/src/third_party/android-cmake/AndroidNdkGdb.cmake: Removed.
2619         * Source/third_party/boringssl/src/third_party/android-cmake/AndroidNdkModules.cmake: Removed.
2620         * Source/third_party/boringssl/src/third_party/android-cmake/LICENSE: Removed.
2621         * Source/third_party/boringssl/src/third_party/android-cmake/METADATA: Removed.
2622         * Source/third_party/boringssl/src/third_party/android-cmake/README.md: Removed.
2623         * Source/third_party/boringssl/src/third_party/android-cmake/android.toolchain.cmake: Removed.
2624         * Source/third_party/boringssl/src/third_party/android-cmake/ndk_links.md: Removed.
2625         * Source/third_party/boringssl/src/util/run_android_tests.go: Removed.
2626         * Source/third_party/libyuv/util/android: Removed.
2627         * Source/third_party/libyuv/util/android/test_runner.py: Removed.
2628         * Source/webrtc/androidjunit: Removed.
2629         * Source/webrtc/androidjunit/OWNERS: Removed.
2630         * Source/webrtc/androidjunit/src: Removed.
2631         * Source/webrtc/androidjunit/src/org: Removed.
2632         * Source/webrtc/androidjunit/src/org/webrtc: Removed.
2633         * Source/webrtc/androidjunit/src/org/webrtc/CameraEnumerationTest.java: Removed.
2634         * Source/webrtc/api/android: Removed.
2635         * Source/webrtc/api/android/PRESUBMIT.py: Removed.
2636         * Source/webrtc/api/android/README: Removed.
2637         * Source/webrtc/api/android/java: Removed.
2638         * Source/webrtc/api/android/java/src: Removed.
2639         * Source/webrtc/api/android/java/src/org: Removed.
2640         * Source/webrtc/api/android/java/src/org/webrtc: Removed.
2641         * Source/webrtc/api/android/java/src/org/webrtc/AudioSource.java: Removed.
2642         * Source/webrtc/api/android/java/src/org/webrtc/AudioTrack.java: Removed.
2643         * Source/webrtc/api/android/java/src/org/webrtc/CallSessionFileRotatingLogSink.java: Removed.
2644         * Source/webrtc/api/android/java/src/org/webrtc/Camera1Capturer.java: Removed.
2645         * Source/webrtc/api/android/java/src/org/webrtc/Camera1Enumerator.java: Removed.
2646         * Source/webrtc/api/android/java/src/org/webrtc/Camera1Session.java: Removed.
2647         * Source/webrtc/api/android/java/src/org/webrtc/Camera2Capturer.java: Removed.
2648         * Source/webrtc/api/android/java/src/org/webrtc/Camera2Enumerator.java: Removed.
2649         * Source/webrtc/api/android/java/src/org/webrtc/Camera2Session.java: Removed.
2650         * Source/webrtc/api/android/java/src/org/webrtc/CameraCapturer.java: Removed.
2651         * Source/webrtc/api/android/java/src/org/webrtc/CameraEnumerationAndroid.java: Removed.
2652         * Source/webrtc/api/android/java/src/org/webrtc/CameraEnumerator.java: Removed.
2653         * Source/webrtc/api/android/java/src/org/webrtc/CameraSession.java: Removed.
2654         * Source/webrtc/api/android/java/src/org/webrtc/CameraVideoCapturer.java: Removed.
2655         * Source/webrtc/api/android/java/src/org/webrtc/DataChannel.java: Removed.
2656         * Source/webrtc/api/android/java/src/org/webrtc/EglBase.java: Removed.
2657         * Source/webrtc/api/android/java/src/org/webrtc/EglBase10.java: Removed.
2658         * Source/webrtc/api/android/java/src/org/webrtc/EglBase14.java: Removed.
2659         * Source/webrtc/api/android/java/src/org/webrtc/EglRenderer.java: Removed.
2660         * Source/webrtc/api/android/java/src/org/webrtc/FileVideoCapturer.java: Removed.
2661         * Source/webrtc/api/android/java/src/org/webrtc/GlRectDrawer.java: Removed.
2662         * Source/webrtc/api/android/java/src/org/webrtc/GlShader.java: Removed.
2663         * Source/webrtc/api/android/java/src/org/webrtc/GlTextureFrameBuffer.java: Removed.
2664         * Source/webrtc/api/android/java/src/org/webrtc/GlUtil.java: Removed.
2665         * Source/webrtc/api/android/java/src/org/webrtc/IceCandidate.java: Removed.
2666         * Source/webrtc/api/android/java/src/org/webrtc/MediaCodecVideoDecoder.java: Removed.
2667         * Source/webrtc/api/android/java/src/org/webrtc/MediaCodecVideoEncoder.java: Removed.
2668         * Source/webrtc/api/android/java/src/org/webrtc/MediaConstraints.java: Removed.
2669         * Source/webrtc/api/android/java/src/org/webrtc/MediaSource.java: Removed.
2670         * Source/webrtc/api/android/java/src/org/webrtc/MediaStream.java: Removed.
2671         * Source/webrtc/api/android/java/src/org/webrtc/MediaStreamTrack.java: Removed.
2672         * Source/webrtc/api/android/java/src/org/webrtc/Metrics.java: Removed.
2673         * Source/webrtc/api/android/java/src/org/webrtc/NetworkMonitor.java: Removed.
2674         * Source/webrtc/api/android/java/src/org/webrtc/NetworkMonitorAutoDetect.java: Removed.
2675         * Source/webrtc/api/android/java/src/org/webrtc/OWNERS: Removed.
2676         * Source/webrtc/api/android/java/src/org/webrtc/PeerConnection.java: Removed.
2677         * Source/webrtc/api/android/java/src/org/webrtc/PeerConnectionFactory.java: Removed.
2678         * Source/webrtc/api/android/java/src/org/webrtc/RendererCommon.java: Removed.
2679         * Source/webrtc/api/android/java/src/org/webrtc/RtpParameters.java: Removed.
2680         * Source/webrtc/api/android/java/src/org/webrtc/RtpReceiver.java: Removed.
2681         * Source/webrtc/api/android/java/src/org/webrtc/RtpSender.java: Removed.
2682         * Source/webrtc/api/android/java/src/org/webrtc/ScreenCapturerAndroid.java: Removed.
2683         * Source/webrtc/api/android/java/src/org/webrtc/SdpObserver.java: Removed.
2684         * Source/webrtc/api/android/java/src/org/webrtc/SessionDescription.java: Removed.
2685         * Source/webrtc/api/android/java/src/org/webrtc/StatsObserver.java: Removed.
2686         * Source/webrtc/api/android/java/src/org/webrtc/StatsReport.java: Removed.
2687         * Source/webrtc/api/android/java/src/org/webrtc/SurfaceTextureHelper.java: Removed.
2688         * Source/webrtc/api/android/java/src/org/webrtc/SurfaceViewRenderer.java: Removed.
2689         * Source/webrtc/api/android/java/src/org/webrtc/VideoCapturer.java: Removed.
2690         * Source/webrtc/api/android/java/src/org/webrtc/VideoCapturerAndroid.java: Removed.
2691         * Source/webrtc/api/android/java/src/org/webrtc/VideoFileRenderer.java: Removed.
2692         * Source/webrtc/api/android/java/src/org/webrtc/VideoRenderer.java: Removed.
2693         * Source/webrtc/api/android/java/src/org/webrtc/VideoRendererGui.java: Removed.
2694         * Source/webrtc/api/android/java/src/org/webrtc/VideoSource.java: Removed.
2695         * Source/webrtc/api/android/java/src/org/webrtc/VideoTrack.java: Removed.
2696         * Source/webrtc/api/android/java/src/org/webrtc/YuvConverter.java: Removed.
2697         * Source/webrtc/api/android/jni: Removed.
2698         * Source/webrtc/api/android/jni/OWNERS: Removed.
2699         * Source/webrtc/api/android/jni/androidmediacodeccommon.h: Removed.
2700         * Source/webrtc/api/android/jni/androidmediadecoder_jni.cc: Removed.
2701         * Source/webrtc/api/android/jni/androidmediadecoder_jni.h: Removed.
2702         * Source/webrtc/api/android/jni/androidmediaencoder_jni.cc: Removed.
2703         * Source/webrtc/api/android/jni/androidmediaencoder_jni.h: Removed.
2704         * Source/webrtc/api/android/jni/androidmetrics_jni.cc: Removed.
2705         * Source/webrtc/api/android/jni/androidnetworkmonitor_jni.cc: Removed.
2706         * Source/webrtc/api/android/jni/androidnetworkmonitor_jni.h: Removed.
2707         * Source/webrtc/api/android/jni/androidvideotracksource_jni.cc: Removed.
2708         * Source/webrtc/api/android/jni/classreferenceholder.cc: Removed.
2709         * Source/webrtc/api/android/jni/classreferenceholder.h: Removed.
2710         * Source/webrtc/api/android/jni/jni_helpers.cc: Removed.
2711         * Source/webrtc/api/android/jni/jni_helpers.h: Removed.
2712         * Source/webrtc/api/android/jni/jni_onload.cc: Removed.
2713         * Source/webrtc/api/android/jni/native_handle_impl.cc: Removed.
2714         * Source/webrtc/api/android/jni/native_handle_impl.h: Removed.
2715         * Source/webrtc/api/android/jni/peerconnection_jni.cc: Removed.
2716         * Source/webrtc/api/android/jni/surfacetexturehelper_jni.cc: Removed.
2717         * Source/webrtc/api/android/jni/surfacetexturehelper_jni.h: Removed.
2718         * Source/webrtc/api/androidtests: Removed.
2719         * Source/webrtc/api/androidtests/AndroidManifest.xml: Removed.
2720         * Source/webrtc/api/androidtests/OWNERS: Removed.
2721         * Source/webrtc/api/androidtests/ant.properties: Removed.
2722         * Source/webrtc/api/androidtests/build.xml: Removed.
2723         * Source/webrtc/api/androidtests/project.properties: Removed.
2724         * Source/webrtc/api/androidtests/res: Removed.
2725         * Source/webrtc/api/androidtests/res/drawable-hdpi: Removed.
2726         * Source/webrtc/api/androidtests/res/drawable-hdpi/ic_launcher.png: Removed.
2727         * Source/webrtc/api/androidtests/res/drawable-ldpi: Removed.
2728         * Source/webrtc/api/androidtests/res/drawable-ldpi/ic_launcher.png: Removed.
2729         * Source/webrtc/api/androidtests/res/drawable-mdpi: Removed.
2730         * Source/webrtc/api/androidtests/res/drawable-mdpi/ic_launcher.png: Removed.
2731         * Source/webrtc/api/androidtests/res/drawable-xhdpi: Removed.
2732         * Source/webrtc/api/androidtests/res/drawable-xhdpi/ic_launcher.png: Removed.
2733         * Source/webrtc/api/androidtests/res/values: Removed.
2734         * Source/webrtc/api/androidtests/res/values/strings.xml: Removed.
2735         * Source/webrtc/api/androidtests/src: Removed.
2736         * Source/webrtc/api/androidtests/src/org: Removed.
2737         * Source/webrtc/api/androidtests/src/org/webrtc: Removed.
2738         * Source/webrtc/api/androidtests/src/org/webrtc/Camera1CapturerUsingByteBufferTest.java: Removed.
2739         * Source/webrtc/api/androidtests/src/org/webrtc/Camera1CapturerUsingTextureTest.java: Removed.
2740         * Source/webrtc/api/androidtests/src/org/webrtc/Camera2CapturerTest.java: Removed.
2741         * Source/webrtc/api/androidtests/src/org/webrtc/CameraVideoCapturerTestFixtures.java: Removed.
2742         * Source/webrtc/api/androidtests/src/org/webrtc/EglRendererTest.java: Removed.
2743         * Source/webrtc/api/androidtests/src/org/webrtc/GlRectDrawerTest.java: Removed.
2744         * Source/webrtc/api/androidtests/src/org/webrtc/MediaCodecVideoEncoderTest.java: Removed.
2745         * Source/webrtc/api/androidtests/src/org/webrtc/NetworkMonitorTest.java: Removed.
2746         * Source/webrtc/api/androidtests/src/org/webrtc/PeerConnectionTest.java: Removed.
2747         * Source/webrtc/api/androidtests/src/org/webrtc/RendererCommonTest.java: Removed.
2748         * Source/webrtc/api/androidtests/src/org/webrtc/SurfaceTextureHelperTest.java: Removed.
2749         * Source/webrtc/api/androidtests/src/org/webrtc/SurfaceViewRendererOnMeasureTest.java: Removed.
2750         * Source/webrtc/api/androidtests/src/org/webrtc/WebRtcJniBootTest.java: Removed.
2751         * Source/webrtc/api/androidvideotracksource.cc: Removed.
2752         * Source/webrtc/api/androidvideotracksource.h: Removed.
2753         * Source/webrtc/api/test/androidtestinitializer.cc: Removed.
2754         * Source/webrtc/api/test/androidtestinitializer.h: Removed.
2755         * Source/webrtc/base/ifaddrs-android.cc: Removed.
2756         * Source/webrtc/base/ifaddrs-android.h: Removed.
2757         * Source/webrtc/build/android: Removed.
2758         * Source/webrtc/build/android/AndroidManifest.xml: Removed.
2759         * Source/webrtc/build/android/suppressions.xml: Removed.
2760         * Source/webrtc/build/android/test_runner.py: Removed.
2761         * Source/webrtc/examples/androidapp: Removed.
2762         * Source/webrtc/examples/androidapp/AndroidManifest.xml: Removed.
2763         * Source/webrtc/examples/androidapp/OWNERS: Removed.
2764         * Source/webrtc/examples/androidapp/README: Removed.
2765         * Source/webrtc/examples/androidapp/ant.properties: Removed.
2766         * Source/webrtc/examples/androidapp/build.xml: Removed.
2767         * Source/webrtc/examples/androidapp/project.properties: Removed.
2768         * Source/webrtc/examples/androidapp/res: Removed.
2769         * Source/webrtc/examples/androidapp/res/drawable-hdpi: Removed.
2770         * Source/webrtc/examples/androidapp/res/drawable-hdpi/disconnect.png: Removed.
2771         * Source/webrtc/examples/androidapp/res/drawable-hdpi/ic_action_full_screen.png: Removed.
2772         * Source/webrtc/examples/androidapp/res/drawable-hdpi/ic_action_return_from_full_screen.png: Removed.
2773         * Source/webrtc/examples/androidapp/res/drawable-hdpi/ic_launcher.png: Removed.
2774         * Source/webrtc/examples/androidapp/res/drawable-hdpi/ic_loopback_call.png: Removed.
2775         * Source/webrtc/examples/androidapp/res/drawable-ldpi: Removed.
2776         * Source/webrtc/examples/androidapp/res/drawable-ldpi/disconnect.png: Removed.
2777         * Source/webrtc/examples/androidapp/res/drawable-ldpi/ic_action_full_screen.png: Removed.
2778         * Source/webrtc/examples/androidapp/res/drawable-ldpi/ic_action_return_from_full_screen.png: Removed.
2779         * Source/webrtc/examples/androidapp/res/drawable-ldpi/ic_launcher.png: Removed.
2780         * Source/webrtc/examples/androidapp/res/drawable-ldpi/ic_loopback_call.png: Removed.
2781         * Source/webrtc/examples/androidapp/res/drawable-mdpi: Removed.
2782         * Source/webrtc/examples/androidapp/res/drawable-mdpi/disconnect.png: Removed.
2783         * Source/webrtc/examples/androidapp/res/drawable-mdpi/ic_action_full_screen.png: Removed.
2784         * Source/webrtc/examples/androidapp/res/drawable-mdpi/ic_action_return_from_full_screen.png: Removed.
2785         * Source/webrtc/examples/androidapp/res/drawable-mdpi/ic_launcher.png: Removed.
2786         * Source/webrtc/examples/androidapp/res/drawable-mdpi/ic_loopback_call.png: Removed.
2787         * Source/webrtc/examples/androidapp/res/drawable-xhdpi: Removed.
2788         * Source/webrtc/examples/androidapp/res/drawable-xhdpi/disconnect.png: Removed.
2789         * Source/webrtc/examples/androidapp/res/drawable-xhdpi/ic_action_full_screen.png: Removed.
2790         * Source/webrtc/examples/androidapp/res/drawable-xhdpi/ic_action_return_from_full_screen.png: Removed.
2791         * Source/webrtc/examples/androidapp/res/drawable-xhdpi/ic_launcher.png: Removed.
2792         * Source/webrtc/examples/androidapp/res/drawable-xhdpi/ic_loopback_call.png: Removed.
2793         * Source/webrtc/examples/androidapp/res/layout: Removed.
2794         * Source/webrtc/examples/androidapp/res/layout/activity_call.xml: Removed.
2795         * Source/webrtc/examples/androidapp/res/layout/activity_connect.xml: Removed.
2796         * Source/webrtc/examples/androidapp/res/layout/fragment_call.xml: Removed.
2797         * Source/webrtc/examples/androidapp/res/layout/fragment_hud.xml: Removed.
2798         * Source/webrtc/examples/androidapp/res/menu: Removed.
2799         * Source/webrtc/examples/androidapp/res/menu/connect_menu.xml: Removed.
2800         * Source/webrtc/examples/androidapp/res/values: Removed.
2801         * Source/webrtc/examples/androidapp/res/values-v17: Removed.
2802         * Source/webrtc/examples/androidapp/res/values-v17/styles.xml: Removed.
2803         * Source/webrtc/examples/androidapp/res/values-v21: Removed.
2804         * Source/webrtc/examples/androidapp/res/values-v21/styles.xml: Removed.
2805         * Source/webrtc/examples/androidapp/res/values/arrays.xml: Removed.
2806         * Source/webrtc/examples/androidapp/res/values/strings.xml: Removed.
2807         * Source/webrtc/examples/androidapp/res/xml: Removed.
2808         * Source/webrtc/examples/androidapp/res/xml/preferences.xml: Removed.
2809         * Source/webrtc/examples/androidapp/src: Removed.
2810         * Source/webrtc/examples/androidapp/src/org: Removed.
2811         * Source/webrtc/examples/androidapp/src/org/appspot: Removed.
2812         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc: Removed.
2813         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/AppRTCAudioManager.java: Removed.
2814         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/AppRTCClient.java: Removed.
2815         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/AppRTCProximitySensor.java: Removed.
2816         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java: Removed.
2817         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/CallFragment.java: Removed.
2818         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/CaptureQualityController.java: Removed.
2819         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/ConnectActivity.java: Removed.
2820         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/CpuMonitor.java: Removed.
2821         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/DirectRTCClient.java: Removed.
2822         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/HudFragment.java: Removed.
2823         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java: Removed.
2824         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/PercentFrameLayout.java: Removed.
2825         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/RoomParametersFetcher.java: Removed.
2826         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/SettingsActivity.java: Removed.
2827         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/SettingsFragment.java: Removed.
2828         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/TCPChannelClient.java: Removed.
2829         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/UnhandledExceptionHandler.java: Removed.
2830         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/WebSocketChannelClient.java: Removed.
2831         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/WebSocketRTCClient.java: Removed.
2832         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/util: Removed.
2833         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/util/AppRTCUtils.java: Removed.
2834         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/util/AsyncHttpURLConnection.java: Removed.
2835         * Source/webrtc/examples/androidapp/start_loopback_stubbed_camera_saved_video_out.py: Removed.
2836         * Source/webrtc/examples/androidapp/third_party: Removed.
2837         * Source/webrtc/examples/androidapp/third_party/autobanh: Removed.
2838         * Source/webrtc/examples/androidapp/third_party/autobanh/BUILD.gn: Removed.
2839         * Source/webrtc/examples/androidapp/third_party/autobanh/LICENSE: Removed.
2840         * Source/webrtc/examples/androidapp/third_party/autobanh/LICENSE.md: Removed.
2841         * Source/webrtc/examples/androidapp/third_party/autobanh/NOTICE: Removed.
2842         * Source/webrtc/examples/androidapp/third_party/autobanh/lib: Removed.
2843         * Source/webrtc/examples/androidapp/third_party/autobanh/lib/autobanh.jar: Removed.
2844         * Source/webrtc/examples/androidjunit: Removed.
2845         * Source/webrtc/examples/androidjunit/README: Removed.
2846         * Source/webrtc/examples/androidjunit/src: Removed.
2847         * Source/webrtc/examples/androidjunit/src/org: Removed.
2848         * Source/webrtc/examples/androidjunit/src/org/appspot: Removed.
2849         * Source/webrtc/examples/androidjunit/src/org/appspot/apprtc: Removed.
2850         * Source/webrtc/examples/androidjunit/src/org/appspot/apprtc/DirectRTCClientTest.java: Removed.
2851         * Source/webrtc/examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java: Removed.
2852         * Source/webrtc/examples/androidtests: Removed.
2853         * Source/webrtc/examples/androidtests/AndroidManifest.xml: Removed.
2854         * Source/webrtc/examples/androidtests/README: Removed.
2855         * Source/webrtc/examples/androidtests/ant.properties: Removed.
2856         * Source/webrtc/examples/androidtests/build.xml: Removed.
2857         * Source/webrtc/examples/androidtests/project.properties: Removed.
2858         * Source/webrtc/examples/androidtests/src: Removed.
2859         * Source/webrtc/examples/androidtests/src/org: Removed.
2860         * Source/webrtc/examples/androidtests/src/org/appspot: Removed.
2861         * Source/webrtc/examples/androidtests/src/org/appspot/apprtc: Removed.
2862         * Source/webrtc/examples/androidtests/src/org/appspot/apprtc/test: Removed.
2863         * Source/webrtc/examples/androidtests/src/org/appspot/apprtc/test/FileVideoCapturerTest.java: Removed.
2864         * Source/webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java: Removed.
2865         * Source/webrtc/examples/androidtests/src/org/appspot/apprtc/test/VideoFileRendererTest.java: Removed.
2866         * Source/webrtc/examples/androidtests/src/org/appspot/apprtc/test/capturetestvideo.y4m: Removed.
2867         * Source/webrtc/modules/audio_device/android: Removed.
2868         * Source/webrtc/modules/audio_device/android/audio_common.h: Removed.
2869         * Source/webrtc/modules/audio_device/android/audio_device_template.h: Removed.
2870         * Source/webrtc/modules/audio_device/android/audio_device_unittest.cc: Removed.
2871         * Source/webrtc/modules/audio_device/android/audio_manager.cc: Removed.
2872         * Source/webrtc/modules/audio_device/android/audio_manager.h: Removed.
2873         * Source/webrtc/modules/audio_device/android/audio_manager_unittest.cc: Removed.
2874         * Source/webrtc/modules/audio_device/android/audio_record_jni.cc: Removed.
2875         * Source/webrtc/modules/audio_device/android/audio_record_jni.h: Removed.
2876         * Source/webrtc/modules/audio_device/android/audio_track_jni.cc: Removed.
2877         * Source/webrtc/modules/audio_device/android/audio_track_jni.h: Removed.
2878         * Source/webrtc/modules/audio_device/android/build_info.cc: Removed.
2879         * Source/webrtc/modules/audio_device/android/build_info.h: Removed.
2880         * Source/webrtc/modules/audio_device/android/ensure_initialized.cc: Removed.
2881         * Source/webrtc/modules/audio_device/android/ensure_initialized.h: Removed.
2882         * Source/webrtc/modules/audio_device/android/java: Removed.
2883         * Source/webrtc/modules/audio_device/android/java/src: Removed.
2884         * Source/webrtc/modules/audio_device/android/java/src/org: Removed.
2885         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc: Removed.
2886         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine: Removed.
2887         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/BuildInfo.java: Removed.
2888         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java: Removed.
2889         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java: Removed.
2890         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java: Removed.
2891         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java: Removed.
2892         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java: Removed.
2893         * Source/webrtc/modules/audio_device/android/opensles_common.cc: Removed.
2894         * Source/webrtc/modules/audio_device/android/opensles_common.h: Removed.
2895         * Source/webrtc/modules/audio_device/android/opensles_player.cc: Removed.
2896         * Source/webrtc/modules/audio_device/android/opensles_player.h: Removed.
2897         * Source/webrtc/modules/audio_device/android/opensles_recorder.cc: Removed.
2898         * Source/webrtc/modules/audio_device/android/opensles_recorder.h: Removed.
2899         * Source/webrtc/modules/audio_processing/test/android: Removed.
2900         * Source/webrtc/modules/audio_processing/test/android/apmtest: Removed.
2901         * Source/webrtc/modules/audio_processing/test/android/apmtest/AndroidManifest.xml: Removed.
2902         * Source/webrtc/modules/audio_processing/test/android/apmtest/default.properties: Removed.
2903         * Source/webrtc/modules/audio_processing/test/android/apmtest/jni: Removed.
2904         * Source/webrtc/modules/audio_processing/test/android/apmtest/jni/main.c: Removed.
2905         * Source/webrtc/modules/audio_processing/test/android/apmtest/res: Removed.
2906         * Source/webrtc/modules/audio_processing/test/android/apmtest/res/values: Removed.
2907         * Source/webrtc/modules/audio_processing/test/android/apmtest/res/values/strings.xml: Removed.
2908         * Source/webrtc/modules/utility/include/helpers_android.h: Removed.
2909         * Source/webrtc/modules/utility/include/jvm_android.h: Removed.
2910         * Source/webrtc/modules/utility/source/helpers_android.cc: Removed.
2911         * Source/webrtc/modules/utility/source/jvm_android.cc: Removed.
2912         * Source/webrtc/system_wrappers/source/cpu_features_android.c: Removed.
2913         * libwebrtc.xcodeproj/project.pbxproj:
2914
2915 2017-02-10  Alex Christensen  <achristensen@webkit.org>
2916
2917         Fix iOS libwebrtc build after r212127
2918         https://bugs.webkit.org/show_bug.cgi?id=168134
2919
2920         * Configurations/libwebrtc.xcconfig:
2921         * libwebrtc.xcodeproj/project.pbxproj:
2922         I got a little carried away removing ObjC sources.
2923         We still need RTCLogging.mm and RTCUIApplication.mm on iOS.
2924         Also sorted the project file.
2925
2926 2017-02-10  Alex Christensen  <achristensen@webkit.org>
2927
2928         Fix iOS libwebrtc build after r212127
2929         https://bugs.webkit.org/show_bug.cgi?id=168134
2930
2931         * libwebrtc.xcodeproj/project.pbxproj:
2932         I got a little carried away removing -fobjc-arc.  These files need it.
2933         It was originally added in r211902 and these files are in the 
2934         EXCLUDED_SOURCE_FILE_NAMES[sdk=macosx*] list in libwebrtc.xcconfig
2935         so adding this flag won't break the 32-bit El Capitan build.
2936
2937 2017-02-10  Alex Christensen  <achristensen@webkit.org>
2938
2939         Remove unnecessary automatic reference counting in libwebrtc
2940         https://bugs.webkit.org/show_bug.cgi?id=168134
2941
2942         Reviewed by Youenn Fablet.
2943
2944         * libwebrtc.xcodeproj/project.pbxproj:
2945
2946 2017-02-10  Youenn Fablet  <youennf@gmail.com>
2947
2948         [WebRTC] Activate libwebrtc G711/G722 audio codecs
2949         https://bugs.webkit.org/show_bug.cgi?id=168123
2950
2951         Reviewed by Alex Christensen.
2952
2953         Adding G711/G722 missing codec files.
2954         Activating use of these in the build system.
2955
2956         * Configurations/libwebrtc.xcconfig:
2957         * Source/webrtc/modules/audio_coding/codecs/g711/g711.c: Added.
2958         (ulaw_to_alaw):
2959         * Source/webrtc/modules/audio_coding/codecs/g711/g711.h: Added.
2960         * Source/webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.cc: Added.
2961         * Source/webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.h: Added.
2962         * Source/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.cc: Added.
2963         * Source/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.h: Added.
2964         * Source/webrtc/modules/audio_coding/codecs/g722/g722_decode.c: Added.
2965         * Source/webrtc/modules/audio_coding/codecs/g722/g722_enc_dec.h: Added.
2966         * Source/webrtc/modules/audio_coding/codecs/g722/g722_encode.c: Added.
2967         * Source/webrtc/modules/audio_coding/codecs/g722/g722_interface.c: Added.
2968         * Source/webrtc/modules/audio_coding/codecs/g722/g722_interface.h: Added.
2969         * Source/webrtc/modules/audio_coding/codecs/g722/test/testG722.cc: Added.
2970         * libwebrtc.xcodeproj/project.pbxproj:
2971
2972 2017-02-10  Alex Christensen  <achristensen@webkit.org>
2973
2974         Fix ASAN build.
2975
2976         * Source/webrtc/base/sanitizer.h:
2977         SANITIZER_UNUSED3 wasn't defined if we are using address_sanitizer but not memory_sanitizer.
2978
2979 2017-02-09  Alex Christensen  <achristensen@webkit.org>
2980
2981         Fix El Capitan build.
2982
2983         * libwebrtc.xcodeproj/project.pbxproj:
2984         Remove more SSE4 code.
2985
2986 2017-02-09  Alex Christensen  <achristensen@webkit.org>
2987
2988         Fix El Capitan build.
2989
2990         * libwebrtc.xcodeproj/project.pbxproj:
2991         Remove more SSE4 code.
2992
2993 2017-02-09  Alex Christensen  <achristensen@webkit.org>
2994
2995         Fix iOS and El Capitan builds of libwebrtc.
2996
2997         * Configurations/libwebrtc.xcconfig:
2998         Skip building audio_mixer_manager_mac.cc on iOS.
2999         * libwebrtc.xcodeproj/project.pbxproj:
3000         El Capitan doesn't like the SSE4 optimizations in opus.
3001         Just don't include them for now.
3002
3003 2017-02-09  Alex Christensen  <achristensen@webkit.org>
3004
3005         Fix warnings in libwebrtc build
3006         https://bugs.webkit.org/show_bug.cgi?id=168088
3007
3008         Reviewed by Youenn Fablet.
3009
3010         * Source/third_party/opus/src/src/opus_decoder.c:
3011         Silence a warning.  Debug builds of opus can be slow.  No big deal.
3012         * libwebrtc.xcodeproj/project.pbxproj:
3013         More sdk files need ARC.
3014
3015 2017-02-09  Alex Christensen  <achristensen@webkit.org>
3016
3017         Fix iOS libwebrtc build after r211960
3018         https://bugs.webkit.org/show_bug.cgi?id=168038
3019
3020         * Source/webrtc/sdk/objc/Framework/Classes/RTCOpenGLVideoRenderer.h:
3021         GlContextType declaration needs to be platform specific here like it is in RTCOpenGLDefines.h
3022
3023 2017-02-09  Alex Christensen  <achristensen@webkit.org>
3024
3025         Fix i386 libwebrtc build
3026         https://bugs.webkit.org/show_bug.cgi?id=168038
3027
3028         Reviewed by Geoffrey Garen.
3029
3030         Unfortunately, 32-bit ObjC can't use all the coolest new features of ObjC.
3031         Fortunately, we can move things around a bit to become valid old ObjC.
3032
3033         * Source/webrtc/sdk/objc/Framework/Classes/RTCAVFoundationVideoSource.mm:
3034         * Source/webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm:
3035         * Source/webrtc/sdk/objc/Framework/Classes/RTCFileLogger.mm:
3036         * Source/webrtc/sdk/objc/Framework/Classes/RTCI420Shader.mm:
3037         * Source/webrtc/sdk/objc/Framework/Classes/RTCMediaConstraints.mm:
3038         * Source/webrtc/sdk/objc/Framework/Classes/RTCMediaSource+Private.h:
3039         * Source/webrtc/sdk/objc/Framework/Classes/RTCMediaSource.mm:
3040         * Source/webrtc/sdk/objc/Framework/Classes/RTCMediaStream.mm:
3041         * Source/webrtc/sdk/objc/Framework/Classes/RTCMediaStreamTrack+Private.h:
3042         * Source/webrtc/sdk/objc/Framework/Classes/RTCMediaStreamTrack.mm:
3043         * Source/webrtc/sdk/objc/Framework/Classes/RTCOpenGLVideoRenderer.h:
3044         * Source/webrtc/sdk/objc/Framework/Classes/RTCOpenGLVideoRenderer.mm:
3045         * Source/webrtc/sdk/objc/Framework/Classes/RTCPeerConnectionFactory.mm:
3046         * Source/webrtc/sdk/objc/Framework/Classes/RTCRtpReceiver.mm:
3047         * Source/webrtc/sdk/objc/Framework/Classes/RTCRtpSender.mm:
3048         * Source/webrtc/sdk/objc/Framework/Classes/RTCShader.h:
3049         * Source/webrtc/sdk/objc/Framework/Classes/RTCVideoFrame.mm:
3050         * Source/webrtc/sdk/objc/Framework/Classes/RTCVideoRendererAdapter.h:
3051         * Source/webrtc/sdk/objc/Framework/Classes/RTCVideoRendererAdapter.mm:
3052         * Source/webrtc/sdk/objc/Framework/Classes/RTCVideoSource.mm:
3053         * Source/webrtc/sdk/objc/Framework/Classes/RTCVideoTrack.mm:
3054         * Source/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm:
3055         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h:
3056         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAudioSource.h:
3057         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAudioTrack.h:
3058         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCConfiguration.h:
3059         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCDataChannelConfiguration.h:
3060         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCFileLogger.h:
3061         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCIceCandidate.h:
3062         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCIceServer.h:
3063         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCLegacyStatsReport.h:
3064         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaConstraints.h:
3065         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaSource.h:
3066         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaStream.h:
3067         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaStreamTrack.h:
3068         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMetricsSampleInfo.h:
3069         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h:
3070         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpCodecParameters.h:
3071         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpEncodingParameters.h:
3072         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpParameters.h:
3073         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpReceiver.h:
3074         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpSender.h:
3075         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCSessionDescription.h:
3076         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoFrame.h:
3077         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoSource.h:
3078         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoTrack.h:
3079         Make code compile for i386.
3080         * libwebrtc.xcodeproj/project.pbxproj:
3081         Added missing headers so Xcode can search them.
3082
3083 2017-02-09  Alex Christensen  <achristensen@webkit.org>
3084
3085         Remove svn:executable property from headers.
3086
3087         * Source/webrtc/base/sigslottester.h: Removed property svn:executable.
3088         * Source/webrtc/modules/video_processing/util/skin_detection.h: Removed property svn:executable.
3089
3090 2017-02-08  Alex Christensen  <achristensen@webkit.org>
3091
3092         Fix libwebrtc build.
3093         https://bugs.webkit.org/show_bug.cgi?id=168017
3094
3095         * Configurations/libwebrtc.xcconfig:
3096         Trying to compile audio_device_not_implemented_ios.mm on Mac doesn't work.
3097         * libwebrtc.xcodeproj/project.pbxproj:
3098         Add some neon files.  They are nicely protected by macros at the top, so their contents are only compiled if necessary.
3099
3100 2017-02-08  Alex Christensen  <achristensen@webkit.org>
3101
3102         Fix libwebrtc build on iOS simulator
3103         https://bugs.webkit.org/show_bug.cgi?id=168017
3104
3105         Reviewed by Tim Horton.
3106
3107         * Configurations/libwebrtc.xcconfig:
3108         * Configurations/libwebrtcpcrtc.xcconfig:
3109         Use $(inherited)
3110         * Source/webrtc/modules/audio_device/ios/audio_device_ios.h:
3111         * Source/webrtc/modules/audio_device/ios/audio_device_ios.mm:
3112         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSession+Configuration.mm:
3113         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSession+Private.h:
3114         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSession.h:
3115         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSession.mm:
3116         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSessionConfiguration.h:
3117         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSessionConfiguration.m:
3118         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSessionDelegateAdapter.h:
3119         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSessionDelegateAdapter.mm:
3120         Renamed RTCAudioSession* to WebRTCAudioSession* so that all ObjC classes in WebCore start with Web prefix.
3121         * libwebrtc.xcodeproj/project.pbxproj:
3122         Add necessary files.  Some iOS-specific files need ARC, 
3123         and this matches the Build.gn in Source/webrtc/modules/audio_device
3124
3125 2017-02-08  Alex Christensen  <achristensen@webkit.org>
3126
3127         Fix iOS libwebrtc build
3128         https://bugs.webkit.org/show_bug.cgi?id=168004
3129
3130         Reviewed by Youenn Fablet.
3131
3132         We might still need to add some neon files.
3133
3134         * Configurations/libwebrtc.xcconfig:
3135         * Configurations/libwebrtcpcrtc.xcconfig:
3136         * Configurations/opus.xcconfig:
3137         Don't build sse-specific files for iOS.
3138         * libwebrtc.xcodeproj/project.pbxproj:
3139         Don't include the sse4 optimization for now.
3140         We can add the optimization for CPUs that support it later.
3141
3142 2017-02-08  Youenn Fablet  <youennf@gmail.com>
3143
3144         [WebRTC] Fix libwebrtc build system
3145         https://bugs.webkit.org/show_bug.cgi?id=167978
3146
3147         Reviewed by Alex Christensen.
3148
3149         * Configurations/libwebrtc.xcconfig:
3150         * Configurations/libwebrtcpcrtc.xcconfig:
3151         * Configurations/usrsctp.xcconfig:
3152         * libwebrtc.xcodeproj/project.pbxproj:
3153
3154 2017-02-07  Youenn Fablet  <youenn@apple.com>
3155
3156         Fix libwebrtcpcrtc target include path
3157         https://bugs.webkit.org/show_bug.cgi?id=167971
3158
3159         Reviewed by Alex Christensen.
3160
3161         * Configurations/libwebrtcpcrtc.xcconfig:
3162
3163 2017-02-07  Youenn Fablet  <youenn@apple.com>
3164
3165         [WebRTC] usrsctp (libwebrtc third party library) is not compiling
3166         https://bugs.webkit.org/show_bug.cgi?id=167969
3167
3168         Reviewed by Alex Christensen.
3169
3170         Also removing .gitignore files in libwebrtc directory.
3171
3172         * Source/.gitignore: Removed.
3173         * Source/third_party/boringssl/src/.gitignore: Removed.
3174         * Source/third_party/gflags/src/.gitignore: Removed.
3175         * Source/third_party/jsoncpp/source/.gitignore: Removed.
3176         * Source/third_party/libyuv/.gitignore: Removed.
3177         * Source/third_party/protobuf/.gitignore: Removed.
3178         * Source/third_party/protobuf/csharp/.gitignore: Removed.
3179         * Source/third_party/protobuf/ruby/.gitignore: Removed.
3180         * Source/third_party/usrsctp/usrsctplib/.gitignore: Removed.
3181         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_input.c:
3182         (sctp_process_cookie_existing):
3183         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_output.c:
3184         * Source/tools/.gitignore: Removed.
3185         * Source/webrtc/.gitignore: Removed.
3186
3187 2017-02-07  Alex Christensen  <achristensen@webkit.org>
3188
3189         Move webrtc/pc to own Xcode target
3190         https://bugs.webkit.org/show_bug.cgi?id=167970
3191
3192         Reviewed by Youenn Fablet.
3193
3194         It needs to include different directories than the rest of libwebrtc.
3195         Also moved some target names so liblibsrtp.a is changed to libsrtp.a, etc.
3196
3197         * Configurations/libwebrtcpcrtc.xcconfig: Added.
3198         * libwebrtc.xcodeproj/project.pbxproj:
3199
3200 2017-02-07  Alex Christensen  <achristensen@webkit.org>
3201
3202         [libwebrtc] Move libsrtp and libyuv to own Xcode targets
3203         https://bugs.webkit.org/show_bug.cgi?id=167966
3204
3205         Reviewed by Youenn Fablet.
3206
3207         * Configurations/libsrtp.xcconfig: Added.
3208         * Configurations/libyuv.xcconfig: Added.
3209         * Configurations/usrsctp.xcconfig:
3210         * libwebrtc.xcodeproj/project.pbxproj:
3211
3212 2017-02-07  Alex Christensen  <achristensen@webkit.org>
3213
3214         Fix libwebrtc build after r211817
3215         https://bugs.webkit.org/show_bug.cgi?id=167944
3216
3217         * Configurations/usrsctp.xcconfig:
3218         Disable more warnings.
3219
3220 2017-02-07  Alex Christensen  <achristensen@webkit.org>
3221
3222         build usrsctp with Xcode
3223         https://bugs.webkit.org/show_bug.cgi?id=167944
3224
3225         Reviewed by Youenn Fablet.
3226
3227         * Configurations/usrsctp.xcconfig:
3228         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_pcb.c:
3229         * Source/third_party/usrsctp/usrsctplib/usrsctplib/user_atomic.h:
3230         * libwebrtc.xcodeproj/project.pbxproj:
3231
3232 2017-02-06  Alex Christensen  <achristensen@webkit.org>
3233
3234         [WebRTC] Remove unneeded build directory accidentally checked in with libwebrtc source.
3235
3236         Reviewed by Youenn Fablet.
3237
3238         * third_party/usrsctp/build: Removed.
3239
3240 2017-02-03  Alex Christensen  <achristensen@webkit.org>
3241
3242         [WebRTC] Add more files to libwebrtc build
3243         https://bugs.webkit.org/show_bug.cgi?id=167824
3244
3245         Reviewed by Youenn Fablet.
3246
3247         * Configurations/libwebrtc.xcconfig:
3248         * Configurations/usrsctp.xcconfig: Added.
3249         * libwebrtc.xcodeproj/project.pbxproj:
3250
3251 2017-02-02  Alex Christensen  <achristensen@webkit.org>
3252
3253         Build libwebrtc and dependencies with Xcode
3254         https://bugs.webkit.org/show_bug.cgi?id=167758
3255
3256         Reviewed by Dean Jackson.
3257
3258         * Configurations: Added.
3259         * Configurations/Base.xcconfig: Added.