summaryrefslogtreecommitdiff
path: root/www-client/chromium/files
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/chromium/files')
-rw-r--r--www-client/chromium/files/chromium-109-system-openh264.patch20
-rw-r--r--www-client/chromium/files/chromium-109-system-zlib.patch10
2 files changed, 30 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-109-system-openh264.patch b/www-client/chromium/files/chromium-109-system-openh264.patch
new file mode 100644
index 000000000000..6be816b305b4
--- /dev/null
+++ b/www-client/chromium/files/chromium-109-system-openh264.patch
@@ -0,0 +1,20 @@
+--- a/build/linux/unbundle/openh264.gn
++++ b/build/linux/unbundle/openh264.gn
+@@ -2,6 +2,7 @@
+ # Use of this source code is governed by a BSD-style license that can be
+ # found in the LICENSE file.
+
++import("//build/buildflag_header.gni")
+ import("//build/config/linux/pkg_config.gni")
+ import("//build/shim_headers.gni")
+
+@@ -34,3 +35,9 @@ source_set("encoder") {
+ deps = [ ":openh264_shim" ]
+ public_configs = [ ":config" ]
+ }
++
++buildflag_header("buildflags") {
++ header = "buildflags.h"
++ header_dir = "third_party/openh264"
++ flags = [ "OPENH264_API_WELS=1" ]
++}
diff --git a/www-client/chromium/files/chromium-109-system-zlib.patch b/www-client/chromium/files/chromium-109-system-zlib.patch
new file mode 100644
index 000000000000..5e8b2d80a9a8
--- /dev/null
+++ b/www-client/chromium/files/chromium-109-system-zlib.patch
@@ -0,0 +1,10 @@
+--- a/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/utils/zip_readonly_mem_file.cc
++++ b/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/utils/zip_readonly_mem_file.cc
+@@ -19,7 +19,6 @@ limitations under the License.
+ #include <cstdio>
+
+ #include "absl/strings/string_view.h" // from @com_google_absl
+-#include "third_party/zlib/contrib/minizip/ioapi.h"
+
+ namespace tflite {
+ namespace metadata {