diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-12 14:27:29 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-13 09:35:20 +0000 |
commit | c30a6232df03e1efbd9f3b226777b07e087a1122 (patch) | |
tree | e992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/media/gpu/vaapi/BUILD.gn | |
parent | 7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff) | |
download | qtwebengine-chromium-85-based.tar.gz |
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/media/gpu/vaapi/BUILD.gn')
-rw-r--r-- | chromium/media/gpu/vaapi/BUILD.gn | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/chromium/media/gpu/vaapi/BUILD.gn b/chromium/media/gpu/vaapi/BUILD.gn index 2524a1c31b5..98dbf6acad4 100644 --- a/chromium/media/gpu/vaapi/BUILD.gn +++ b/chromium/media/gpu/vaapi/BUILD.gn @@ -66,11 +66,16 @@ source_set("vaapi") { "vp8_vaapi_video_decoder_delegate.h", "vp9_encoder.cc", "vp9_encoder.h", + "vp9_rate_control.cc", + "vp9_rate_control.h", "vp9_vaapi_video_decoder_delegate.cc", "vp9_vaapi_video_decoder_delegate.h", ] - configs += [ "//build/config/linux/libva" ] + configs += [ + "//build/config/linux/libva", + "//third_party/libvpx:libvpx_config", + ] deps = [ ":common", @@ -83,6 +88,7 @@ source_set("vaapi") { "//media/gpu/chromeos:common", "//media/parsers", "//mojo/public/cpp/bindings", + "//third_party/libvpx:libvp9rc", "//third_party/libyuv", "//ui/gfx", "//ui/gfx/geometry", @@ -116,12 +122,12 @@ source_set("vaapi") { ] } - if (ozone_platform_gbm || use_egl) { + if (use_ozone || use_egl) { sources += [ "vaapi_picture_native_pixmap.cc", "vaapi_picture_native_pixmap.h", ] - if (ozone_platform_gbm) { + if (use_ozone) { sources += [ "vaapi_picture_native_pixmap_ozone.cc", "vaapi_picture_native_pixmap_ozone.h", @@ -194,7 +200,9 @@ source_set("unit_test") { "vaapi_image_decode_accelerator_worker_unittest.cc", "vaapi_video_decode_accelerator_unittest.cc", "vaapi_video_encode_accelerator_unittest.cc", + "vp9_encoder_unittest.cc", ] + configs += [ "//third_party/libvpx:libvpx_config" ] deps = [ ":common", ":vaapi", @@ -206,6 +214,7 @@ source_set("unit_test") { "//mojo/core/embedder", "//testing/gmock", "//testing/gtest", + "//third_party/libvpx:libvp9rc", "//ui/gfx:test_support", "//ui/gfx/geometry", ] |