Index: content/content_tests.gypi |
diff --git a/content/content_tests.gypi b/content/content_tests.gypi |
index 50d3238982f312bc0de0a8d9b3b5bd1d3cd3a98b..76632ab1264d1d86ac2d1c855a1dcb5ee54e82c8 100644 |
--- a/content/content_tests.gypi |
+++ b/content/content_tests.gypi |
@@ -1519,7 +1519,7 @@ |
}, |
], |
}], |
- ['(chromeos==1 or OS=="win" or OS=="android") and use_ozone==0', { |
+ ['chromeos==1 or OS=="win" or OS=="android"', { |
'targets': [ |
{ |
'target_name': 'video_decode_accelerator_unittest', |
@@ -1587,13 +1587,18 @@ |
'../ui/gfx/x/gfx_x11.gyp:gfx_x11', |
], |
}], |
+ ['use_ozone==1 and chromeos==1', { |
+ 'dependencies': [ |
+ '../ui/display/display.gyp:display', # Used by rendering_helper.cc |
+ ], |
+ }], |
], |
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
'msvs_disabled_warnings': [ 4267, ], |
}, |
] |
}], |
- ['chromeos==1 and use_x11 == 1 and target_arch != "arm"', { |
+ ['chromeos==1 and target_arch != "arm"', { |
'targets': [ |
{ |
'target_name': 'vaapi_h264_decoder_unittest', |
@@ -1601,7 +1606,6 @@ |
'dependencies': [ |
'content.gyp:content_common', |
'../base/base.gyp:base', |
- '../build/linux/system.gyp:x11', |
'../media/media.gyp:media', |
'../testing/gtest.gyp:gtest', |
'../third_party/libyuv/libyuv.gyp:libyuv', |
@@ -1613,10 +1617,21 @@ |
'include_dirs': [ |
'<(DEPTH)/third_party/libva', |
], |
+ 'conditions': [ |
+ ['use_x11==1', { |
+ 'dependencies': [ |
+ '../build/linux/system.gyp:x11', |
+ ] |
+ }, { |
+ 'dependencies': [ |
+ '../build/linux/system.gyp:libdrm', |
+ ] |
+ }], |
+ ], |
}, |
] |
}], |
- ['chromeos==1 and (target_arch == "arm" or use_x11 == 1)', { |
+ ['chromeos==1', { |
'targets': [ |
{ |
'target_name': 'video_encode_accelerator_unittest', |