+ 'conditions': [
+ [ 'use_x11 == 1', {
+ 'variables': {
+ 'extra_header': 'common/gpu/media/va_stub_header.fragment',
+ 'sig_files': ['common/gpu/media/va.sigs'],
+ },
+ 'sources': [
+ 'common/gpu/media/vaapi_video_decode_accelerator.cc',
+ ]
+ }],
+ [ 'use_ozone == 1', {
+ 'variables': {
+ 'extra_header': 'common/gpu/media/va_wayland_stub_header.fragment',
+ 'sig_files': ['common/gpu/media/va_wayland.sigs'],
+ },
+ 'link_settings': {
+ 'libraries': [
+ '-lwayland-client',
+ ],
+ },
+ 'sources': [
+ 'common/gpu/media/vaapi_video_decode_accelerator_wayland.cc',
+ ]
+ }],
+ ],