24 lines
501 B
Diff
24 lines
501 B
Diff
--- a/media/gpu/vaapi/BUILD.gn.orig
|
|
+++ b/media/gpu/vaapi/BUILD.gn
|
|
@@ -14,6 +14,12 @@
|
|
assert(is_linux || is_chromeos)
|
|
assert(use_vaapi)
|
|
|
|
+config("vaapi_permissive") {
|
|
+ if (target_cpu == "x86") {
|
|
+ cflags = [ "-fpermissive" ]
|
|
+ }
|
|
+}
|
|
+
|
|
generate_stubs("libva_stubs") {
|
|
extra_header = "va_stub_header.fragment"
|
|
sigs = [ "va.sigs" ]
|
|
@@ -90,6 +96,7 @@
|
|
configs += [
|
|
"//build/config/linux/libva",
|
|
"//third_party/libvpx:libvpx_config",
|
|
+ ":vaapi_permissive",
|
|
]
|
|
|
|
deps = [
|