Title: [243741] trunk/Source/ThirdParty/libwebrtc
Revision
243741
Author
[email protected]
Date
2019-04-02 07:47:41 -0700 (Tue, 02 Apr 2019)

Log Message

[GSteamer][WebRTC] Fix building libwebrtc on ARM
https://bugs.webkit.org/show_bug.cgi?id=196157

Patch by Thibault Saunier <[email protected]> on 2019-04-02
Reviewed by Philippe Normand.

Making sure neon files are built as required

* CMakeLists.txt:

Modified Paths

Diff

Modified: trunk/Source/ThirdParty/libwebrtc/CMakeLists.txt (243740 => 243741)


--- trunk/Source/ThirdParty/libwebrtc/CMakeLists.txt	2019-04-02 14:31:27 UTC (rev 243740)
+++ trunk/Source/ThirdParty/libwebrtc/CMakeLists.txt	2019-04-02 14:47:41 UTC (rev 243741)
@@ -304,19 +304,27 @@
     Source/third_party/libyuv/source/mjpeg_decoder.cc
     Source/third_party/libyuv/source/mjpeg_validate.cc
     Source/third_party/libyuv/source/planar_functions.cc
+    Source/third_party/libyuv/source/compare_neon.cc
+    Source/third_party/libyuv/source/compare_neon64.cc
     Source/third_party/libyuv/source/rotate.cc
     Source/third_party/libyuv/source/rotate_any.cc
     Source/third_party/libyuv/source/rotate_argb.cc
     Source/third_party/libyuv/source/rotate_common.cc
     Source/third_party/libyuv/source/rotate_gcc.cc
+    Source/third_party/libyuv/source/rotate_neon.cc
+    Source/third_party/libyuv/source/rotate_neon64.cc
     Source/third_party/libyuv/source/row_any.cc
     Source/third_party/libyuv/source/row_common.cc
     Source/third_party/libyuv/source/row_gcc.cc
+    Source/third_party/libyuv/source/row_neon.cc
+    Source/third_party/libyuv/source/row_neon64.cc
     Source/third_party/libyuv/source/scale.cc
     Source/third_party/libyuv/source/scale_any.cc
     Source/third_party/libyuv/source/scale_argb.cc
     Source/third_party/libyuv/source/scale_common.cc
     Source/third_party/libyuv/source/scale_gcc.cc
+    Source/third_party/libyuv/source/scale_neon.cc
+    Source/third_party/libyuv/source/scale_neon64.cc
     Source/third_party/libyuv/source/video_common.cc
     Source/third_party/rnnoise/src/kiss_fft.cc
     Source/third_party/rnnoise/src/rnn_vad_weights.cc
@@ -1393,6 +1401,16 @@
   __Userspace_os_Linux
 )
 
+if (WTF_CPU_ARM)
+    target_compile_definitions(webrtc PRIVATE
+        WEBRTC_ARCH_ARM=1
+    )
+elseif (WTF_CPU_ARM64)
+    target_compile_definitions(webrtc PRIVATE
+        WEBRTC_ARCH_ARM64=1
+    )
+endif()
+
 target_include_directories(webrtc PRIVATE
     Source
     Source/third_party/abseil-cpp

Modified: trunk/Source/ThirdParty/libwebrtc/ChangeLog (243740 => 243741)


--- trunk/Source/ThirdParty/libwebrtc/ChangeLog	2019-04-02 14:31:27 UTC (rev 243740)
+++ trunk/Source/ThirdParty/libwebrtc/ChangeLog	2019-04-02 14:47:41 UTC (rev 243741)
@@ -1,3 +1,14 @@
+2019-04-02  Thibault Saunier  <[email protected]>
+
+        [GSteamer][WebRTC] Fix building libwebrtc on ARM
+        https://bugs.webkit.org/show_bug.cgi?id=196157
+
+        Reviewed by Philippe Normand.
+
+        Making sure neon files are built as required
+
+        * CMakeLists.txt:
+
 2019-03-22  Keith Rollin  <[email protected]>
 
         Enable ThinLTO support in Production builds
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to