Title: [278349] trunk/Source/ThirdParty/libwebrtc
Revision
278349
Author
you...@apple.com
Date
2021-06-02 05:17:18 -0700 (Wed, 02 Jun 2021)

Log Message

Update pffft to M92
https://bugs.webkit.org/show_bug.cgi?id=226491

Reviewed by Alex Christensen.

* Source/third_party/pffft/BUILD.gn:
* Source/third_party/pffft/DIR_METADATA: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/Source/ThirdParty/libwebrtc/ChangeLog (278348 => 278349)


--- trunk/Source/ThirdParty/libwebrtc/ChangeLog	2021-06-02 12:17:00 UTC (rev 278348)
+++ trunk/Source/ThirdParty/libwebrtc/ChangeLog	2021-06-02 12:17:18 UTC (rev 278349)
@@ -1,5 +1,15 @@
 2021-06-02  Youenn Fablet  <you...@apple.com>
 
+        Update pffft to M92
+        https://bugs.webkit.org/show_bug.cgi?id=226491
+
+        Reviewed by Alex Christensen.
+
+        * Source/third_party/pffft/BUILD.gn:
+        * Source/third_party/pffft/DIR_METADATA: Added.
+
+2021-06-02  Youenn Fablet  <you...@apple.com>
+
         Update opus to M92
         https://bugs.webkit.org/show_bug.cgi?id=226490
 

Modified: trunk/Source/ThirdParty/libwebrtc/Source/third_party/pffft/BUILD.gn (278348 => 278349)


--- trunk/Source/ThirdParty/libwebrtc/Source/third_party/pffft/BUILD.gn	2021-06-02 12:17:00 UTC (rev 278348)
+++ trunk/Source/ThirdParty/libwebrtc/Source/third_party/pffft/BUILD.gn	2021-06-02 12:17:18 UTC (rev 278349)
@@ -14,8 +14,10 @@
     ]
   }
 
-  # PFFFT doesn't support SIMD on mipsel, so build a scalar version.
-  if ((current_cpu == "arm" && !arm_use_neon) || current_cpu == "mipsel") {
+  # PFFFT doesn't support SIMD on some cpus, so build a scalar version.
+  if ((current_cpu == "arm" && !arm_use_neon) || current_cpu == "mipsel" ||
+      current_cpu == "mips64el" || current_cpu == "ppc64" ||
+      current_cpu == "s390x") {
     defines = [ "PFFFT_SIMD_DISABLE" ]
   }
 }
@@ -42,35 +44,23 @@
 
 action("generate_pffft_fuzzer_corpus") {
   script = "generate_seed_corpus.py"
-  sources = [
-    "generate_seed_corpus.py",
-  ]
+  sources = [ "generate_seed_corpus.py" ]
   args = [ rebase_path(fuzzer_testdata_dir, root_build_dir) ]
-  outputs = [
-    fuzzer_testdata_dir,
-  ]
+  outputs = [ fuzzer_testdata_dir ]
 }
 
 fuzzer_test("pffft_complex_fuzzer") {
-  sources = [
-    "pffft_fuzzer.cc",
-  ]
+  sources = [ "pffft_fuzzer.cc" ]
   cflags = [ "-DTRANSFORM_COMPLEX" ]
-  deps = [
-    ":pffft",
-  ]
+  deps = [ ":pffft" ]
   seed_corpus = fuzzer_testdata_dir
   seed_corpus_deps = [ ":generate_pffft_fuzzer_corpus" ]
 }
 
 fuzzer_test("pffft_real_fuzzer") {
-  sources = [
-    "pffft_fuzzer.cc",
-  ]
+  sources = [ "pffft_fuzzer.cc" ]
   cflags = [ "-DTRANSFORM_REAL" ]
-  deps = [
-    ":pffft",
-  ]
+  deps = [ ":pffft" ]
   seed_corpus = fuzzer_testdata_dir
   seed_corpus_deps = [ ":generate_pffft_fuzzer_corpus" ]
 }
@@ -88,12 +78,20 @@
   visibility = [ ":*" ]
 }
 
+config("pffft_benchmark_internal_config") {
+  cflags = [
+    # test_pffft.c contains an `exit(1)` following a `break` statement.
+    "-Wno-unreachable-code",
+  ]
+}
+
 executable("pffft_benchmark") {
   testonly = true
-  configs += [ ":common_config" ]
-  sources = [
-    "src/test_pffft.c",
+  configs += [
+    ":common_config",
+    ":pffft_benchmark_internal_config",
   ]
+  sources = [ "src/test_pffft.c" ]
   deps = [
     ":fftpack",
     ":pffft",
@@ -102,9 +100,7 @@
 
 test("pffft_unittest") {
   testonly = true
-  sources = [
-    "pffft_unittest.cc",
-  ]
+  sources = [ "pffft_unittest.cc" ]
   deps = [
     ":fftpack",
     ":pffft",

Added: trunk/Source/ThirdParty/libwebrtc/Source/third_party/pffft/DIR_METADATA (0 => 278349)


--- trunk/Source/ThirdParty/libwebrtc/Source/third_party/pffft/DIR_METADATA	                        (rev 0)
+++ trunk/Source/ThirdParty/libwebrtc/Source/third_party/pffft/DIR_METADATA	2021-06-02 12:17:18 UTC (rev 278349)
@@ -0,0 +1,3 @@
+monorail: {
+  component: "Blink>WebRTC>Audio"
+}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to