Index: content/content_tests.gypi |
diff --git a/content/content_tests.gypi b/content/content_tests.gypi |
index 66f6dda607db97bdba551fa5d7d120e830befa52..01af31685b1edd27768c79420d9217b2d55c1b57 100644 |
--- a/content/content_tests.gypi |
+++ b/content/content_tests.gypi |
@@ -1467,7 +1467,7 @@ |
}, |
] |
}], |
- ['chromeos==1 and target_arch == "arm"', { |
+ ['chromeos==1 and (target_arch == "arm" or use_x11 == 1)', { |
'targets': [ |
{ |
'target_name': 'video_encode_accelerator_unittest', |
@@ -1487,6 +1487,17 @@ |
'common/gpu/media/video_accelerator_unittest_helpers.h', |
'common/gpu/media/video_encode_accelerator_unittest.cc', |
], |
+ 'include_dirs': [ |
+ '<(DEPTH)/third_party/libva', |
+ '<(DEPTH)/third_party/libyuv', |
+ ], |
+ 'conditions': [ |
+ ['use_x11==1', { |
+ 'dependencies': [ |
+ '../ui/gfx/x/gfx_x11.gyp:gfx_x11', |
+ ], |
+ }], |
+ ], |
}, |
] |
}], |