Build libwebrtc unit tests executables
[WebKit-https.git] / Source / ThirdParty / libwebrtc / ChangeLog
1 2017-09-29  Youenn Fablet  <youenn@apple.com>
2
3         Build libwebrtc unit tests executables
4         https://bugs.webkit.org/show_bug.cgi?id=177211
5
6         Reviewed by Alex Christensen.
7
8         Adding support for a new target called unittests that will be several executables.
9         Each executable run unit tests dedicated to a part of libwebrtc.
10
11         Adding one target/executable per unit test suite.
12         Adding one composite target to build all unit test targets.
13         Adding a target to build a static libwebrtctest library.
14         The static libwebrtctest library is then linked to each unit test executable which is also linked to libwebrtc dylib.
15
16         Some unit tests require a default codec (VP8) that is disabled in libwebrtc.
17         This ends up making some tests crashing.
18         An additional work should follow to execute only the meaningful subset of tests.
19
20         * Configurations/libwebrtc-base.xcconfig: Added.
21         * Configurations/libwebrtc-test-static.xcconfig: Added.
22         * Configurations/rtc_pc_unittests.xcconfig: Added.
23         * Source/third_party/gflags/gen/posix/include/private/config.h:
24         * Source/webrtc/modules/audio_coding/neteq/tools/neteq_test.cc: Replacing FATAL by RTC_FATAL.
25         * Source/webrtc/sdk/objc/Framework/Classes/Common/helpers.mm: Removing UIKit dependency.
26         * Source/webrtc/test/gmock.h: Using googletest version instead of checking in testing folder.
27         * Source/webrtc/test/gtest.h: Ditto.
28         * Source/webrtc/test/rtp_file_reader.cc: Replacing FATAL by RTC_FATAL.
29         * libwebrtc.xcodeproj/project.pbxproj:
30
31 2017-09-27  Ryan Haddad  <ryanhaddad@apple.com>
32
33         Unreviewed, rolling out r222537.
34
35         This change broke internal builds.
36
37         Reverted changeset:
38
39         "Build libwebrtc unit tests executables"
40         https://bugs.webkit.org/show_bug.cgi?id=177211
41         http://trac.webkit.org/changeset/222537
42
43 2017-09-26  Youenn Fablet  <youenn@apple.com>
44
45         Build libwebrtc unit tests executables
46         https://bugs.webkit.org/show_bug.cgi?id=177211
47
48         Reviewed by Alex Christensen.
49
50         Adding support for a new target called unittests that will be several executables.
51         Each executable run unit tests dedicated to a part of libwebrtc.
52
53         Adding one target/executable per unit test suite.
54         Adding one composite target to build all unit test targets.
55         Adding a target to build a static libwebrtctest library.
56         The static libwebrtctest library is then linked to each unit test executable which is also linked to libwebrtc dylib.
57
58         Some unit tests require a default codec (VP8) that is disabled in libwebrtc.
59         This ends up making some tests crashing.
60         An additional work should follow to execute only the meaningful subset of tests.
61
62         * Configurations/libwebrtc-base.xcconfig: Added.
63         * Configurations/libwebrtc-test-static.xcconfig: Added.
64         * Configurations/rtc_pc_unittests.xcconfig: Added.
65         * Source/third_party/gflags/gen/posix/include/private/config.h:
66         * Source/webrtc/modules/audio_coding/neteq/tools/neteq_test.cc: Replacing FATAL by RTC_FATAL.
67         * Source/webrtc/sdk/objc/Framework/Classes/Common/helpers.mm: Removing UIKit dependency.
68         * Source/webrtc/test/gmock.h: Using googletest version instead of checking in testing folder.
69         * Source/webrtc/test/gtest.h: Ditto.
70         * Source/webrtc/test/rtp_file_reader.cc: Replacing FATAL by RTC_FATAL.
71         * libwebrtc.xcodeproj/project.pbxproj:
72
73 2017-09-26  Youenn Fablet  <youenn@apple.com>
74
75         Remove unnecessary libwebrtc dependencies
76         https://bugs.webkit.org/show_bug.cgi?id=177494
77
78         Reviewed by Alex Christensen.
79
80         * libwebrtc.xcodeproj/project.pbxproj:
81
82 2017-09-25  Youenn Fablet  <youenn@apple.com>
83
84         WebRTC video does not resume receiving when switching back to Safari 11 on iOS
85         https://bugs.webkit.org/show_bug.cgi?id=175472
86         <rdar://problem/33860863>
87
88         Reviewed by Darin Adler.
89
90         Adding a method to disable any decoding/encoding task.
91         When reenabling the decoder, the decoder will request an I frame after failing the first initial decoding task.
92
93         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/decoder.h:
94         (webrtc::H264VideoToolboxDecoder::SetActive):
95         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/decoder.mm:
96         (webrtc::H264VideoToolboxDecoder::Decode):
97         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.h:
98         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.mm:
99         (webrtc::H264VideoToolboxEncoder::Encode):
100
101 2017-09-25  Youenn Fablet  <youenn@apple.com>
102
103         Adding per-platform libwebrtc export files
104         https://bugs.webkit.org/show_bug.cgi?id=177465
105
106         Reviewed by Alex Christensen.
107
108         Using per platform export symbol files for libwebrtc.dylib.
109         This allows exporting platform-specific symbols that are used by libwebrtc unit tests.
110
111         * Configurations/libwebrtc.iOS.exp: Added.
112         * Configurations/libwebrtc.iOSsim.exp: Added.
113         * Configurations/libwebrtc.mac.exp: Added.
114         * Configurations/libwebrtc.exp: Removed.
115         * Configurations/libwebrtc.xcconfig:
116         * libwebrtc.xcodeproj/project.pbxproj: Adding ISAC/fix codec files used for
117         by audio codec unit tests to libwebrtc.dylib. This files will allow us to add support to the ISAC/fix codec.
118
119 2017-09-23  Youenn Fablet  <youenn@apple.com>
120
121         Export libwebrtc symbols through an export file
122         https://bugs.webkit.org/show_bug.cgi?id=177344
123
124         Reviewed by Darin Adler.
125
126         Removing export changes made to libwebrtc.
127         Exporting based on libwebrtc.exp file.
128
129         * Configurations/Base.xcconfig:
130         * Configurations/libwebrtc.exp: Added.
131         * Configurations/libwebrtc.xcconfig:
132         * Source/webrtc/api/jsep.h:
133         (): Deleted.
134         * Source/webrtc/api/mediatypes.h:
135         * Source/webrtc/api/peerconnectioninterface.h:
136         * Source/webrtc/api/rtcerror.h:
137         * Source/webrtc/api/stats/rtcstats.h:
138         * Source/webrtc/api/stats/rtcstatsreport.h:
139         (): Deleted.
140         * Source/webrtc/api/video/i420_buffer.h:
141         * Source/webrtc/api/video/video_frame.h:
142         (): Deleted.
143         * Source/webrtc/api/video/video_frame_buffer.h:
144         * Source/webrtc/base/asyncpacketsocket.h:
145         * Source/webrtc/base/asyncresolverinterface.h:
146         (): Deleted.
147         * Source/webrtc/base/checks.h:
148         (): Deleted.
149         * Source/webrtc/base/copyonwritebuffer.h:
150         (): Deleted.
151         * Source/webrtc/base/event.h:
152         (): Deleted.
153         * Source/webrtc/base/export.h: Removed.
154         * Source/webrtc/base/helpers.h:
155         * Source/webrtc/base/ipaddress.h:
156         * Source/webrtc/base/location.h:
157         (): Deleted.
158         * Source/webrtc/base/logging.h:
159         * Source/webrtc/base/messagehandler.h:
160         * Source/webrtc/base/network.h:
161         * Source/webrtc/base/proxyinfo.h:
162         * Source/webrtc/base/socketaddress.h:
163         (): Deleted.
164         * Source/webrtc/base/thread.h:
165         * Source/webrtc/common_video/include/i420_buffer_pool.h:
166         (): Deleted.
167         * Source/webrtc/common_video/include/video_frame_buffer.h:
168         (): Deleted.
169         * Source/webrtc/common_video/libyuv/include/webrtc_libyuv.h:
170         * Source/webrtc/media/engine/webrtcvideoencoderfactory.h:
171         (): Deleted.
172         * Source/webrtc/p2p/base/basicpacketsocketfactory.h:
173         (): Deleted.
174         * Source/webrtc/p2p/client/basicportallocator.h:
175         * Source/webrtc/pc/mediastream.h:
176         * Source/webrtc/sdk/objc/Framework/Classes/Video/corevideo_frame_buffer.h:
177         (): Deleted.
178         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.h:
179         (): Deleted.
180         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/videocodecfactory.h:
181         (): Deleted.
182         * libwebrtc.xcodeproj/project.pbxproj:
183
184 2017-09-20  Youenn Fablet  <youenn@apple.com>
185
186         Upstream googletest framework
187         https://bugs.webkit.org/show_bug.cgi?id=177252
188
189         Reviewed by Alex Christensen.
190
191         This is used by libwebrtc.
192
193         * Source/third_party/googletest: Added.
194  
195 2017-09-15  Alicia Boya García  <aboya@igalia.com>
196
197         Normalize line terminators in jsoncpp Visual Studio files
198         https://bugs.webkit.org/show_bug.cgi?id=176991
199
200         Reviewed by Konstantin Tokarev.
201
202         * Source/third_party/jsoncpp/source/makefiles/vs71/jsoncpp.sln:
203         * Source/third_party/jsoncpp/source/makefiles/vs71/jsontest.vcproj:
204         * Source/third_party/jsoncpp/source/makefiles/vs71/lib_json.vcproj:
205         * Source/third_party/jsoncpp/source/makefiles/vs71/test_lib_json.vcproj:
206
207 2017-07-18  Andy Estes  <aestes@apple.com>
208
209         [Xcode] Enable CLANG_WARN_OBJC_LITERAL_CONVERSION
210         https://bugs.webkit.org/show_bug.cgi?id=174631
211
212         Reviewed by Sam Weinig.
213
214         * Configurations/Base.xcconfig:
215
216 2017-07-18  Andy Estes  <aestes@apple.com>
217
218         [Xcode] Enable CLANG_WARN_NON_LITERAL_NULL_CONVERSION
219         https://bugs.webkit.org/show_bug.cgi?id=174631
220
221         Reviewed by Dan Bernstein.
222
223         * Configurations/Base.xcconfig:
224
225 2017-07-18  Andy Estes  <aestes@apple.com>
226
227         [Xcode] Enable CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING
228         https://bugs.webkit.org/show_bug.cgi?id=174631
229
230         Reviewed by Darin Adler.
231
232         * Configurations/Base.xcconfig:
233
234 2017-07-03  Andy Estes  <aestes@apple.com>
235
236         [Xcode] Add an experimental setting to build with ccache
237         https://bugs.webkit.org/show_bug.cgi?id=173875
238
239         Reviewed by Tim Horton.
240
241         * Configurations/DebugRelease.xcconfig: Included ccache.xcconfig.
242
243 2017-07-01  Dan Bernstein  <mitz@apple.com>
244
245         [macOS] Remove code only needed when building for OS X Yosemite
246         https://bugs.webkit.org/show_bug.cgi?id=174067
247
248         Reviewed by Tim Horton.
249
250         * Configurations/Base.xcconfig:
251         * Configurations/DebugRelease.xcconfig:
252
253 2017-06-27  Youenn Fablet  <youenn@apple.com>
254
255         Update boringssl to c8ff30cbe716c72279a6f6a9d7d7d0d4091220fa
256         https://bugs.webkit.org/show_bug.cgi?id=173676
257
258         Reviewed by Alex Christensen.
259
260         * Configurations/boringssl.xcconfig: Enabling ASM.
261         * Source/third_party/boringssl/BUILD.generated.gni:
262         * Source/third_party/boringssl: Updated folder according new revision.
263         * WebKit/patch-boringssl: Added, needed to fix some files to disable warnings.
264         * libwebrtc.xcodeproj/project.pbxproj:
265
266 2017-06-27  Youenn Fablet  <youenn@apple.com>
267
268         Refresh usrsctp to Source/ThirdParty/libwebrtc/WebKit/patch-usrsctp and libsrtp to ccf84786f8ef803cb9c75e919e5a3976b9f5a67
269         https://bugs.webkit.org/show_bug.cgi?id=173673
270
271         Reviewed by Sam Weinig.
272
273         * Source/third_party/libsrtp/README.chromium:
274         * Source/third_party/libsrtp/srtp/srtp.c:
275         (srtp_stream_init_keys):
276         (srtp_calc_aead_iv_srtcp):
277         (srtp_protect_rtcp_aead):
278         (srtp_unprotect_rtcp_aead):
279         * Source/third_party/libsrtp/test/srtp_driver.c:
280         (srtp_validate_encrypted_extensions_headers_gcm):
281         * Source/third_party/usrsctp/usrsctplib/.gitignore: Added.
282         * Source/third_party/usrsctp/usrsctplib/CMakeLists.txt:
283         * Source/third_party/usrsctp/usrsctplib/Makefile.am:
284         * Source/third_party/usrsctp/usrsctplib/README.md:
285         * Source/third_party/usrsctp/usrsctplib/configure.ac:
286         * Source/third_party/usrsctp/usrsctplib/programs/CMakeLists.txt:
287         * Source/third_party/usrsctp/usrsctplib/programs/Makefile.am:
288         * Source/third_party/usrsctp/usrsctplib/programs/client.c:
289         (main):
290         * Source/third_party/usrsctp/usrsctplib/programs/datachan_serv.c:
291         (main):
292         * Source/third_party/usrsctp/usrsctplib/programs/ekr_loop_offload.c: Added.
293         (handle_packets):
294         * Source/third_party/usrsctp/usrsctplib/programs/test_timer.c: Added.
295         (main):
296         * Source/third_party/usrsctp/usrsctplib/usrsctp.pc.in: Added.
297         * Source/third_party/usrsctp/usrsctplib/usrsctplib/CMakeLists.txt:
298         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_asconf.c:
299         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_asconf.h:
300         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_auth.c:
301         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_auth.h:
302         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_bsd_addr.c:
303         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_bsd_addr.h:
304         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_cc_functions.c:
305         (sctp_cwnd_update_after_fr):
306         (sctp_hs_cwnd_update_after_fr):
307         (sctp_htcp_cwnd_update_after_fr):
308         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_constants.h:
309         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_crc32.c:
310         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_crc32.h:
311         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_header.h:
312         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_indata.c:
313         (sctp_build_readq_entry):
314         (sctp_place_control_in_stream):
315         (sctp_abort_in_reasm):
316         (sctp_queue_data_to_stream):
317         (sctp_build_readq_entry_from_ctl):
318         (sctp_handle_old_unordered_data):
319         (sctp_inject_old_unordered_data):
320         (sctp_deliver_reasm_check):
321         (sctp_add_chk_to_control):
322         (sctp_queue_data_for_reasm):
323         (sctp_find_reasm_entry):
324         (sctp_process_a_data_chunk):
325         (sctp_sack_check):
326         (sctp_process_segment_range):
327         (sctp_check_for_revoked):
328         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_indata.h:
329         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_input.c:
330         (sctp_process_init):
331         (sctp_process_cookie_existing):
332         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_input.h:
333         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_output.c:
334         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_output.h:
335         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_pcb.c:
336         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_pcb.h:
337         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_peeloff.h:
338         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_ss_functions.c:
339         (sctp_ss_rr_add):
340         (sctp_ss_fcfs_select):
341         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_structs.h:
342         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_sysctl.c:
343         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_timer.c:
344         (sctp_recover_sent_list):
345         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_uio.h:
346         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_usrreq.c:
347         (sctp_init):
348         (sctp_pathmtu_adjustment):
349         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_var.h:
350         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctputil.c:
351         (sctp_log_strm_del):
352         (sctp_init_asoc):
353         (sctp_notify_send_failed):
354         (sctp_notify_send_failed2):
355         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctputil.h:
356         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet6/sctp6_usrreq.c:
357         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet6/sctp6_var.h:
358         * Source/third_party/usrsctp/usrsctplib/usrsctplib/user_mbuf.c:
359         (m_get):
360         (mbuf_initialize):
361         * Source/third_party/usrsctp/usrsctplib/usrsctplib/user_mbuf.h:
362         * Source/third_party/usrsctp/usrsctplib/usrsctplib/user_socket.c:
363         * Source/third_party/usrsctp/usrsctplib/usrsctplib/usrsctp.h:
364         * WebKit/patch-usrsctp: Added.
365
366 2017-06-22  Youenn Fablet  <youenn@apple.com>
367
368         [WebRTC] Prevent capturing at unconventional resolutions when using the SW encoder on Mac
369         https://bugs.webkit.org/show_bug.cgi?id=172602
370         <rdar://problem/32407693>
371
372         Reviewed by Eric Carlson.
373
374         Adding a parameter to disable hardware encoder.
375
376         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.h:
377         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.mm:
378         (webrtc::H264VideoToolboxEncoder::CreateCompressionSession):
379
380 2017-06-21  Youenn Fablet  <youenn@apple.com>
381
382         Update libyuv to 8cab2e31d76246263206318f3568d452e7f3ff3e
383         https://bugs.webkit.org/show_bug.cgi?id=173675
384
385         Reviewed by Sam Weinig.
386
387         * Source/third_party/libyuv/.clang-format: Added.
388         * Source/third_party/libyuv/.gitignore: Added.
389         * Source/third_party/libyuv/Android.mk:
390         * Source/third_party/libyuv/BUILD.gn:
391         * Source/third_party/libyuv/CM_linux_packages.cmake: Added.
392         * Source/third_party/libyuv/CMakeLists.txt:
393         * Source/third_party/libyuv/DEPS:
394         * Source/third_party/libyuv/PRESUBMIT.py:
395         (_RunPythonTests):
396         (_RunPythonTests.join):
397         (_CommonChecks):
398         (CheckChangeOnUpload):
399         (CheckChangeOnCommit):
400         * Source/third_party/libyuv/README.chromium:
401         * Source/third_party/libyuv/build_overrides/build.gni:
402         * Source/third_party/libyuv/chromium/.gclient: Removed.
403         * Source/third_party/libyuv/chromium/README: Removed.
404         * Source/third_party/libyuv/cleanup_links.py: Added.
405         (WebRTCLinkSetup):
406         (WebRTCLinkSetup.__init__):
407         (WebRTCLinkSetup.CleanupLinks):
408         (_initialize_database):
409         (main):
410         * Source/third_party/libyuv/codereview.settings:
411         * Source/third_party/libyuv/docs/deprecated_builds.md:
412         * Source/third_party/libyuv/docs/getting_started.md:
413         * Source/third_party/libyuv/gyp_libyuv.py:
414         * Source/third_party/libyuv/include/libyuv/basic_types.h:
415         * Source/third_party/libyuv/include/libyuv/compare.h:
416         * Source/third_party/libyuv/include/libyuv/compare_row.h:
417         * Source/third_party/libyuv/include/libyuv/convert.h:
418         * Source/third_party/libyuv/include/libyuv/convert_argb.h:
419         * Source/third_party/libyuv/include/libyuv/convert_from.h:
420         * Source/third_party/libyuv/include/libyuv/convert_from_argb.h:
421         * Source/third_party/libyuv/include/libyuv/cpu_id.h:
422         * Source/third_party/libyuv/include/libyuv/macros_msa.h:
423         * Source/third_party/libyuv/include/libyuv/mjpeg_decoder.h:
424         * Source/third_party/libyuv/include/libyuv/planar_functions.h:
425         * Source/third_party/libyuv/include/libyuv/rotate.h:
426         * Source/third_party/libyuv/include/libyuv/rotate_argb.h:
427         * Source/third_party/libyuv/include/libyuv/rotate_row.h:
428         * Source/third_party/libyuv/include/libyuv/row.h:
429         * Source/third_party/libyuv/include/libyuv/scale.h:
430         * Source/third_party/libyuv/include/libyuv/scale_argb.h:
431         * Source/third_party/libyuv/include/libyuv/scale_row.h:
432         * Source/third_party/libyuv/include/libyuv/version.h:
433         * Source/third_party/libyuv/include/libyuv/video_common.h:
434         * Source/third_party/libyuv/infra/config/OWNERS: Added.
435         * Source/third_party/libyuv/infra/config/README.md: Added.
436         * Source/third_party/libyuv/infra/config/cq.cfg: Added.
437         * Source/third_party/libyuv/libyuv.gyp:
438         * Source/third_party/libyuv/libyuv.gypi:
439         * Source/third_party/libyuv/libyuv_test.gyp:
440         * Source/third_party/libyuv/linux.mk:
441         * Source/third_party/libyuv/pylintrc: Added.
442         * Source/third_party/libyuv/setup_links.py: Removed.
443         * Source/third_party/libyuv/source/compare.cc:
444         * Source/third_party/libyuv/source/compare_common.cc:
445         * Source/third_party/libyuv/source/compare_gcc.cc:
446         * Source/third_party/libyuv/source/compare_neon.cc:
447         * Source/third_party/libyuv/source/compare_neon64.cc:
448         * Source/third_party/libyuv/source/compare_win.cc:
449         * Source/third_party/libyuv/source/convert.cc:
450         * Source/third_party/libyuv/source/convert_argb.cc:
451         * Source/third_party/libyuv/source/convert_from.cc:
452         * Source/third_party/libyuv/source/convert_from_argb.cc:
453         * Source/third_party/libyuv/source/convert_jpeg.cc:
454         * Source/third_party/libyuv/source/convert_to_argb.cc:
455         * Source/third_party/libyuv/source/convert_to_i420.cc:
456         * Source/third_party/libyuv/source/cpu_id.cc:
457         * Source/third_party/libyuv/source/mjpeg_decoder.cc:
458         * Source/third_party/libyuv/source/mjpeg_validate.cc:
459         * Source/third_party/libyuv/source/planar_functions.cc:
460         * Source/third_party/libyuv/source/rotate.cc:
461         * Source/third_party/libyuv/source/rotate_any.cc:
462         * Source/third_party/libyuv/source/rotate_argb.cc:
463         * Source/third_party/libyuv/source/rotate_common.cc:
464         * Source/third_party/libyuv/source/rotate_dspr2.cc: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/source/rotate_mips.cc.
465         * Source/third_party/libyuv/source/rotate_gcc.cc:
466         * Source/third_party/libyuv/source/rotate_msa.cc: Added.
467         * Source/third_party/libyuv/source/rotate_neon.cc:
468         * Source/third_party/libyuv/source/rotate_neon64.cc:
469         * Source/third_party/libyuv/source/rotate_win.cc:
470         * Source/third_party/libyuv/source/row_any.cc:
471         * Source/third_party/libyuv/source/row_common.cc:
472         * Source/third_party/libyuv/source/row_dspr2.cc: Added.
473         * Source/third_party/libyuv/source/row_gcc.cc:
474         * Source/third_party/libyuv/source/row_mips.cc: Removed.
475         * Source/third_party/libyuv/source/row_msa.cc:
476         * Source/third_party/libyuv/source/row_neon.cc:
477         * Source/third_party/libyuv/source/row_neon64.cc:
478         * Source/third_party/libyuv/source/row_win.cc:
479         * Source/third_party/libyuv/source/scale.cc:
480         * Source/third_party/libyuv/source/scale_any.cc:
481         * Source/third_party/libyuv/source/scale_argb.cc:
482         * Source/third_party/libyuv/source/scale_common.cc:
483         * Source/third_party/libyuv/source/scale_dspr2.cc: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/source/scale_mips.cc.
484         * Source/third_party/libyuv/source/scale_gcc.cc:
485         * Source/third_party/libyuv/source/scale_msa.cc: Added.
486         * Source/third_party/libyuv/source/scale_neon.cc:
487         * Source/third_party/libyuv/source/scale_neon64.cc:
488         * Source/third_party/libyuv/source/scale_win.cc:
489         * Source/third_party/libyuv/source/video_common.cc:
490         * Source/third_party/libyuv/sync_chromium.py: Removed.
491         * Source/third_party/libyuv/third_party/gflags/BUILD.gn: Removed.
492         * Source/third_party/libyuv/third_party/gflags/LICENSE: Removed.
493         * Source/third_party/libyuv/third_party/gflags/README.libyuv: Removed.
494         * Source/third_party/libyuv/third_party/gflags/gen/posix/include/gflags/gflags.h: Removed.
495         * Source/third_party/libyuv/third_party/gflags/gen/posix/include/gflags/gflags_completions.h: Removed.
496         * Source/third_party/libyuv/third_party/gflags/gen/posix/include/gflags/gflags_declare.h: Removed.
497         * Source/third_party/libyuv/third_party/gflags/gen/posix/include/gflags/gflags_gflags.h: Removed.
498         * Source/third_party/libyuv/third_party/gflags/gen/posix/include/private/config.h: Removed.
499         * Source/third_party/libyuv/third_party/gflags/gen/win/include/gflags/gflags.h: Removed.
500         * Source/third_party/libyuv/third_party/gflags/gen/win/include/gflags/gflags_completions.h: Removed.
501         * Source/third_party/libyuv/third_party/gflags/gen/win/include/gflags/gflags_declare.h: Removed.
502         * Source/third_party/libyuv/third_party/gflags/gen/win/include/gflags/gflags_gflags.h: Removed.
503         * Source/third_party/libyuv/third_party/gflags/gen/win/include/private/config.h: Removed.
504         * Source/third_party/libyuv/third_party/gflags/gflags.gyp: Removed.
505         * Source/third_party/libyuv/tools/gritsettings/README: Removed.
506         * Source/third_party/libyuv/tools/gritsettings/resource_ids: Removed.
507         * Source/third_party/libyuv/tools/valgrind-libyuv/tsan/OWNERS: Removed.
508         * Source/third_party/libyuv/tools/valgrind-libyuv/tsan/PRESUBMIT.py: Removed.
509         * Source/third_party/libyuv/tools/valgrind-libyuv/tsan/suppressions.txt: Removed.
510         * Source/third_party/libyuv/tools/valgrind-libyuv/tsan/suppressions_mac.txt: Removed.
511         * Source/third_party/libyuv/tools/valgrind-libyuv/tsan/suppressions_win32.txt: Removed.
512         * Source/third_party/libyuv/tools_libyuv/OWNERS: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/OWNERS.
513         * Source/third_party/libyuv/tools_libyuv/autoroller/roll_deps.py: Added.
514         (RollError):
515         (ParseDepsDict):
516         (ParseLocalDepsFile):
517         (ParseRemoteCrDepsFile):
518         (ParseCommitPosition):
519         (_RunCommand):
520         (_GetBranches):
521         (_ReadGitilesContent):
522         (ReadRemoteCrFile):
523         (ReadRemoteCrCommit):
524         (ReadUrlContent):
525         (GetMatchingDepsEntries):
526         (BuildDepsentryDict):
527         (BuildDepsentryDict.AddDepsEntries):
528         (CalculateChangedDeps):
529         (CalculateChangedClang):
530         (CalculateChangedClang.GetClangRev):
531         (GenerateCommitMessage):
532         (UpdateDepsFile):
533         (_IsTreeClean):
534         (_EnsureUpdatedMasterBranch):
535         (_CreateRollBranch):
536         (_RemovePreviousRollBranch):
537         (_LocalCommit):
538         (_UploadCL):
539         (_SendToCQ):
540         (main):
541         * Source/third_party/libyuv/tools_libyuv/autoroller/unittests/roll_deps_test.py: Added.
542         (TestError):
543         (FakeCmd):
544         (FakeCmd.__init__):
545         (FakeCmd.add_expectation):
546         (FakeCmd.__call__):
547         (TestRollChromiumRevision):
548         (TestRollChromiumRevision.setUp):
549         (TestRollChromiumRevision.tearDown):
550         (TestRollChromiumRevision.testUpdateDepsFile):
551         (TestRollChromiumRevision.testParseDepsDict):
552         (TestRollChromiumRevision.testParseDepsDict.assertVar):
553         (TestRollChromiumRevision.testGetMatchingDepsEntriesReturnsPathInSimpleCase):
554         (TestRollChromiumRevision.testGetMatchingDepsEntriesHandlesSimilarStartingPaths):
555         (TestRollChromiumRevision.testGetMatchingDepsEntriesHandlesTwoPathsWithIdenticalFirstParts):
556         (TestRollChromiumRevision.testCalculateChangedDeps):
557         (_SetupGitLsRemoteCall):
558         * Source/third_party/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS: Added.
559         * Source/third_party/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium.new: Added.
560         * Source/third_party/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium.old: Added.
561         * Source/third_party/libyuv/tools_libyuv/get_landmines.py: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/get_landmines.py.
562         * Source/third_party/libyuv/tools_libyuv/msan/OWNERS: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/msan/OWNERS.
563         * Source/third_party/libyuv/tools_libyuv/msan/blacklist.txt: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/msan/blacklist.txt.
564         * Source/third_party/libyuv/tools_libyuv/ubsan/OWNERS: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/ubsan/OWNERS.
565         * Source/third_party/libyuv/tools_libyuv/ubsan/blacklist.txt: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/ubsan/blacklist.txt.
566         * Source/third_party/libyuv/tools_libyuv/ubsan/vptr_blacklist.txt: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/ubsan/vptr_blacklist.txt.
567         * 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.
568         * 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.
569         (LibyuvTest._DefaultCommand):
570         * 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.
571         * Source/third_party/libyuv/tools_libyuv/valgrind/memcheck/OWNERS: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/valgrind-libyuv/memcheck/OWNERS.
572         * 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.
573         (CheckChange):
574         * 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.
575         * 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.
576         * 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.
577         * Source/third_party/libyuv/unit_test/color_test.cc:
578         * Source/third_party/libyuv/unit_test/compare_test.cc:
579         * Source/third_party/libyuv/unit_test/convert_test.cc:
580         * Source/third_party/libyuv/unit_test/cpu_test.cc:
581         * Source/third_party/libyuv/unit_test/cpu_thread_test.cc: Added.
582         * Source/third_party/libyuv/unit_test/math_test.cc:
583         * Source/third_party/libyuv/unit_test/planar_test.cc:
584         * Source/third_party/libyuv/unit_test/rotate_argb_test.cc:
585         * Source/third_party/libyuv/unit_test/rotate_test.cc:
586         * Source/third_party/libyuv/unit_test/scale_argb_test.cc:
587         * Source/third_party/libyuv/unit_test/scale_test.cc:
588         * Source/third_party/libyuv/unit_test/unit_test.cc:
589         * Source/third_party/libyuv/unit_test/unit_test.h:
590         (SizeValid):
591         * Source/third_party/libyuv/unit_test/video_common_test.cc:
592         * Source/third_party/libyuv/util/compare.cc:
593         * Source/third_party/libyuv/util/cpuid.c:
594         (main):
595         * Source/third_party/libyuv/util/psnr.cc:
596         * Source/third_party/libyuv/util/psnr_main.cc:
597         * Source/third_party/libyuv/util/ssim.cc:
598         * Source/third_party/libyuv/util/ssim.h:
599         * Source/third_party/libyuv/util/yuvconvert.cc: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/util/convert.cc.
600
601 2017-06-21  Youenn Fablet  <youenn@apple.com>
602
603         Fix build after r218645
604         https://bugs.webkit.org/show_bug.cgi?id=173668
605
606         Unreviewed.
607
608         * Source/webrtc/base/sigslottester.h: Removing executable right.
609         * Source/webrtc/modules/video_coding/codecs/vp8/temporal_layers.h:
610         (webrtc::TemporalLayersFactory::Create): Inline a default implementation.
611         * Source/webrtc/modules/video_processing/util/skin_detection.h: Removing executable right.
612
613 2017-06-21  Youenn Fablet  <youenn@apple.com>
614
615         Remove expat source code from Source/ThirdParty/libwebrtc
616         https://bugs.webkit.org/show_bug.cgi?id=173656
617
618         Reviewed by Brent Fulgham.
619
620         * Source/third_party/expat/BUILD.gn: Removed.
621         * Source/third_party/expat/OWNERS: Removed.
622         * Source/third_party/expat/README.chromium: Removed.
623         * Source/third_party/expat/files/COPYING: Removed.
624         * Source/third_party/expat/files/Changes: Removed.
625         * Source/third_party/expat/files/MANIFEST: Removed.
626         * Source/third_party/expat/files/README: Removed.
627         * Source/third_party/expat/files/lib/amigaconfig.h: Removed.
628         * Source/third_party/expat/files/lib/ascii.h: Removed.
629         * Source/third_party/expat/files/lib/asciitab.h: Removed.
630         * Source/third_party/expat/files/lib/expat.h: Removed.
631         * Source/third_party/expat/files/lib/expat_config.h: Removed.
632         * Source/third_party/expat/files/lib/expat_external.h: Removed.
633         * Source/third_party/expat/files/lib/iasciitab.h: Removed.
634         * Source/third_party/expat/files/lib/internal.h: Removed.
635         * Source/third_party/expat/files/lib/latin1tab.h: Removed.
636         * Source/third_party/expat/files/lib/libexpat.def: Removed.
637         * Source/third_party/expat/files/lib/libexpatw.def: Removed.
638         * Source/third_party/expat/files/lib/macconfig.h: Removed.
639         * Source/third_party/expat/files/lib/nametab.h: Removed.
640         * Source/third_party/expat/files/lib/utf8tab.h: Removed.
641         * Source/third_party/expat/files/lib/winconfig.h: Removed.
642         * Source/third_party/expat/files/lib/winconfig.h.original: Removed.
643         * Source/third_party/expat/files/lib/xmlparse.c: Removed.
644         * Source/third_party/expat/files/lib/xmlparse.c.original: Removed.
645         * Source/third_party/expat/files/lib/xmlrole.c: Removed.
646         * Source/third_party/expat/files/lib/xmlrole.h: Removed.
647         * Source/third_party/expat/files/lib/xmltok.c: Removed.
648         * Source/third_party/expat/files/lib/xmltok.h: Removed.
649         * Source/third_party/expat/files/lib/xmltok_impl.c: Removed.
650         * Source/third_party/expat/files/lib/xmltok_impl.c.original: Removed.
651         * Source/third_party/expat/files/lib/xmltok_impl.h: Removed.
652         * Source/third_party/expat/files/lib/xmltok_ns.c: Removed.
653         * Source/third_party/expat/fuzz/OWNERS: Removed.
654         * Source/third_party/expat/fuzz/expat_xml_parse_fuzzer.cc: Removed.
655
656 2017-06-21  Youenn Fablet  <youenn@apple.com>
657
658         Refresh libwebrtc code up to a87675d4a160e2c49c3e754cd9ca291d6c8f36ae
659         https://bugs.webkit.org/show_bug.cgi?id=173602
660
661         Reviewed by Eric Carlson.
662
663         * Configurations/libwebrtc.xcconfig:
664         * Source: Updated to a87675d4a160e2c49c3e754cd9ca291d6c8f36ae and reapplied WebKit specific changes.
665         * WebKit/patch-libwebrtc:
666         * libwebrtc.xcodeproj/project.pbxproj:
667
668 2017-06-19  Commit Queue  <commit-queue@webkit.org>
669
670         Unreviewed, rolling out r218505.
671         https://bugs.webkit.org/show_bug.cgi?id=173563
672
673         "It would break internal builds" (Requested by youenn on
674         #webkit).
675
676         Reverted changeset:
677
678         "[WebRTC] Prevent capturing at unconventional resolutions when
679         using the SW encoder on Mac"
680         https://bugs.webkit.org/show_bug.cgi?id=172602
681         http://trac.webkit.org/changeset/218505
682
683 2017-06-19  Youenn Fablet  <youenn@apple.com>
684
685         [WebRTC] Prevent capturing at unconventional resolutions when using the SW encoder on Mac
686         https://bugs.webkit.org/show_bug.cgi?id=172602
687         <rdar://problem/32407693>
688
689         Reviewed by Eric Carlson.
690
691         Adding a parameter to disable hardware encoder.
692
693         * Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:
694         * Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:
695         (webrtc::H264VideoToolboxEncoder::CreateCompressionSession):
696
697 2017-06-10  Dan Bernstein  <mitz@apple.com>
698
699         Reverted r218056 because it made the IDE reindex constantly.
700
701         * Configurations/DebugRelease.xcconfig:
702
703 2017-06-10  Dan Bernstein  <mitz@apple.com>
704
705         [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
706         https://bugs.webkit.org/show_bug.cgi?id=173223
707
708         Reviewed by Sam Weinig.
709
710         The rebuilds were happening due to a difference in the compiler options that the IDE and
711         xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
712         xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
713         specify an appropriate path in CLANG_INDEX_STORE_PATH.
714
715         * Configurations/DebugRelease.xcconfig:
716
717 2017-06-07  Youenn Fablet  <youenn@apple.com>
718
719         Add WebRTC stats logging
720         https://bugs.webkit.org/show_bug.cgi?id=173045
721
722         Reviewed by Eric Carlson.
723
724         * Source/webrtc/api/stats/rtcstats.h: Exporting RTCStats ToString.
725
726 2017-05-28  Dan Bernstein  <mitz@apple.com>
727
728         [Xcode] ALWAYS_SEARCH_USER_PATHS is set to YES
729         https://bugs.webkit.org/show_bug.cgi?id=172691
730
731         Reviewed by Tim Horton.
732
733         * Configurations/Base.xcconfig: Set ALWAYS_SEARCH_USER_PATHS to NO.
734
735 2017-05-16  Youenn Fablet  <youenn@apple.com>
736
737         RealtimeOutgoingVideoSource should support sinkWants for rotation
738         https://bugs.webkit.org/show_bug.cgi?id=172123
739         <rdar://problem/32200017>
740
741         Reviewed by Eric Carlson.
742
743         * Source/webrtc/api/video/i420_buffer.h: Exporting rotate routine.
744
745 2017-05-08  Youenn Fablet  <youenn@apple.com>
746
747         TURNS gathering is not working properly
748         https://bugs.webkit.org/show_bug.cgi?id=171747
749
750         Reviewed by Eric Carlson.
751
752         * Source/webrtc/base/openssladapter.cc: Adding support for SNI in case of TLS ice candidate gathering.
753
754 2017-04-29  Dan Bernstein  <mitz@apple.com>
755
756         [Xcode] libwebrtc SRCROOT includes examples
757         https://bugs.webkit.org/show_bug.cgi?id=171478
758
759         Reviewed by Tim Horton.
760
761         * Configurations/Base.xcconfig: Exclude the Source/webrtc/examples subdirectory from
762           installsrc. Its contents are not used for building any of the targets in the project.
763
764 2017-04-19  Youenn Fablet  <youenn@apple.com>
765
766         [Mac] Allow customizing H264 encoder
767         https://bugs.webkit.org/show_bug.cgi?id=170829
768
769         Reviewed by Alex Christensen.
770
771         * Configurations/libwebrtc.xcconfig:
772         * Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:
773         * Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:
774         (webrtc::H264VideoToolboxEncoder::ResetCompressionSession):
775         (webrtc::H264VideoToolboxEncoder::CreateCompressionSession): Default implementation, fixing memory leak for dictionary.
776         * Source/webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.cc:
777
778 2017-04-18  Youenn Fablet  <youenn@apple.com>
779
780         Add NDEBUG and CodeStripping to libwebrtc build system
781         https://bugs.webkit.org/show_bug.cgi?id=170954
782
783         Reviewed by Alex Christensen.
784
785         This optimizes libwebrtc library size and efficiency.
786         This allows allocating libwebrtc objects in WebCore without issues.
787
788         * Configurations/Base.xcconfig:
789         * Configurations/boringssl.xcconfig:
790         * Configurations/libsrtp.xcconfig:
791         * Configurations/libwebrtc.xcconfig:
792         * Configurations/libwebrtcpcrtc.xcconfig:
793         * Configurations/opus.xcconfig:
794         * Configurations/usrsctp.xcconfig:
795
796 2017-04-17  Youenn Fablet  <youenn@apple.com>
797
798         Add an external libwebrtc encoder factory in WebCore
799         https://bugs.webkit.org/show_bug.cgi?id=170883
800
801         Reviewed by Alex Christensen.
802
803         Exporting some symbols.
804         Allowing to customize the creation of the H264 encoder.
805
806         * Source/webrtc/media/base/codec.h:
807         * Source/webrtc/media/engine/webrtcvideoencoderfactory.h
808         * Source/webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.cc:
809         * Source/webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.h:
810         * Source/webrtc/video_decoder.h
811         * Source/webrtc/video_encoder.h
812
813 2017-04-14  Mark Lam  <mark.lam@apple.com>
814
815         Update architectures in xcconfig files.
816         https://bugs.webkit.org/show_bug.cgi?id=170867
817         <rdar://problem/31628104>
818
819         Reviewed by Joseph Pecoraro.
820
821         * Configurations/opus.xcconfig:
822
823 2017-04-12  Dan Bernstein  <mitz@apple.com>
824
825         [Mac] Future-proof .xcconfig files
826         https://bugs.webkit.org/show_bug.cgi?id=170802
827
828         Reviewed by Tim Horton.
829
830         * Configurations/Base.xcconfig:
831         * Configurations/DebugRelease.xcconfig:
832         * Configurations/opus.xcconfig:
833
834 2017-04-07  Alex Christensen  <achristensen@webkit.org>
835
836         Enable SSE4 and NEON optimizations of libopus where available
837         https://bugs.webkit.org/show_bug.cgi?id=170592
838
839         Reviewed by Youenn Fablet.
840
841         * Configurations/opus.xcconfig:
842         * libwebrtc.xcodeproj/project.pbxproj:
843
844 2017-04-06  Youenn Fablet  <youenn@apple.com>
845
846         WebRTC aborts when trying to sleep on a wrong thread
847         https://bugs.webkit.org/show_bug.cgi?id=170492
848         <rdar://problem/31446377>
849
850         Reviewed by Eric Carlson.
851
852         Libwebrtc network thread is set up so that it does not accept blocking calls to other threads.
853         as per ChannelManager::Init() in channelmanager.cc.
854         But rtc::Thread::SleepMs expects to block it.
855         Marking thread as blockable before calling SleepMs and resetting the value if needed afterwards.
856         * Source/webrtc/media/sctp/sctptransport.cc:
857
858 2017-03-27  Alejandro G. Castro  <alex@igalia.com>
859
860         Fixes for libwebrtc logging after r214288
861         https://bugs.webkit.org/show_bug.cgi?id=170116
862
863         Reviewed by Youenn Fablet.
864
865         * Source/webrtc/base/logging.cc: Added the critical section
866         requirement and the call to the new getter for g_log_crit.
867
868 2017-03-27  Alex Christensen  <achristensen@webkit.org>
869
870         Build libwebrtc with even more warnings
871         https://bugs.webkit.org/show_bug.cgi?id=169997
872
873         Reviewed by Tim Horton.
874
875         There are still OSAtomic* functions I don't want to worry about right now,
876         so I'm keeping a few -Wno-deprecated-declarations, but everything else can go.
877
878         * Configurations/libsrtp.xcconfig:
879         * Configurations/libwebrtc.xcconfig:
880         * Configurations/libwebrtcpcrtc.xcconfig:
881
882 2017-03-27  Youenn Fablet  <youenn@apple.com>
883
884         Add support for RTCRtpReceiver/RTCRtpSender getParameters
885         https://bugs.webkit.org/show_bug.cgi?id=170057
886
887         Reviewed by Alex Christensen.
888
889         * Source/webrtc/api/mediatypes.h:
890
891 2017-03-22  Alex Christensen  <achristensen@webkit.org>
892
893         Fix warnings in libwebrtc
894         https://bugs.webkit.org/show_bug.cgi?id=169973
895
896         Reviewed by Geoffrey Garen.
897
898         * Configurations/boringssl.xcconfig:
899         * Configurations/libsrtp.xcconfig:
900         * Configurations/libwebrtc.xcconfig:
901         * Configurations/libwebrtcpcrtc.xcconfig:
902         * Configurations/libyuv.xcconfig:
903         * Configurations/opus.xcconfig:
904         * Configurations/usrsctp.xcconfig:
905         Build with more warnings.
906         opus still needs some incompatible pointer warnings disabled because it converts 
907         const opus_int16 * to const opus_val16 * and opus_int32 * to opus_val32 *
908         and that's ok because its a codec and that's what codecs do.
909         * Source/webrtc/base/logging.cc:
910         * Source/webrtc/base/logging.h:
911         * Source/webrtc/base/neverdestroyed.h: Added.
912         (webrtc::NeverDestroyed::NeverDestroyed):
913         (webrtc::NeverDestroyed::operator T&):
914         (webrtc::NeverDestroyed::get):
915         (webrtc::NeverDestroyed::operator&):
916         (webrtc::NeverDestroyed::asPtr):
917         Added webrtc::NeverDestroyed which may or may not be based on WTF::NeverDestroyed.
918         This allows us to avoid exit time destructors, which would slow down program termination for no reason.
919         * Source/webrtc/base/virtualsocketserver.cc:
920         * Source/webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory_internal.cc:
921         Adopt NeverDestroyed in function scope so we don't have global constructors or destructors.
922         * Source/webrtc/modules/audio_processing/beamformer/array_util.h:
923         (webrtc::DegreesToRadians):
924         (webrtc::RadiansToDegrees):
925         Add constexpr so we can calculate values at compile time instead of launch time.
926         * Source/webrtc/modules/rtp_rtcp/source/rtp_utility.cc:
927         * Source/webrtc/system_wrappers/source/clock.cc:
928         * libwebrtc.xcodeproj/project.pbxproj:
929         Don't compile ssl_test.cc.  We don't need it.
930
931 2017-03-10  Youenn Fablet  <youenn@apple.com>
932
933         Move libwebrtc backend to using tracks
934         https://bugs.webkit.org/show_bug.cgi?id=169472
935
936         Reviewed by Alex Christensen.
937
938         * Source/webrtc/pc/rtcstatscollector.cc: Moving from using media stream to tracks.
939
940 2017-03-08  Youenn Fablet  <youenn@apple.com>
941
942         Use H264 hardware encoder for Mac libwebrtc
943         https://bugs.webkit.org/show_bug.cgi?id=169383
944
945         Reviewed by Alex Christensen.
946
947         Switching to H264 hardware encoder if available for Mac.
948         Adding logs in case hardware encoder cannot be used.
949
950         * Configurations/libwebrtc.xcconfig:
951         * Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:
952         (webrtc::H264VideoToolboxEncoder::ResetCompressionSession):
953         (webrtc::H264VideoToolboxEncoder::ConfigureCompressionSession):
954
955 2017-03-07  Youenn Fablet  <youenn@apple.com>
956
957         TurnPort::OnSocketConnect is crashing
958         https://bugs.webkit.org/show_bug.cgi?id=169284
959
960         Reviewed by Eric Carlson.
961
962         * Source/webrtc/p2p/base/turnport.cc: Fixing the assertion.
963
964 2017-03-06  Youenn Fablet  <youenn@apple.com>
965
966         Bring back WebKit specific changes to disable temporarily libwebrtc video adaptation
967         https://bugs.webkit.org/show_bug.cgi?id=169229
968
969         Reviewed by Alex Christensen.
970
971         * Source/webrtc/modules/video_coding/video_sender.cc: disabling frame dropping.
972         * Source/webrtc/video/vie_encoder.cc: disabling resolution decrease based on CPU overuse.
973
974 2017-03-06  Alex Christensen  <achristensen@webkit.org>
975
976         Fix Production libwebrtc build after r213418
977         https://bugs.webkit.org/show_bug.cgi?id=169217
978         <rdar://problem/30876775>
979
980         Reviewed by Tim Horton.
981
982         * Source/webrtc/base/checks.h:
983         * libwebrtc.xcodeproj/project.pbxproj:
984         MakeCheckOpString was a weak export, and it wasn't needed.
985         There is an internal build that checks for weak exports and fails if there is one.
986         Run the check-for-weak-vtables-and-externals script for libwebrtc.dylib like we do for the other frameworks.
987
988 2017-03-04  Dan Bernstein  <mitz@apple.com>
989
990         [Cocoa] libwebrtc.dylib’s current version is fixed at 1.0.0
991         https://bugs.webkit.org/show_bug.cgi?id=169170
992
993         Reviewed by Alex Christensen.
994
995         * Configurations/Version.xcconfig: Copied from Source/JavaScriptCore/Configurations/Version.xcconfig.
996           This defines DYLIB_CURRENT_VERSION.
997         * Configurations/libwebrtc.xcconfig: Include Version.xcconfig.
998
999 2017-03-04  Alex Christensen  <achristensen@webkit.org>
1000
1001         Cleanup after r213418
1002         https://bugs.webkit.org/show_bug.cgi?id=169165
1003
1004         Reviewed by Youenn Fablet.
1005
1006         * WebKit/patch-libwebrtc:
1007         I made another change after the last patch I uploaded to stop crashing.
1008         This should be reflected in our patch.
1009
1010 2017-03-03  Youenn Fablet  <youenn@apple.com>
1011
1012         [WebRTC] Update libwebrtc source code
1013         https://bugs.webkit.org/show_bug.cgi?id=168599
1014
1015         Reviewed by Alex Christensen.
1016
1017         Very long list of file changes omitted.
1018
1019         We updated to git commit 716e726ef0b322e8317b749613691da043bfc61c
1020         of https://chromium.googlesource.com/external/webrtc and applied
1021         the changes that are now in WebKit/patch-libwebrtc
1022
1023 2017-03-03  Alex Christensen  <achristensen@webkit.org>
1024
1025         Remove empty build directories.
1026
1027         * build: Removed.
1028         * build/Debug: Removed.
1029
1030 2017-03-01  Joseph Pecoraro  <pecoraro@apple.com>
1031
1032         [WebRTC] Install libwebrtc.dylib inside of WebCore.framework
1033         https://bugs.webkit.org/show_bug.cgi?id=168859
1034
1035         Reviewed by Dan Bernstein.
1036
1037         * Configurations/Base.xcconfig:
1038         Define some general configuration variables.
1039
1040         * Configurations/DebugRelease.xcconfig:
1041         Define WK_RELOCATABLE_FRAMEWORKS for Debug/Release builds.
1042
1043         * Configurations/libwebrtc.xcconfig:
1044         Set INSTALL_PATH to be inside WebCore.framework's sub-Frameworks directory
1045         unless WK_USE_OVERRIDE_FRAMEWORKS_DIR. Set the install name of the dylib to
1046         be relative to WebCore / WebKit when frameworks are relocatable, such as
1047         WK_USE_OVERRIDE_FRAMEWORKS_DIR or WK_RELOCATABLE_FRAMEWORKS.
1048
1049 2017-02-28  Youenn Fablet  <youenn@apple.com>
1050
1051         [WebRTC] CPU Overuse libwebrtc detector is decreasing the quality of the video
1052         https://bugs.webkit.org/show_bug.cgi?id=168990
1053
1054         Reviewed by Eric Carlson.
1055
1056         * Source/webrtc/video/vie_encoder.cc: Disabling temporarily overuse detector.
1057
1058 2017-02-28  Alex Christensen  <achristensen@webkit.org>
1059
1060         [WebRTC] Fix an internal production build
1061         https://bugs.webkit.org/show_bug.cgi?id=168992
1062
1063         Reviewed by Youenn Fablet.
1064
1065         * libwebrtc.xcodeproj/project.pbxproj:
1066         Link with Foundation and CoreFoundation frameworks.
1067
1068 2017-02-28  Youenn Fablet  <youenn@apple.com>
1069
1070         [WebRTC] LibWebRTC frame dropper is not working consistently
1071         https://bugs.webkit.org/show_bug.cgi?id=168973
1072
1073         Reviewed by Eric Carlson.
1074
1075         * Source/webrtc/modules/video_coding/video_sender.cc: Disable temporarily the frame dropper as it is sometimes
1076         dropping too many frames.
1077
1078 2017-02-27  Youenn Fablet  <youenn@apple.com>
1079
1080         [WebRTC] RealtimOutgoingVideoSource should not need to do image conversion
1081         https://bugs.webkit.org/show_bug.cgi?id=168802
1082
1083         Reviewed by Jon Lee.
1084
1085         Exporting new symbols.
1086         Including headers in the project file.
1087
1088         * Source/webrtc/common_video/include/corevideo_frame_buffer.h:
1089         * Source/webrtc/common_video/include/i420_buffer_pool.h:
1090         * Source/webrtc/common_video/include/video_frame_buffer.h:
1091         * libwebrtc.xcodeproj/project.pbxproj:
1092
1093 2017-02-24  Alex Christensen  <achristensen@webkit.org>
1094
1095         Remove unneeded protobuf tests directory.
1096         
1097         Rubber-stamped by Joe Pecoraro.
1098         
1099         This directory contained a swift file that was causing problems in an internal verification step.
1100
1101         * Source/third_party/protobuf/objectivec/Tests: Removed.
1102         (And everything in this subdirectory)
1103
1104 2017-02-22  Youenn Fablet  <youenn@apple.com>
1105
1106         [WebRTC] Disable libwebrtc stderr logging in release mode
1107         https://bugs.webkit.org/show_bug.cgi?id=168734
1108
1109         Reviewed by Tim Horton.
1110
1111         * Source/webrtc/base/logging.h:
1112
1113 2017-02-21  Youenn Fablet  <youenn@apple.com>
1114
1115         [WebRTC][Mac] Activate libwebrtc
1116         https://bugs.webkit.org/show_bug.cgi?id=167293
1117         <rdar://problem/30401864>
1118
1119         Reviewed by Alex Christensen.
1120
1121         Doing some clean-up.
1122
1123         * Configurations/libwebrtc.xcconfig:
1124         * Source/webrtc/base/checks.h:
1125         * libwebrtc.xcodeproj/project.pbxproj:
1126
1127 2017-02-21  Alex Christensen  <achristensen@webkit.org>
1128
1129         Don't build libwebrtc on 32-bit architectures
1130         https://bugs.webkit.org/show_bug.cgi?id=168692
1131
1132         Reviewed by Dan Bernstein.
1133
1134         * Configurations/Base.xcconfig:
1135
1136 2017-02-21  Youenn Fablet  <youenn@apple.com>
1137
1138         [Xcode] libwebrtc installhdrs doesn’t install any of the headers
1139         https://bugs.webkit.org/show_bug.cgi?id=168634
1140
1141         Reviewed by Alex Christensen.
1142
1143         * Configurations/libwebrtc.xcconfig:
1144         * libwebrtc.xcodeproj/project.pbxproj:
1145
1146 2017-02-21  Alex Christensen  <achristensen@webkit.org>
1147
1148         Unreviewed, rolling out r212699.
1149
1150         Internal build not ready
1151
1152         Reverted changeset:
1153
1154         "[WebRTC][Mac] Activate libwebrtc"
1155         https://bugs.webkit.org/show_bug.cgi?id=167293
1156         http://trac.webkit.org/changeset/212699
1157
1158 2017-02-20  Youenn Fablet  <youenn@apple.com>
1159
1160         [WebRTC][Mac] Activate libwebrtc
1161         https://bugs.webkit.org/show_bug.cgi?id=167293
1162         <rdar://problem/30401864>
1163
1164         Reviewed by Alex Christensen.
1165
1166         Doing some clean-up.
1167
1168         * Configurations/libwebrtc.xcconfig:
1169         * Source/webrtc/base/checks.h:
1170         * libwebrtc.xcodeproj/project.pbxproj:
1171
1172 2017-02-17  Alex Christensen  <achristensen@webkit.org>
1173
1174         Fix iOS ASAN build after r212401
1175         https://bugs.webkit.org/show_bug.cgi?id=168398
1176
1177         * libwebrtc.xcodeproj/project.pbxproj:
1178         libwebrtc.dylib needs some symbols from CFNetwork,
1179         like CFNetworkCopySystemProxySettings
1180
1181 2017-02-16  Youenn Fablet  <youenn@apple.com>
1182
1183         [WebRTC] Fix some missing exports after r212401
1184         https://bugs.webkit.org/show_bug.cgi?id=168449
1185
1186         Reviewed by Alex Christensen.
1187
1188         * Source/webrtc/api/jsep.h:
1189         * Source/webrtc/base/checks.h:
1190
1191 2017-02-15  Alex Christensen  <achristensen@webkit.org>
1192
1193         Fix ASAN build after r212401
1194         https://bugs.webkit.org/show_bug.cgi?id=168398
1195
1196         * Source/webrtc/media/engine/webrtcvideocapturer.cc:
1197         * libwebrtc.xcodeproj/project.pbxproj:
1198
1199 2017-02-15  Alex Christensen  <achristensen@webkit.org>
1200
1201         Make libwebrtc.dylib
1202         https://bugs.webkit.org/show_bug.cgi?id=168335
1203
1204         Reviewed by Dan Bernstein.
1205
1206         We were building libwebrtc as a static library, which would prevent us from weak linking with it.
1207         We need to explicitly export what we use from WebCore or WebKit2, and RTCLogging.mm now needs to
1208         be built on Mac, so we make it not automatically reference counted to make it work on 32-bit El Capitan.
1209
1210         * Configurations/libwebrtc.xcconfig:
1211         * Source/webrtc/api/jsep.h:
1212         * Source/webrtc/api/mediastream.h:
1213         * Source/webrtc/api/notifier.h:
1214         (webrtc::Notifier::Notifier): Deleted.
1215         (webrtc::Notifier::RegisterObserver): Deleted.
1216         (webrtc::Notifier::UnregisterObserver): Deleted.
1217         (webrtc::Notifier::FireOnChanged): Deleted.
1218         * Source/webrtc/api/peerconnectioninterface.h:
1219         * Source/webrtc/base/asyncpacketsocket.h:
1220         * Source/webrtc/base/asyncresolverinterface.h:
1221         (rtc::AsyncResolverInterface::address): Deleted.
1222         * Source/webrtc/base/copyonwritebuffer.h:
1223         (rtc::CopyOnWriteBuffer::CopyOnWriteBuffer): Deleted.
1224         (rtc::CopyOnWriteBuffer::data): Deleted.
1225         (rtc::CopyOnWriteBuffer::cdata): Deleted.
1226         (rtc::CopyOnWriteBuffer::size): Deleted.
1227         (rtc::CopyOnWriteBuffer::capacity): Deleted.
1228         (rtc::CopyOnWriteBuffer::operator=): Deleted.
1229         (rtc::CopyOnWriteBuffer::operator!=): Deleted.
1230         (rtc::CopyOnWriteBuffer::operator[]): Deleted.
1231         (rtc::CopyOnWriteBuffer::SetData): Deleted.
1232         (rtc::CopyOnWriteBuffer::AppendData): Deleted.
1233         (rtc::CopyOnWriteBuffer::swap): Deleted.
1234         (rtc::CopyOnWriteBuffer::IsConsistent): Deleted.
1235         * Source/webrtc/base/event.h:
1236         * Source/webrtc/base/export.h: Added.
1237         * Source/webrtc/base/helpers.h:
1238         * Source/webrtc/base/ipaddress.h:
1239         (rtc::IPAddress::IPAddress): Deleted.
1240         (rtc::IPAddress::~IPAddress): Deleted.
1241         (rtc::IPAddress::operator=): Deleted.
1242         (rtc::IPAddress::family): Deleted.
1243         * Source/webrtc/base/location.h:
1244         (rtc::Location::function_name): Deleted.
1245         (rtc::Location::file_and_line): Deleted.
1246         * Source/webrtc/base/messagehandler.h:
1247         (rtc::MessageHandler::MessageHandler): Deleted.
1248         * Source/webrtc/base/network.h:
1249         (rtc::NetworkManagerBase::ipv6_enabled): Deleted.
1250         (rtc::NetworkManagerBase::set_ipv6_enabled): Deleted.
1251         (rtc::NetworkManagerBase::set_max_ipv6_networks): Deleted.
1252         (rtc::NetworkManagerBase::max_ipv6_networks): Deleted.
1253         (rtc::NetworkManagerBase::set_enumeration_permission): Deleted.
1254         (rtc::BasicNetworkManager::started): Deleted.
1255         (rtc::BasicNetworkManager::set_network_ignore_list): Deleted.
1256         (rtc::BasicNetworkManager::set_ignore_non_default_routes): Deleted.
1257         (rtc::Network::default_local_address_provider): Deleted.
1258         (rtc::Network::set_default_local_address_provider): Deleted.
1259         (rtc::Network::name): Deleted.
1260         (rtc::Network::description): Deleted.
1261         (rtc::Network::prefix): Deleted.
1262         (rtc::Network::prefix_length): Deleted.
1263         (rtc::Network::key): Deleted.
1264         (rtc::Network::ip): Deleted.
1265         (rtc::Network::AddIP): Deleted.
1266         (rtc::Network::GetIPs): Deleted.
1267         (rtc::Network::ClearIPs): Deleted.
1268         (rtc::Network::scope_id): Deleted.
1269         (rtc::Network::set_scope_id): Deleted.
1270         (rtc::Network::ignored): Deleted.
1271         (rtc::Network::set_ignored): Deleted.
1272         (rtc::Network::type): Deleted.
1273         (rtc::Network::set_type): Deleted.
1274         (rtc::Network::GetCost): Deleted.
1275         (rtc::Network::id): Deleted.
1276         (rtc::Network::set_id): Deleted.
1277         (rtc::Network::preference): Deleted.
1278         (rtc::Network::set_preference): Deleted.
1279         (rtc::Network::active): Deleted.
1280         (rtc::Network::set_active): Deleted.
1281         * Source/webrtc/base/proxyinfo.h:
1282         * Source/webrtc/base/refcountedobject.h:
1283         (rtc::RefCountedObject::RefCountedObject): Deleted.
1284         (rtc::RefCountedObject::AddRef): Deleted.
1285         (rtc::RefCountedObject::Release): Deleted.
1286         (rtc::RefCountedObject::HasOneRef): Deleted.
1287         (rtc::RefCountedObject::~RefCountedObject): Deleted.
1288         * Source/webrtc/base/socketaddress.h:
1289         (rtc::SocketAddress::hostname): Deleted.
1290         (rtc::SocketAddress::family): Deleted.
1291         (rtc::SocketAddress::scope_id): Deleted.
1292         (rtc::SocketAddress::SetScopeID): Deleted.
1293         (rtc::SocketAddress::operator !=): Deleted.
1294         * Source/webrtc/base/thread.h:
1295         * Source/webrtc/common_types.h:
1296         * Source/webrtc/common_video/include/video_frame_buffer.h:
1297         (webrtc::I420Buffer::Copy): Deleted.
1298         (webrtc::I420Buffer::CropAndScaleFrom): Deleted.
1299         (webrtc::I420Buffer::ScaleFrom): Deleted.
1300         * Source/webrtc/common_video/libyuv/include/webrtc_libyuv.h:
1301         * Source/webrtc/p2p/base/basicpacketsocketfactory.h:
1302         * Source/webrtc/p2p/client/basicportallocator.h:
1303         (cricket::BasicPortAllocator::network_ignore_mask): Deleted.
1304         (cricket::BasicPortAllocator::network_manager): Deleted.
1305         (cricket::BasicPortAllocator::socket_factory): Deleted.
1306         * Source/webrtc/sdk/objc/Framework/Classes/RTCLogging.mm:
1307         (RTCFileName):
1308         * Source/webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.h:
1309         * Source/webrtc/video_frame.h:
1310         (webrtc::VideoFrame::timestamp_us): Deleted.
1311         (webrtc::VideoFrame::set_timestamp_us): Deleted.
1312         (webrtc::VideoFrame::set_timestamp): Deleted.
1313         (webrtc::VideoFrame::timestamp): Deleted.
1314         (webrtc::VideoFrame::transport_frame_id): Deleted.
1315         (webrtc::VideoFrame::set_ntp_time_ms): Deleted.
1316         (webrtc::VideoFrame::ntp_time_ms): Deleted.
1317         (webrtc::VideoFrame::rotation): Deleted.
1318         (webrtc::VideoFrame::set_rotation): Deleted.
1319         (webrtc::VideoFrame::set_render_time_ms): Deleted.
1320         (webrtc::VideoFrame::render_time_ms): Deleted.
1321         (webrtc::VideoFrame::is_texture): Deleted.
1322         * build: Added.
1323         * build/Debug: Added.
1324         * libwebrtc.xcodeproj/project.pbxproj:
1325
1326 2017-02-15  Youenn Fablet  <youenn@apple.com>
1327
1328         [WebRTC] Remove libwebrtc ObjectiveC files that use UIKit
1329         https://bugs.webkit.org/show_bug.cgi?id=168392
1330
1331         Reviewed by Alex Christensen.
1332
1333         Removing default AudioDeviceModule as WebKit is providing its own.
1334         Removing checks for active application in H264 codec as WebKit should be made responsible for that.
1335         Removing no longer needed ObjectiveC files.
1336
1337         * Configurations/libwebrtc.xcconfig:
1338         * Configurations/libwebrtcpcrtc.xcconfig:
1339         * Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_decoder.cc:
1340         * Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:
1341         (webrtc::H264VideoToolboxEncoder::Encode):
1342         * libwebrtc.xcodeproj/project.pbxproj:
1343
1344 2017-02-14  Ryan Haddad  <ryanhaddad@apple.com>
1345
1346         Unreviewed, rolling out r212326.
1347
1348         This change broke certain build configurations.
1349
1350         Reverted changeset:
1351
1352         "Make libwebrtc.dylib"
1353         https://bugs.webkit.org/show_bug.cgi?id=168335
1354         http://trac.webkit.org/changeset/212326
1355
1356 2017-02-14  Alex Christensen  <achristensen@webkit.org>
1357
1358         Make libwebrtc.dylib
1359         https://bugs.webkit.org/show_bug.cgi?id=168335
1360
1361         Reviewed by Dan Bernstein.
1362
1363         We were building libwebrtc as a static library, which would prevent us from weak linking with it.
1364         We need to explicitly export what we use from WebCore or WebKit2, and RTCLogging.mm now needs to
1365         be built on Mac, so we make it not automatically reference counted to make it work on 32-bit El Capitan.
1366
1367         * Configurations/libwebrtc.xcconfig:
1368         * Source/webrtc/api/jsep.h:
1369         * Source/webrtc/api/mediastream.h:
1370         * Source/webrtc/api/notifier.h:
1371         (webrtc::Notifier::Notifier): Deleted.
1372         (webrtc::Notifier::RegisterObserver): Deleted.
1373         (webrtc::Notifier::UnregisterObserver): Deleted.
1374         (webrtc::Notifier::FireOnChanged): Deleted.
1375         * Source/webrtc/api/peerconnectioninterface.h:
1376         * Source/webrtc/base/asyncpacketsocket.h:
1377         * Source/webrtc/base/asyncresolverinterface.h:
1378         (rtc::AsyncResolverInterface::address): Deleted.
1379         * Source/webrtc/base/copyonwritebuffer.h:
1380         (rtc::CopyOnWriteBuffer::CopyOnWriteBuffer): Deleted.
1381         (rtc::CopyOnWriteBuffer::data): Deleted.
1382         (rtc::CopyOnWriteBuffer::cdata): Deleted.
1383         (rtc::CopyOnWriteBuffer::size): Deleted.
1384         (rtc::CopyOnWriteBuffer::capacity): Deleted.
1385         (rtc::CopyOnWriteBuffer::operator=): Deleted.
1386         (rtc::CopyOnWriteBuffer::operator!=): Deleted.
1387         (rtc::CopyOnWriteBuffer::operator[]): Deleted.
1388         (rtc::CopyOnWriteBuffer::SetData): Deleted.
1389         (rtc::CopyOnWriteBuffer::AppendData): Deleted.
1390         (rtc::CopyOnWriteBuffer::swap): Deleted.
1391         (rtc::CopyOnWriteBuffer::IsConsistent): Deleted.
1392         * Source/webrtc/base/event.h:
1393         * Source/webrtc/base/export.h: Added.
1394         * Source/webrtc/base/helpers.h:
1395         * Source/webrtc/base/ipaddress.h:
1396         (rtc::IPAddress::IPAddress): Deleted.
1397         (rtc::IPAddress::~IPAddress): Deleted.
1398         (rtc::IPAddress::operator=): Deleted.
1399         (rtc::IPAddress::family): Deleted.
1400         * Source/webrtc/base/location.h:
1401         (rtc::Location::function_name): Deleted.
1402         (rtc::Location::file_and_line): Deleted.
1403         * Source/webrtc/base/messagehandler.h:
1404         (rtc::MessageHandler::MessageHandler): Deleted.
1405         * Source/webrtc/base/network.h:
1406         (rtc::NetworkManagerBase::ipv6_enabled): Deleted.
1407         (rtc::NetworkManagerBase::set_ipv6_enabled): Deleted.
1408         (rtc::NetworkManagerBase::set_max_ipv6_networks): Deleted.
1409         (rtc::NetworkManagerBase::max_ipv6_networks): Deleted.
1410         (rtc::NetworkManagerBase::set_enumeration_permission): Deleted.
1411         (rtc::BasicNetworkManager::started): Deleted.
1412         (rtc::BasicNetworkManager::set_network_ignore_list): Deleted.
1413         (rtc::BasicNetworkManager::set_ignore_non_default_routes): Deleted.
1414         (rtc::Network::default_local_address_provider): Deleted.
1415         (rtc::Network::set_default_local_address_provider): Deleted.
1416         (rtc::Network::name): Deleted.
1417         (rtc::Network::description): Deleted.
1418         (rtc::Network::prefix): Deleted.
1419         (rtc::Network::prefix_length): Deleted.
1420         (rtc::Network::key): Deleted.
1421         (rtc::Network::ip): Deleted.
1422         (rtc::Network::AddIP): Deleted.
1423         (rtc::Network::GetIPs): Deleted.
1424         (rtc::Network::ClearIPs): Deleted.
1425         (rtc::Network::scope_id): Deleted.
1426         (rtc::Network::set_scope_id): Deleted.
1427         (rtc::Network::ignored): Deleted.
1428         (rtc::Network::set_ignored): Deleted.
1429         (rtc::Network::type): Deleted.
1430         (rtc::Network::set_type): Deleted.
1431         (rtc::Network::GetCost): Deleted.
1432         (rtc::Network::id): Deleted.
1433         (rtc::Network::set_id): Deleted.
1434         (rtc::Network::preference): Deleted.
1435         (rtc::Network::set_preference): Deleted.
1436         (rtc::Network::active): Deleted.
1437         (rtc::Network::set_active): Deleted.
1438         * Source/webrtc/base/proxyinfo.h:
1439         * Source/webrtc/base/refcountedobject.h:
1440         (rtc::RefCountedObject::RefCountedObject): Deleted.
1441         (rtc::RefCountedObject::AddRef): Deleted.
1442         (rtc::RefCountedObject::Release): Deleted.
1443         (rtc::RefCountedObject::HasOneRef): Deleted.
1444         (rtc::RefCountedObject::~RefCountedObject): Deleted.
1445         * Source/webrtc/base/socketaddress.h:
1446         (rtc::SocketAddress::hostname): Deleted.
1447         (rtc::SocketAddress::family): Deleted.
1448         (rtc::SocketAddress::scope_id): Deleted.
1449         (rtc::SocketAddress::SetScopeID): Deleted.
1450         (rtc::SocketAddress::operator !=): Deleted.
1451         * Source/webrtc/base/thread.h:
1452         * Source/webrtc/common_types.h:
1453         * Source/webrtc/common_video/include/video_frame_buffer.h:
1454         (webrtc::I420Buffer::Copy): Deleted.
1455         (webrtc::I420Buffer::CropAndScaleFrom): Deleted.
1456         (webrtc::I420Buffer::ScaleFrom): Deleted.
1457         * Source/webrtc/common_video/libyuv/include/webrtc_libyuv.h:
1458         * Source/webrtc/p2p/base/basicpacketsocketfactory.h:
1459         * Source/webrtc/p2p/client/basicportallocator.h:
1460         (cricket::BasicPortAllocator::network_ignore_mask): Deleted.
1461         (cricket::BasicPortAllocator::network_manager): Deleted.
1462         (cricket::BasicPortAllocator::socket_factory): Deleted.
1463         * Source/webrtc/sdk/objc/Framework/Classes/RTCLogging.mm:
1464         (RTCFileName):
1465         * Source/webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.h:
1466         * Source/webrtc/video_frame.h:
1467         (webrtc::VideoFrame::timestamp_us): Deleted.
1468         (webrtc::VideoFrame::set_timestamp_us): Deleted.
1469         (webrtc::VideoFrame::set_timestamp): Deleted.
1470         (webrtc::VideoFrame::timestamp): Deleted.
1471         (webrtc::VideoFrame::transport_frame_id): Deleted.
1472         (webrtc::VideoFrame::set_ntp_time_ms): Deleted.
1473         (webrtc::VideoFrame::ntp_time_ms): Deleted.
1474         (webrtc::VideoFrame::rotation): Deleted.
1475         (webrtc::VideoFrame::set_rotation): Deleted.
1476         (webrtc::VideoFrame::set_render_time_ms): Deleted.
1477         (webrtc::VideoFrame::render_time_ms): Deleted.
1478         (webrtc::VideoFrame::is_texture): Deleted.
1479         * build: Added.
1480         * build/Debug: Added.
1481         * libwebrtc.xcodeproj/project.pbxproj:
1482
1483 2017-02-14  Alex Christensen  <achristensen@webkit.org>
1484
1485         Remove android-specific files from ThirdParty/libwebrtc
1486         https://bugs.webkit.org/show_bug.cgi?id=168272
1487
1488         Reviewed by Brady Eidson.
1489
1490         * Source/third_party/boringssl/src/third_party/android-cmake: Removed.
1491         * Source/third_party/boringssl/src/third_party/android-cmake/AndroidNdkGdb.cmake: Removed.
1492         * Source/third_party/boringssl/src/third_party/android-cmake/AndroidNdkModules.cmake: Removed.
1493         * Source/third_party/boringssl/src/third_party/android-cmake/LICENSE: Removed.
1494         * Source/third_party/boringssl/src/third_party/android-cmake/METADATA: Removed.
1495         * Source/third_party/boringssl/src/third_party/android-cmake/README.md: Removed.
1496         * Source/third_party/boringssl/src/third_party/android-cmake/android.toolchain.cmake: Removed.
1497         * Source/third_party/boringssl/src/third_party/android-cmake/ndk_links.md: Removed.
1498         * Source/third_party/boringssl/src/util/run_android_tests.go: Removed.
1499         * Source/third_party/libyuv/util/android: Removed.
1500         * Source/third_party/libyuv/util/android/test_runner.py: Removed.
1501         * Source/webrtc/androidjunit: Removed.
1502         * Source/webrtc/androidjunit/OWNERS: Removed.
1503         * Source/webrtc/androidjunit/src: Removed.
1504         * Source/webrtc/androidjunit/src/org: Removed.
1505         * Source/webrtc/androidjunit/src/org/webrtc: Removed.
1506         * Source/webrtc/androidjunit/src/org/webrtc/CameraEnumerationTest.java: Removed.
1507         * Source/webrtc/api/android: Removed.
1508         * Source/webrtc/api/android/PRESUBMIT.py: Removed.
1509         * Source/webrtc/api/android/README: Removed.
1510         * Source/webrtc/api/android/java: Removed.
1511         * Source/webrtc/api/android/java/src: Removed.
1512         * Source/webrtc/api/android/java/src/org: Removed.
1513         * Source/webrtc/api/android/java/src/org/webrtc: Removed.
1514         * Source/webrtc/api/android/java/src/org/webrtc/AudioSource.java: Removed.
1515         * Source/webrtc/api/android/java/src/org/webrtc/AudioTrack.java: Removed.
1516         * Source/webrtc/api/android/java/src/org/webrtc/CallSessionFileRotatingLogSink.java: Removed.
1517         * Source/webrtc/api/android/java/src/org/webrtc/Camera1Capturer.java: Removed.
1518         * Source/webrtc/api/android/java/src/org/webrtc/Camera1Enumerator.java: Removed.
1519         * Source/webrtc/api/android/java/src/org/webrtc/Camera1Session.java: Removed.
1520         * Source/webrtc/api/android/java/src/org/webrtc/Camera2Capturer.java: Removed.
1521         * Source/webrtc/api/android/java/src/org/webrtc/Camera2Enumerator.java: Removed.
1522         * Source/webrtc/api/android/java/src/org/webrtc/Camera2Session.java: Removed.
1523         * Source/webrtc/api/android/java/src/org/webrtc/CameraCapturer.java: Removed.
1524         * Source/webrtc/api/android/java/src/org/webrtc/CameraEnumerationAndroid.java: Removed.
1525         * Source/webrtc/api/android/java/src/org/webrtc/CameraEnumerator.java: Removed.
1526         * Source/webrtc/api/android/java/src/org/webrtc/CameraSession.java: Removed.
1527         * Source/webrtc/api/android/java/src/org/webrtc/CameraVideoCapturer.java: Removed.
1528         * Source/webrtc/api/android/java/src/org/webrtc/DataChannel.java: Removed.
1529         * Source/webrtc/api/android/java/src/org/webrtc/EglBase.java: Removed.
1530         * Source/webrtc/api/android/java/src/org/webrtc/EglBase10.java: Removed.
1531         * Source/webrtc/api/android/java/src/org/webrtc/EglBase14.java: Removed.
1532         * Source/webrtc/api/android/java/src/org/webrtc/EglRenderer.java: Removed.
1533         * Source/webrtc/api/android/java/src/org/webrtc/FileVideoCapturer.java: Removed.
1534         * Source/webrtc/api/android/java/src/org/webrtc/GlRectDrawer.java: Removed.
1535         * Source/webrtc/api/android/java/src/org/webrtc/GlShader.java: Removed.
1536         * Source/webrtc/api/android/java/src/org/webrtc/GlTextureFrameBuffer.java: Removed.
1537         * Source/webrtc/api/android/java/src/org/webrtc/GlUtil.java: Removed.
1538         * Source/webrtc/api/android/java/src/org/webrtc/IceCandidate.java: Removed.
1539         * Source/webrtc/api/android/java/src/org/webrtc/MediaCodecVideoDecoder.java: Removed.
1540         * Source/webrtc/api/android/java/src/org/webrtc/MediaCodecVideoEncoder.java: Removed.
1541         * Source/webrtc/api/android/java/src/org/webrtc/MediaConstraints.java: Removed.
1542         * Source/webrtc/api/android/java/src/org/webrtc/MediaSource.java: Removed.
1543         * Source/webrtc/api/android/java/src/org/webrtc/MediaStream.java: Removed.
1544         * Source/webrtc/api/android/java/src/org/webrtc/MediaStreamTrack.java: Removed.
1545         * Source/webrtc/api/android/java/src/org/webrtc/Metrics.java: Removed.
1546         * Source/webrtc/api/android/java/src/org/webrtc/NetworkMonitor.java: Removed.
1547         * Source/webrtc/api/android/java/src/org/webrtc/NetworkMonitorAutoDetect.java: Removed.
1548         * Source/webrtc/api/android/java/src/org/webrtc/OWNERS: Removed.
1549         * Source/webrtc/api/android/java/src/org/webrtc/PeerConnection.java: Removed.
1550         * Source/webrtc/api/android/java/src/org/webrtc/PeerConnectionFactory.java: Removed.
1551         * Source/webrtc/api/android/java/src/org/webrtc/RendererCommon.java: Removed.
1552         * Source/webrtc/api/android/java/src/org/webrtc/RtpParameters.java: Removed.
1553         * Source/webrtc/api/android/java/src/org/webrtc/RtpReceiver.java: Removed.
1554         * Source/webrtc/api/android/java/src/org/webrtc/RtpSender.java: Removed.
1555         * Source/webrtc/api/android/java/src/org/webrtc/ScreenCapturerAndroid.java: Removed.
1556         * Source/webrtc/api/android/java/src/org/webrtc/SdpObserver.java: Removed.
1557         * Source/webrtc/api/android/java/src/org/webrtc/SessionDescription.java: Removed.
1558         * Source/webrtc/api/android/java/src/org/webrtc/StatsObserver.java: Removed.
1559         * Source/webrtc/api/android/java/src/org/webrtc/StatsReport.java: Removed.
1560         * Source/webrtc/api/android/java/src/org/webrtc/SurfaceTextureHelper.java: Removed.
1561         * Source/webrtc/api/android/java/src/org/webrtc/SurfaceViewRenderer.java: Removed.
1562         * Source/webrtc/api/android/java/src/org/webrtc/VideoCapturer.java: Removed.
1563         * Source/webrtc/api/android/java/src/org/webrtc/VideoCapturerAndroid.java: Removed.
1564         * Source/webrtc/api/android/java/src/org/webrtc/VideoFileRenderer.java: Removed.
1565         * Source/webrtc/api/android/java/src/org/webrtc/VideoRenderer.java: Removed.
1566         * Source/webrtc/api/android/java/src/org/webrtc/VideoRendererGui.java: Removed.
1567         * Source/webrtc/api/android/java/src/org/webrtc/VideoSource.java: Removed.
1568         * Source/webrtc/api/android/java/src/org/webrtc/VideoTrack.java: Removed.
1569         * Source/webrtc/api/android/java/src/org/webrtc/YuvConverter.java: Removed.
1570         * Source/webrtc/api/android/jni: Removed.
1571         * Source/webrtc/api/android/jni/OWNERS: Removed.
1572         * Source/webrtc/api/android/jni/androidmediacodeccommon.h: Removed.
1573         * Source/webrtc/api/android/jni/androidmediadecoder_jni.cc: Removed.
1574         * Source/webrtc/api/android/jni/androidmediadecoder_jni.h: Removed.
1575         * Source/webrtc/api/android/jni/androidmediaencoder_jni.cc: Removed.
1576         * Source/webrtc/api/android/jni/androidmediaencoder_jni.h: Removed.
1577         * Source/webrtc/api/android/jni/androidmetrics_jni.cc: Removed.
1578         * Source/webrtc/api/android/jni/androidnetworkmonitor_jni.cc: Removed.
1579         * Source/webrtc/api/android/jni/androidnetworkmonitor_jni.h: Removed.
1580         * Source/webrtc/api/android/jni/androidvideotracksource_jni.cc: Removed.
1581         * Source/webrtc/api/android/jni/classreferenceholder.cc: Removed.
1582         * Source/webrtc/api/android/jni/classreferenceholder.h: Removed.
1583         * Source/webrtc/api/android/jni/jni_helpers.cc: Removed.
1584         * Source/webrtc/api/android/jni/jni_helpers.h: Removed.
1585         * Source/webrtc/api/android/jni/jni_onload.cc: Removed.
1586         * Source/webrtc/api/android/jni/native_handle_impl.cc: Removed.
1587         * Source/webrtc/api/android/jni/native_handle_impl.h: Removed.
1588         * Source/webrtc/api/android/jni/peerconnection_jni.cc: Removed.
1589         * Source/webrtc/api/android/jni/surfacetexturehelper_jni.cc: Removed.
1590         * Source/webrtc/api/android/jni/surfacetexturehelper_jni.h: Removed.
1591         * Source/webrtc/api/androidtests: Removed.
1592         * Source/webrtc/api/androidtests/AndroidManifest.xml: Removed.
1593         * Source/webrtc/api/androidtests/OWNERS: Removed.
1594         * Source/webrtc/api/androidtests/ant.properties: Removed.
1595         * Source/webrtc/api/androidtests/build.xml: Removed.
1596         * Source/webrtc/api/androidtests/project.properties: Removed.
1597         * Source/webrtc/api/androidtests/res: Removed.
1598         * Source/webrtc/api/androidtests/res/drawable-hdpi: Removed.
1599         * Source/webrtc/api/androidtests/res/drawable-hdpi/ic_launcher.png: Removed.
1600         * Source/webrtc/api/androidtests/res/drawable-ldpi: Removed.
1601         * Source/webrtc/api/androidtests/res/drawable-ldpi/ic_launcher.png: Removed.
1602         * Source/webrtc/api/androidtests/res/drawable-mdpi: Removed.
1603         * Source/webrtc/api/androidtests/res/drawable-mdpi/ic_launcher.png: Removed.
1604         * Source/webrtc/api/androidtests/res/drawable-xhdpi: Removed.
1605         * Source/webrtc/api/androidtests/res/drawable-xhdpi/ic_launcher.png: Removed.
1606         * Source/webrtc/api/androidtests/res/values: Removed.
1607         * Source/webrtc/api/androidtests/res/values/strings.xml: Removed.
1608         * Source/webrtc/api/androidtests/src: Removed.
1609         * Source/webrtc/api/androidtests/src/org: Removed.
1610         * Source/webrtc/api/androidtests/src/org/webrtc: Removed.
1611         * Source/webrtc/api/androidtests/src/org/webrtc/Camera1CapturerUsingByteBufferTest.java: Removed.
1612         * Source/webrtc/api/androidtests/src/org/webrtc/Camera1CapturerUsingTextureTest.java: Removed.
1613         * Source/webrtc/api/androidtests/src/org/webrtc/Camera2CapturerTest.java: Removed.
1614         * Source/webrtc/api/androidtests/src/org/webrtc/CameraVideoCapturerTestFixtures.java: Removed.
1615         * Source/webrtc/api/androidtests/src/org/webrtc/EglRendererTest.java: Removed.
1616         * Source/webrtc/api/androidtests/src/org/webrtc/GlRectDrawerTest.java: Removed.
1617         * Source/webrtc/api/androidtests/src/org/webrtc/MediaCodecVideoEncoderTest.java: Removed.
1618         * Source/webrtc/api/androidtests/src/org/webrtc/NetworkMonitorTest.java: Removed.
1619         * Source/webrtc/api/androidtests/src/org/webrtc/PeerConnectionTest.java: Removed.
1620         * Source/webrtc/api/androidtests/src/org/webrtc/RendererCommonTest.java: Removed.
1621         * Source/webrtc/api/androidtests/src/org/webrtc/SurfaceTextureHelperTest.java: Removed.
1622         * Source/webrtc/api/androidtests/src/org/webrtc/SurfaceViewRendererOnMeasureTest.java: Removed.
1623         * Source/webrtc/api/androidtests/src/org/webrtc/WebRtcJniBootTest.java: Removed.
1624         * Source/webrtc/api/androidvideotracksource.cc: Removed.
1625         * Source/webrtc/api/androidvideotracksource.h: Removed.
1626         * Source/webrtc/api/test/androidtestinitializer.cc: Removed.
1627         * Source/webrtc/api/test/androidtestinitializer.h: Removed.
1628         * Source/webrtc/base/ifaddrs-android.cc: Removed.
1629         * Source/webrtc/base/ifaddrs-android.h: Removed.
1630         * Source/webrtc/build/android: Removed.
1631         * Source/webrtc/build/android/AndroidManifest.xml: Removed.
1632         * Source/webrtc/build/android/suppressions.xml: Removed.
1633         * Source/webrtc/build/android/test_runner.py: Removed.
1634         * Source/webrtc/examples/androidapp: Removed.
1635         * Source/webrtc/examples/androidapp/AndroidManifest.xml: Removed.
1636         * Source/webrtc/examples/androidapp/OWNERS: Removed.
1637         * Source/webrtc/examples/androidapp/README: Removed.
1638         * Source/webrtc/examples/androidapp/ant.properties: Removed.
1639         * Source/webrtc/examples/androidapp/build.xml: Removed.
1640         * Source/webrtc/examples/androidapp/project.properties: Removed.
1641         * Source/webrtc/examples/androidapp/res: Removed.
1642         * Source/webrtc/examples/androidapp/res/drawable-hdpi: Removed.
1643         * Source/webrtc/examples/androidapp/res/drawable-hdpi/disconnect.png: Removed.
1644         * Source/webrtc/examples/androidapp/res/drawable-hdpi/ic_action_full_screen.png: Removed.
1645         * Source/webrtc/examples/androidapp/res/drawable-hdpi/ic_action_return_from_full_screen.png: Removed.
1646         * Source/webrtc/examples/androidapp/res/drawable-hdpi/ic_launcher.png: Removed.
1647         * Source/webrtc/examples/androidapp/res/drawable-hdpi/ic_loopback_call.png: Removed.
1648         * Source/webrtc/examples/androidapp/res/drawable-ldpi: Removed.
1649         * Source/webrtc/examples/androidapp/res/drawable-ldpi/disconnect.png: Removed.
1650         * Source/webrtc/examples/androidapp/res/drawable-ldpi/ic_action_full_screen.png: Removed.
1651         * Source/webrtc/examples/androidapp/res/drawable-ldpi/ic_action_return_from_full_screen.png: Removed.
1652         * Source/webrtc/examples/androidapp/res/drawable-ldpi/ic_launcher.png: Removed.
1653         * Source/webrtc/examples/androidapp/res/drawable-ldpi/ic_loopback_call.png: Removed.
1654         * Source/webrtc/examples/androidapp/res/drawable-mdpi: Removed.
1655         * Source/webrtc/examples/androidapp/res/drawable-mdpi/disconnect.png: Removed.
1656         * Source/webrtc/examples/androidapp/res/drawable-mdpi/ic_action_full_screen.png: Removed.
1657         * Source/webrtc/examples/androidapp/res/drawable-mdpi/ic_action_return_from_full_screen.png: Removed.
1658         * Source/webrtc/examples/androidapp/res/drawable-mdpi/ic_launcher.png: Removed.
1659         * Source/webrtc/examples/androidapp/res/drawable-mdpi/ic_loopback_call.png: Removed.
1660         * Source/webrtc/examples/androidapp/res/drawable-xhdpi: Removed.
1661         * Source/webrtc/examples/androidapp/res/drawable-xhdpi/disconnect.png: Removed.
1662         * Source/webrtc/examples/androidapp/res/drawable-xhdpi/ic_action_full_screen.png: Removed.
1663         * Source/webrtc/examples/androidapp/res/drawable-xhdpi/ic_action_return_from_full_screen.png: Removed.
1664         * Source/webrtc/examples/androidapp/res/drawable-xhdpi/ic_launcher.png: Removed.
1665         * Source/webrtc/examples/androidapp/res/drawable-xhdpi/ic_loopback_call.png: Removed.
1666         * Source/webrtc/examples/androidapp/res/layout: Removed.
1667         * Source/webrtc/examples/androidapp/res/layout/activity_call.xml: Removed.
1668         * Source/webrtc/examples/androidapp/res/layout/activity_connect.xml: Removed.
1669         * Source/webrtc/examples/androidapp/res/layout/fragment_call.xml: Removed.
1670         * Source/webrtc/examples/androidapp/res/layout/fragment_hud.xml: Removed.
1671         * Source/webrtc/examples/androidapp/res/menu: Removed.
1672         * Source/webrtc/examples/androidapp/res/menu/connect_menu.xml: Removed.
1673         * Source/webrtc/examples/androidapp/res/values: Removed.
1674         * Source/webrtc/examples/androidapp/res/values-v17: Removed.
1675         * Source/webrtc/examples/androidapp/res/values-v17/styles.xml: Removed.
1676         * Source/webrtc/examples/androidapp/res/values-v21: Removed.
1677         * Source/webrtc/examples/androidapp/res/values-v21/styles.xml: Removed.
1678         * Source/webrtc/examples/androidapp/res/values/arrays.xml: Removed.
1679         * Source/webrtc/examples/androidapp/res/values/strings.xml: Removed.
1680         * Source/webrtc/examples/androidapp/res/xml: Removed.
1681         * Source/webrtc/examples/androidapp/res/xml/preferences.xml: Removed.
1682         * Source/webrtc/examples/androidapp/src: Removed.
1683         * Source/webrtc/examples/androidapp/src/org: Removed.
1684         * Source/webrtc/examples/androidapp/src/org/appspot: Removed.
1685         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc: Removed.
1686         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/AppRTCAudioManager.java: Removed.
1687         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/AppRTCClient.java: Removed.
1688         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/AppRTCProximitySensor.java: Removed.
1689         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java: Removed.
1690         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/CallFragment.java: Removed.
1691         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/CaptureQualityController.java: Removed.
1692         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/ConnectActivity.java: Removed.
1693         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/CpuMonitor.java: Removed.
1694         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/DirectRTCClient.java: Removed.
1695         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/HudFragment.java: Removed.
1696         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java: Removed.
1697         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/PercentFrameLayout.java: Removed.
1698         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/RoomParametersFetcher.java: Removed.
1699         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/SettingsActivity.java: Removed.
1700         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/SettingsFragment.java: Removed.
1701         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/TCPChannelClient.java: Removed.
1702         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/UnhandledExceptionHandler.java: Removed.
1703         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/WebSocketChannelClient.java: Removed.
1704         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/WebSocketRTCClient.java: Removed.
1705         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/util: Removed.
1706         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/util/AppRTCUtils.java: Removed.
1707         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/util/AsyncHttpURLConnection.java: Removed.
1708         * Source/webrtc/examples/androidapp/start_loopback_stubbed_camera_saved_video_out.py: Removed.
1709         * Source/webrtc/examples/androidapp/third_party: Removed.
1710         * Source/webrtc/examples/androidapp/third_party/autobanh: Removed.
1711         * Source/webrtc/examples/androidapp/third_party/autobanh/BUILD.gn: Removed.
1712         * Source/webrtc/examples/androidapp/third_party/autobanh/LICENSE: Removed.
1713         * Source/webrtc/examples/androidapp/third_party/autobanh/LICENSE.md: Removed.
1714         * Source/webrtc/examples/androidapp/third_party/autobanh/NOTICE: Removed.
1715         * Source/webrtc/examples/androidapp/third_party/autobanh/lib: Removed.
1716         * Source/webrtc/examples/androidapp/third_party/autobanh/lib/autobanh.jar: Removed.
1717         * Source/webrtc/examples/androidjunit: Removed.
1718         * Source/webrtc/examples/androidjunit/README: Removed.
1719         * Source/webrtc/examples/androidjunit/src: Removed.
1720         * Source/webrtc/examples/androidjunit/src/org: Removed.
1721         * Source/webrtc/examples/androidjunit/src/org/appspot: Removed.
1722         * Source/webrtc/examples/androidjunit/src/org/appspot/apprtc: Removed.
1723         * Source/webrtc/examples/androidjunit/src/org/appspot/apprtc/DirectRTCClientTest.java: Removed.
1724         * Source/webrtc/examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java: Removed.
1725         * Source/webrtc/examples/androidtests: Removed.
1726         * Source/webrtc/examples/androidtests/AndroidManifest.xml: Removed.
1727         * Source/webrtc/examples/androidtests/README: Removed.
1728         * Source/webrtc/examples/androidtests/ant.properties: Removed.
1729         * Source/webrtc/examples/androidtests/build.xml: Removed.
1730         * Source/webrtc/examples/androidtests/project.properties: Removed.
1731         * Source/webrtc/examples/androidtests/src: Removed.
1732         * Source/webrtc/examples/androidtests/src/org: Removed.
1733         * Source/webrtc/examples/androidtests/src/org/appspot: Removed.
1734         * Source/webrtc/examples/androidtests/src/org/appspot/apprtc: Removed.
1735         * Source/webrtc/examples/androidtests/src/org/appspot/apprtc/test: Removed.
1736         * Source/webrtc/examples/androidtests/src/org/appspot/apprtc/test/FileVideoCapturerTest.java: Removed.
1737         * Source/webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java: Removed.
1738         * Source/webrtc/examples/androidtests/src/org/appspot/apprtc/test/VideoFileRendererTest.java: Removed.
1739         * Source/webrtc/examples/androidtests/src/org/appspot/apprtc/test/capturetestvideo.y4m: Removed.
1740         * Source/webrtc/modules/audio_device/android: Removed.
1741         * Source/webrtc/modules/audio_device/android/audio_common.h: Removed.
1742         * Source/webrtc/modules/audio_device/android/audio_device_template.h: Removed.
1743         * Source/webrtc/modules/audio_device/android/audio_device_unittest.cc: Removed.
1744         * Source/webrtc/modules/audio_device/android/audio_manager.cc: Removed.
1745         * Source/webrtc/modules/audio_device/android/audio_manager.h: Removed.
1746         * Source/webrtc/modules/audio_device/android/audio_manager_unittest.cc: Removed.
1747         * Source/webrtc/modules/audio_device/android/audio_record_jni.cc: Removed.
1748         * Source/webrtc/modules/audio_device/android/audio_record_jni.h: Removed.
1749         * Source/webrtc/modules/audio_device/android/audio_track_jni.cc: Removed.
1750         * Source/webrtc/modules/audio_device/android/audio_track_jni.h: Removed.
1751         * Source/webrtc/modules/audio_device/android/build_info.cc: Removed.
1752         * Source/webrtc/modules/audio_device/android/build_info.h: Removed.
1753         * Source/webrtc/modules/audio_device/android/ensure_initialized.cc: Removed.
1754         * Source/webrtc/modules/audio_device/android/ensure_initialized.h: Removed.
1755         * Source/webrtc/modules/audio_device/android/java: Removed.
1756         * Source/webrtc/modules/audio_device/android/java/src: Removed.
1757         * Source/webrtc/modules/audio_device/android/java/src/org: Removed.
1758         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc: Removed.
1759         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine: Removed.
1760         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/BuildInfo.java: Removed.
1761         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java: Removed.
1762         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java: Removed.
1763         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java: Removed.
1764         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java: Removed.
1765         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java: Removed.
1766         * Source/webrtc/modules/audio_device/android/opensles_common.cc: Removed.
1767         * Source/webrtc/modules/audio_device/android/opensles_common.h: Removed.
1768         * Source/webrtc/modules/audio_device/android/opensles_player.cc: Removed.
1769         * Source/webrtc/modules/audio_device/android/opensles_player.h: Removed.
1770         * Source/webrtc/modules/audio_device/android/opensles_recorder.cc: Removed.
1771         * Source/webrtc/modules/audio_device/android/opensles_recorder.h: Removed.
1772         * Source/webrtc/modules/audio_processing/test/android: Removed.
1773         * Source/webrtc/modules/audio_processing/test/android/apmtest: Removed.
1774         * Source/webrtc/modules/audio_processing/test/android/apmtest/AndroidManifest.xml: Removed.
1775         * Source/webrtc/modules/audio_processing/test/android/apmtest/default.properties: Removed.
1776         * Source/webrtc/modules/audio_processing/test/android/apmtest/jni: Removed.
1777         * Source/webrtc/modules/audio_processing/test/android/apmtest/jni/main.c: Removed.
1778         * Source/webrtc/modules/audio_processing/test/android/apmtest/res: Removed.
1779         * Source/webrtc/modules/audio_processing/test/android/apmtest/res/values: Removed.
1780         * Source/webrtc/modules/audio_processing/test/android/apmtest/res/values/strings.xml: Removed.
1781         * Source/webrtc/modules/utility/include/helpers_android.h: Removed.
1782         * Source/webrtc/modules/utility/include/jvm_android.h: Removed.
1783         * Source/webrtc/modules/utility/source/helpers_android.cc: Removed.
1784         * Source/webrtc/modules/utility/source/jvm_android.cc: Removed.
1785         * Source/webrtc/system_wrappers/source/cpu_features_android.c: Removed.
1786         * libwebrtc.xcodeproj/project.pbxproj:
1787
1788 2017-02-10  Alex Christensen  <achristensen@webkit.org>
1789
1790         Fix iOS libwebrtc build after r212127
1791         https://bugs.webkit.org/show_bug.cgi?id=168134
1792
1793         * Configurations/libwebrtc.xcconfig:
1794         * libwebrtc.xcodeproj/project.pbxproj:
1795         I got a little carried away removing ObjC sources.
1796         We still need RTCLogging.mm and RTCUIApplication.mm on iOS.
1797         Also sorted the project file.
1798
1799 2017-02-10  Alex Christensen  <achristensen@webkit.org>
1800
1801         Fix iOS libwebrtc build after r212127
1802         https://bugs.webkit.org/show_bug.cgi?id=168134
1803
1804         * libwebrtc.xcodeproj/project.pbxproj:
1805         I got a little carried away removing -fobjc-arc.  These files need it.
1806         It was originally added in r211902 and these files are in the 
1807         EXCLUDED_SOURCE_FILE_NAMES[sdk=macosx*] list in libwebrtc.xcconfig
1808         so adding this flag won't break the 32-bit El Capitan build.
1809
1810 2017-02-10  Alex Christensen  <achristensen@webkit.org>
1811
1812         Remove unnecessary automatic reference counting in libwebrtc
1813         https://bugs.webkit.org/show_bug.cgi?id=168134
1814
1815         Reviewed by Youenn Fablet.
1816
1817         * libwebrtc.xcodeproj/project.pbxproj:
1818
1819 2017-02-10  Youenn Fablet  <youennf@gmail.com>
1820
1821         [WebRTC] Activate libwebrtc G711/G722 audio codecs
1822         https://bugs.webkit.org/show_bug.cgi?id=168123
1823
1824         Reviewed by Alex Christensen.
1825
1826         Adding G711/G722 missing codec files.
1827         Activating use of these in the build system.
1828
1829         * Configurations/libwebrtc.xcconfig:
1830         * Source/webrtc/modules/audio_coding/codecs/g711/g711.c: Added.
1831         (ulaw_to_alaw):
1832         * Source/webrtc/modules/audio_coding/codecs/g711/g711.h: Added.
1833         * Source/webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.cc: Added.
1834         * Source/webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.h: Added.
1835         * Source/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.cc: Added.
1836         * Source/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.h: Added.
1837         * Source/webrtc/modules/audio_coding/codecs/g722/g722_decode.c: Added.
1838         * Source/webrtc/modules/audio_coding/codecs/g722/g722_enc_dec.h: Added.
1839         * Source/webrtc/modules/audio_coding/codecs/g722/g722_encode.c: Added.
1840         * Source/webrtc/modules/audio_coding/codecs/g722/g722_interface.c: Added.
1841         * Source/webrtc/modules/audio_coding/codecs/g722/g722_interface.h: Added.
1842         * Source/webrtc/modules/audio_coding/codecs/g722/test/testG722.cc: Added.
1843         * libwebrtc.xcodeproj/project.pbxproj:
1844
1845 2017-02-10  Alex Christensen  <achristensen@webkit.org>
1846
1847         Fix ASAN build.
1848
1849         * Source/webrtc/base/sanitizer.h:
1850         SANITIZER_UNUSED3 wasn't defined if we are using address_sanitizer but not memory_sanitizer.
1851
1852 2017-02-09  Alex Christensen  <achristensen@webkit.org>
1853
1854         Fix El Capitan build.
1855
1856         * libwebrtc.xcodeproj/project.pbxproj:
1857         Remove more SSE4 code.
1858
1859 2017-02-09  Alex Christensen  <achristensen@webkit.org>
1860
1861         Fix El Capitan build.
1862
1863         * libwebrtc.xcodeproj/project.pbxproj:
1864         Remove more SSE4 code.
1865
1866 2017-02-09  Alex Christensen  <achristensen@webkit.org>
1867
1868         Fix iOS and El Capitan builds of libwebrtc.
1869
1870         * Configurations/libwebrtc.xcconfig:
1871         Skip building audio_mixer_manager_mac.cc on iOS.
1872         * libwebrtc.xcodeproj/project.pbxproj:
1873         El Capitan doesn't like the SSE4 optimizations in opus.
1874         Just don't include them for now.
1875
1876 2017-02-09  Alex Christensen  <achristensen@webkit.org>
1877
1878         Fix warnings in libwebrtc build
1879         https://bugs.webkit.org/show_bug.cgi?id=168088
1880
1881         Reviewed by Youenn Fablet.
1882
1883         * Source/third_party/opus/src/src/opus_decoder.c:
1884         Silence a warning.  Debug builds of opus can be slow.  No big deal.
1885         * libwebrtc.xcodeproj/project.pbxproj:
1886         More sdk files need ARC.
1887
1888 2017-02-09  Alex Christensen  <achristensen@webkit.org>
1889
1890         Fix iOS libwebrtc build after r211960
1891         https://bugs.webkit.org/show_bug.cgi?id=168038
1892
1893         * Source/webrtc/sdk/objc/Framework/Classes/RTCOpenGLVideoRenderer.h:
1894         GlContextType declaration needs to be platform specific here like it is in RTCOpenGLDefines.h
1895
1896 2017-02-09  Alex Christensen  <achristensen@webkit.org>
1897
1898         Fix i386 libwebrtc build
1899         https://bugs.webkit.org/show_bug.cgi?id=168038
1900
1901         Reviewed by Geoffrey Garen.
1902
1903         Unfortunately, 32-bit ObjC can't use all the coolest new features of ObjC.
1904         Fortunately, we can move things around a bit to become valid old ObjC.
1905
1906         * Source/webrtc/sdk/objc/Framework/Classes/RTCAVFoundationVideoSource.mm:
1907         * Source/webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm:
1908         * Source/webrtc/sdk/objc/Framework/Classes/RTCFileLogger.mm:
1909         * Source/webrtc/sdk/objc/Framework/Classes/RTCI420Shader.mm:
1910         * Source/webrtc/sdk/objc/Framework/Classes/RTCMediaConstraints.mm:
1911         * Source/webrtc/sdk/objc/Framework/Classes/RTCMediaSource+Private.h:
1912         * Source/webrtc/sdk/objc/Framework/Classes/RTCMediaSource.mm:
1913         * Source/webrtc/sdk/objc/Framework/Classes/RTCMediaStream.mm:
1914         * Source/webrtc/sdk/objc/Framework/Classes/RTCMediaStreamTrack+Private.h:
1915         * Source/webrtc/sdk/objc/Framework/Classes/RTCMediaStreamTrack.mm:
1916         * Source/webrtc/sdk/objc/Framework/Classes/RTCOpenGLVideoRenderer.h:
1917         * Source/webrtc/sdk/objc/Framework/Classes/RTCOpenGLVideoRenderer.mm:
1918         * Source/webrtc/sdk/objc/Framework/Classes/RTCPeerConnectionFactory.mm:
1919         * Source/webrtc/sdk/objc/Framework/Classes/RTCRtpReceiver.mm:
1920         * Source/webrtc/sdk/objc/Framework/Classes/RTCRtpSender.mm:
1921         * Source/webrtc/sdk/objc/Framework/Classes/RTCShader.h:
1922         * Source/webrtc/sdk/objc/Framework/Classes/RTCVideoFrame.mm:
1923         * Source/webrtc/sdk/objc/Framework/Classes/RTCVideoRendererAdapter.h:
1924         * Source/webrtc/sdk/objc/Framework/Classes/RTCVideoRendererAdapter.mm:
1925         * Source/webrtc/sdk/objc/Framework/Classes/RTCVideoSource.mm:
1926         * Source/webrtc/sdk/objc/Framework/Classes/RTCVideoTrack.mm:
1927         * Source/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm:
1928         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h:
1929         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAudioSource.h:
1930         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAudioTrack.h:
1931         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCConfiguration.h:
1932         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCDataChannelConfiguration.h:
1933         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCFileLogger.h:
1934         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCIceCandidate.h:
1935         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCIceServer.h:
1936         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCLegacyStatsReport.h:
1937         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaConstraints.h:
1938         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaSource.h:
1939         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaStream.h:
1940         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaStreamTrack.h:
1941         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMetricsSampleInfo.h:
1942         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h:
1943         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpCodecParameters.h:
1944         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpEncodingParameters.h:
1945         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpParameters.h:
1946         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpReceiver.h:
1947         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpSender.h:
1948         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCSessionDescription.h:
1949         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoFrame.h:
1950         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoSource.h:
1951         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoTrack.h:
1952         Make code compile for i386.
1953         * libwebrtc.xcodeproj/project.pbxproj:
1954         Added missing headers so Xcode can search them.
1955
1956 2017-02-09  Alex Christensen  <achristensen@webkit.org>
1957
1958         Remove svn:executable property from headers.
1959
1960         * Source/webrtc/base/sigslottester.h: Removed property svn:executable.
1961         * Source/webrtc/modules/video_processing/util/skin_detection.h: Removed property svn:executable.
1962
1963 2017-02-08  Alex Christensen  <achristensen@webkit.org>
1964
1965         Fix libwebrtc build.
1966         https://bugs.webkit.org/show_bug.cgi?id=168017
1967
1968         * Configurations/libwebrtc.xcconfig:
1969         Trying to compile audio_device_not_implemented_ios.mm on Mac doesn't work.
1970         * libwebrtc.xcodeproj/project.pbxproj:
1971         Add some neon files.  They are nicely protected by macros at the top, so their contents are only compiled if necessary.
1972
1973 2017-02-08  Alex Christensen  <achristensen@webkit.org>
1974
1975         Fix libwebrtc build on iOS simulator
1976         https://bugs.webkit.org/show_bug.cgi?id=168017
1977
1978         Reviewed by Tim Horton.
1979
1980         * Configurations/libwebrtc.xcconfig:
1981         * Configurations/libwebrtcpcrtc.xcconfig:
1982         Use $(inherited)
1983         * Source/webrtc/modules/audio_device/ios/audio_device_ios.h:
1984         * Source/webrtc/modules/audio_device/ios/audio_device_ios.mm:
1985         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSession+Configuration.mm:
1986         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSession+Private.h:
1987         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSession.h:
1988         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSession.mm:
1989         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSessionConfiguration.h:
1990         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSessionConfiguration.m:
1991         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSessionDelegateAdapter.h:
1992         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSessionDelegateAdapter.mm:
1993         Renamed RTCAudioSession* to WebRTCAudioSession* so that all ObjC classes in WebCore start with Web prefix.
1994         * libwebrtc.xcodeproj/project.pbxproj:
1995         Add necessary files.  Some iOS-specific files need ARC, 
1996         and this matches the Build.gn in Source/webrtc/modules/audio_device
1997
1998 2017-02-08  Alex Christensen  <achristensen@webkit.org>
1999
2000         Fix iOS libwebrtc build
2001         https://bugs.webkit.org/show_bug.cgi?id=168004
2002
2003         Reviewed by Youenn Fablet.
2004
2005         We might still need to add some neon files.
2006
2007         * Configurations/libwebrtc.xcconfig:
2008         * Configurations/libwebrtcpcrtc.xcconfig:
2009         * Configurations/opus.xcconfig:
2010         Don't build sse-specific files for iOS.
2011         * libwebrtc.xcodeproj/project.pbxproj:
2012         Don't include the sse4 optimization for now.
2013         We can add the optimization for CPUs that support it later.
2014
2015 2017-02-08  Youenn Fablet  <youennf@gmail.com>
2016
2017         [WebRTC] Fix libwebrtc build system
2018         https://bugs.webkit.org/show_bug.cgi?id=167978
2019
2020         Reviewed by Alex Christensen.
2021
2022         * Configurations/libwebrtc.xcconfig:
2023         * Configurations/libwebrtcpcrtc.xcconfig:
2024         * Configurations/usrsctp.xcconfig:
2025         * libwebrtc.xcodeproj/project.pbxproj:
2026
2027 2017-02-07  Youenn Fablet  <youenn@apple.com>
2028
2029         Fix libwebrtcpcrtc target include path
2030         https://bugs.webkit.org/show_bug.cgi?id=167971
2031
2032         Reviewed by Alex Christensen.
2033
2034         * Configurations/libwebrtcpcrtc.xcconfig:
2035
2036 2017-02-07  Youenn Fablet  <youenn@apple.com>
2037
2038         [WebRTC] usrsctp (libwebrtc third party library) is not compiling
2039         https://bugs.webkit.org/show_bug.cgi?id=167969
2040
2041         Reviewed by Alex Christensen.
2042
2043         Also removing .gitignore files in libwebrtc directory.
2044
2045         * Source/.gitignore: Removed.
2046         * Source/third_party/boringssl/src/.gitignore: Removed.
2047         * Source/third_party/gflags/src/.gitignore: Removed.
2048         * Source/third_party/jsoncpp/source/.gitignore: Removed.
2049         * Source/third_party/libyuv/.gitignore: Removed.
2050         * Source/third_party/protobuf/.gitignore: Removed.
2051         * Source/third_party/protobuf/csharp/.gitignore: Removed.
2052         * Source/third_party/protobuf/ruby/.gitignore: Removed.
2053         * Source/third_party/usrsctp/usrsctplib/.gitignore: Removed.
2054         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_input.c:
2055         (sctp_process_cookie_existing):
2056         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_output.c:
2057         * Source/tools/.gitignore: Removed.
2058         * Source/webrtc/.gitignore: Removed.
2059
2060 2017-02-07  Alex Christensen  <achristensen@webkit.org>
2061
2062         Move webrtc/pc to own Xcode target
2063         https://bugs.webkit.org/show_bug.cgi?id=167970
2064
2065         Reviewed by Youenn Fablet.
2066
2067         It needs to include different directories than the rest of libwebrtc.
2068         Also moved some target names so liblibsrtp.a is changed to libsrtp.a, etc.
2069
2070         * Configurations/libwebrtcpcrtc.xcconfig: Added.
2071         * libwebrtc.xcodeproj/project.pbxproj:
2072
2073 2017-02-07  Alex Christensen  <achristensen@webkit.org>
2074
2075         [libwebrtc] Move libsrtp and libyuv to own Xcode targets
2076         https://bugs.webkit.org/show_bug.cgi?id=167966
2077
2078         Reviewed by Youenn Fablet.
2079
2080         * Configurations/libsrtp.xcconfig: Added.
2081         * Configurations/libyuv.xcconfig: Added.
2082         * Configurations/usrsctp.xcconfig:
2083         * libwebrtc.xcodeproj/project.pbxproj:
2084
2085 2017-02-07  Alex Christensen  <achristensen@webkit.org>
2086
2087         Fix libwebrtc build after r211817
2088         https://bugs.webkit.org/show_bug.cgi?id=167944
2089
2090         * Configurations/usrsctp.xcconfig:
2091         Disable more warnings.
2092
2093 2017-02-07  Alex Christensen  <achristensen@webkit.org>
2094
2095         build usrsctp with Xcode
2096         https://bugs.webkit.org/show_bug.cgi?id=167944
2097
2098         Reviewed by Youenn Fablet.
2099
2100         * Configurations/usrsctp.xcconfig:
2101         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_pcb.c:
2102         * Source/third_party/usrsctp/usrsctplib/usrsctplib/user_atomic.h:
2103         * libwebrtc.xcodeproj/project.pbxproj:
2104
2105 2017-02-06  Alex Christensen  <achristensen@webkit.org>
2106
2107         [WebRTC] Remove unneeded build directory accidentally checked in with libwebrtc source.
2108
2109         Reviewed by Youenn Fablet.
2110
2111         * third_party/usrsctp/build: Removed.
2112
2113 2017-02-03  Alex Christensen  <achristensen@webkit.org>
2114
2115         [WebRTC] Add more files to libwebrtc build
2116         https://bugs.webkit.org/show_bug.cgi?id=167824
2117
2118         Reviewed by Youenn Fablet.
2119
2120         * Configurations/libwebrtc.xcconfig:
2121         * Configurations/usrsctp.xcconfig: Added.
2122         * libwebrtc.xcodeproj/project.pbxproj:
2123
2124 2017-02-02  Alex Christensen  <achristensen@webkit.org>
2125
2126         Build libwebrtc and dependencies with Xcode
2127         https://bugs.webkit.org/show_bug.cgi?id=167758
2128
2129         Reviewed by Dean Jackson.
2130
2131         * Configurations: Added.
2132         * Configurations/Base.xcconfig: Added.
2133         * Configurations/DebugRelease.xcconfig: Added.
2134         * Configurations/boringssl.xcconfig: Added.
2135         * Configurations/libwebrtc.xcconfig: Added.
2136         * Configurations/opus.xcconfig: Added.
2137         * libwebrtc.xcodeproj/project.pbxproj:
2138
2139 2017-01-30  Youenn Fablet  <youennf@gmail.com>
2140
2141         [WebRTC] Upload a diff of WebKit libwebrtc code and original libwebrtc code
2142         https://bugs.webkit.org/show_bug.cgi?id=167573
2143
2144         Reviewed by Alex Christensen.
2145
2146         * WebKit/patch-libwebrtc: Added.
2147
2148 2017-01-27  Dan Bernstein  <mitz@apple.com>
2149
2150         Ignore Xcode’s project.xcworkspace and userdata directories in this new project like we do
2151         in other projects.
2152
2153         * libwebrtc.xcodeproj: Added property svn:ignore.
2154
2155 2017-01-24  Youenn Fablet  <youenn@apple.com>
2156
2157         [WebRTC] Use HAVE_PTHREAD_COND_TIMEDWAIT_RELATIVE for libwebrtc
2158         https://bugs.webkit.org/show_bug.cgi?id=167353
2159
2160         Reviewed by Alex Christensen.
2161
2162         * CMakeLists.txt:
2163
2164 2017-01-23  Youenn Fablet  <youenn@apple.com>
2165
2166         [WebRTC] Filter libwebrtc link flags
2167         https://bugs.webkit.org/show_bug.cgi?id=167287
2168
2169         Reviewed by Alex Christensen.
2170
2171         * CMakeLists.txt:
2172
2173 2017-01-23  Youenn Fablet  <youennf@gmail.com>
2174
2175         [WebRTC] Make VP8 optional in libwebrtc
2176         https://bugs.webkit.org/show_bug.cgi?id=167257
2177
2178         Reviewed by Darin Adler.
2179
2180         Reusing strategy used to have VP9 optional for VP8 codec.
2181
2182         * CMakeLists.txt: Updated tocompile and link vp8_noop.cc
2183         * Source/webrtc/media/engine/webrtcvideoengine2.cc:
2184         * Source/webrtc/modules/video_coding/codecs/vp8/include/vp8.h:
2185         * Source/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc:
2186         * Source/webrtc/modules/video_coding/codecs/vp8/vp8_noop.cc: Added.
2187         * Source/webrtc/video/video_encoder.cc:
2188
2189 2017-01-20  Youenn Fablet  <youennf@gmail.com>
2190
2191         [WebRTC] Update build system to make G711 optional in libwebrtc
2192         https://bugs.webkit.org/show_bug.cgi?id=167256
2193
2194         Reviewed by Alex Christensen.
2195
2196         * CMakeLists.txt: Updating to add compilation of generic pcm encoder functions.
2197
2198 2017-01-20  Youenn Fablet  <youennf@gmail.com>
2199
2200         [WebRTC] Update libwertc AudioRtpSender::SetAudioSend
2201         https://bugs.webkit.org/show_bug.cgi?id=167243
2202
2203         Reviewed by Alex Christensen.
2204
2205         Introducing  WEBRTC_WEBKIT_BUILD macro to match existing WEBRTC_CHROMIUM_BUILD.
2206         WEBRTC_WEBKIT_BUILD is defined by current WebKit libwebrtc build system.
2207
2208         * Source/webrtc/api/rtpsender.cc:
2209
2210 2017-01-20  Youenn Fablet  <youennf@gmail.com>
2211
2212         [WebRTC] libwebrtc NO_RETURN is conflicting with WebKit one
2213         https://bugs.webkit.org/show_bug.cgi?id=167244
2214
2215         Reviewed by Alex Christensen.
2216
2217         * Source/webrtc/typedefs.h: Defining NO_RETURN only if not already defined.
2218
2219 2017-01-20  Youenn Fablet  <youenn@apple.com>
2220
2221         [WebRTC] libwebrtc headers are incompatible with WebKit compilation flags
2222         https://bugs.webkit.org/show_bug.cgi?id=167242
2223
2224         Reviewed by Alex Christensen.
2225
2226         WebKit is enforcing -Wunused-parameter and -Wunused-variable which conflict with some included libwertc headers.
2227         Removed unused parameter names for inlined functions.
2228
2229         * Source/webrtc/api/jsep.h:
2230         (webrtc::SessionDescriptionInterface::RemoveCandidates):
2231         * Source/webrtc/api/mediastreaminterface.h:
2232         (webrtc::AudioSourceInterface::SetVolume):
2233         (webrtc::AudioSourceInterface::RegisterAudioObserver):
2234         (webrtc::AudioSourceInterface::UnregisterAudioObserver):
2235         (webrtc::AudioSourceInterface::AddSink):
2236         (webrtc::AudioSourceInterface::RemoveSink):
2237         (webrtc::AudioTrackInterface::GetSignalLevel):
2238         * Source/webrtc/api/peerconnectionfactory.h:
2239         * Source/webrtc/api/peerconnectioninterface.h:
2240         (webrtc::MetricsObserverInterface::IncrementEnumCounter):
2241         (webrtc::PeerConnectionInterface::AddTrack):
2242         (webrtc::PeerConnectionInterface::RemoveTrack):
2243         (webrtc::PeerConnectionInterface::CreateSender):
2244         (webrtc::PeerConnectionInterface::GetStats):
2245         (webrtc::PeerConnectionInterface::CreateOffer):
2246         (webrtc::PeerConnectionInterface::CreateAnswer):
2247         (webrtc::PeerConnectionInterface::UpdateIce):
2248         (webrtc::PeerConnectionInterface::SetConfiguration):
2249         (webrtc::PeerConnectionInterface::RemoveIceCandidates):
2250         (webrtc::PeerConnectionInterface::StartRtcEventLog):
2251         (webrtc::PeerConnectionObserver::OnAddStream):
2252         (webrtc::PeerConnectionObserver::OnRemoveStream):
2253         (webrtc::PeerConnectionObserver::OnDataChannel):
2254         (webrtc::PeerConnectionObserver::OnIceCandidatesRemoved):
2255         (webrtc::PeerConnectionObserver::OnIceConnectionReceivingChange):
2256         * Source/webrtc/api/rtpsender.cc:
2257         * Source/webrtc/base/messagehandler.h:
2258         (rtc::FunctorMessageHandler::OnMessage):
2259         * Source/webrtc/base/sanitizer.h:
2260         (rtc_AsanPoison):
2261         (rtc_AsanUnpoison):
2262         (rtc_MsanMarkUninitialized):
2263         (rtc_MsanCheckInitialized):
2264         * Source/webrtc/base/stream.h:
2265         (rtc::StreamInterface::ConsumeReadData):
2266         (rtc::StreamInterface::ConsumeWriteBuffer):
2267         * Source/webrtc/media/base/mediachannel.h:
2268         (cricket::DataMediaChannel::GetStats):
2269         (cricket::DataMediaChannel::OnNetworkRouteChanged):
2270         * Source/webrtc/media/engine/webrtcvideodecoderfactory.h:
2271         (cricket::WebRtcVideoDecoderFactory::CreateVideoDecoderWithParams):
2272         * Source/webrtc/media/engine/webrtcvideoencoderfactory.h:
2273         (cricket::WebRtcVideoEncoderFactory::VideoCodec::VideoCodec):
2274         (cricket::WebRtcVideoEncoderFactory::EncoderTypeHasInternalSource):
2275         * Source/webrtc/media/engine/webrtcvideoengine2.cc:
2276         * Source/webrtc/modules/include/module.h:
2277         (webrtc::Module::ProcessThreadAttached):
2278         * Source/webrtc/modules/video_coding/codecs/vp9/vp9_noop.cc:
2279         * Source/webrtc/p2p/base/port.h:
2280         (cricket::Port::HandleIncomingPacket):
2281         (cricket::Port::HandleConnectionDestroyed):
2282         (cricket::Connection::set_receiving_timeout):
2283         * Source/webrtc/p2p/base/stun.h:
2284         (cricket::StunAttribute::SetOwner):
2285         * Source/webrtc/p2p/base/stunrequest.h:
2286         (cricket::StunRequest::Prepare):
2287         (cricket::StunRequest::OnResponse):
2288         (cricket::StunRequest::OnErrorResponse):
2289         * Source/webrtc/p2p/base/transport.h:
2290         (cricket::Transport::SetLocalCertificate):
2291         (cricket::Transport::GetLocalCertificate):
2292         (cricket::Transport::GetSslRole):
2293         (cricket::Transport::SetSslMaxProtocolVersion):
2294         * Source/webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.cc:
2295         * Source/webrtc/typedefs.h:
2296
2297 2017-01-20  Youenn Fablet  <youennf@gmail.com>
2298
2299         [WebRTC] Update libwertc AudioRtpSender::SetAudioSend
2300         https://bugs.webkit.org/show_bug.cgi?id=167243
2301
2302         Reviewed by Alex Christensen.
2303
2304         Introducing  WEBRTC_WEBKIT_BUILD macro to match existing WEBRTC_CHROMIUM_BUILD.
2305         WEBRTC_WEBKIT_BUILD is defined by current WebKit libwebrtc build system.
2306
2307         * Source/webrtc/api/rtpsender.cc:
2308
2309 2017-01-20  Youenn Fablet  <youennf@gmail.com>
2310
2311         [WebRTC] libwebrtc H.264 codec is using VTB only for IOS
2312         https://bugs.webkit.org/show_bug.cgi?id=167245
2313
2314         Reviewed by Alex Christensen.
2315
2316         * Source/webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.cc: Removing WEBRTC_IOS flag.
2317
2318 2017-01-19  Youenn Fablet  <youenn@apple.com>
2319
2320         [WebRTC] Upload libwebrtc code base
2321         https://bugs.webkit.org/show_bug.cgi?id=167205
2322
2323         Reviewed by Alex Christensen and Jon Lee.
2324
2325         Add initial libwebrtc source from branch 56. Here's how to get what we committed:
2326         git clone https://chromium.googlesource.com/external/webrtc.git && cd webrtc && git checkout 7bf536976366443ea59153ff3d22da0ec32badc1