diff options
Diffstat (limited to 'chromium/media/gpu/args.gni')
-rw-r--r-- | chromium/media/gpu/args.gni | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/media/gpu/args.gni b/chromium/media/gpu/args.gni index e61e9567d85..33c49cd2938 100644 --- a/chromium/media/gpu/args.gni +++ b/chromium/media/gpu/args.gni @@ -21,8 +21,8 @@ declare_args() { # is typically the case on x86-based ChromeOS devices. # VA-API should also be compiled by default on x11-using linux devices # using x86/x64. - use_vaapi = - is_linux && use_x11 && (current_cpu == "x86" || current_cpu == "x64") + use_vaapi = (is_linux || is_chromeos_lacros) && use_x11 && + (target_cpu == "x86" || target_cpu == "x64") # Indicates if ChromeOS protected media support exists. This is used # to enable the CDM daemon in Chrome OS as well as support for @@ -35,5 +35,5 @@ declare_args() { declare_args() { # VA-API also allows decoding of images, but we don't want to use this # outside of chromeos, even if video decoding is enabled. - use_vaapi_image_codecs = use_vaapi && is_ash + use_vaapi_image_codecs = use_vaapi && is_chromeos_ash } |