summaryrefslogtreecommitdiff
path: root/www-client/chromium/files/chromium-109-system-openh264.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/chromium/files/chromium-109-system-openh264.patch')
-rw-r--r--www-client/chromium/files/chromium-109-system-openh264.patch20
1 files changed, 20 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" ]
++}