Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Unified Diff: content/content_tests.gypi

Issue 825163004: Add Vaapi support on Ozone/Freon (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Fix comment in VaapiWrapper Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_common.gypi ('k') | media/test/data/test-25fps.h264.md5 » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/content_tests.gypi
diff --git a/content/content_tests.gypi b/content/content_tests.gypi
index 280d2e80d83491a27a8af274e18b6716882e72e7..4b0e9c06981a1dc33622bc8159cd9b593e7d6848 100644
--- a/content/content_tests.gypi
+++ b/content/content_tests.gypi
@@ -1550,7 +1550,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',
@@ -1618,13 +1618,19 @@
'../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
+ '../ui/ozone/ozone.gyp:ozone', # 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',
@@ -1632,7 +1638,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',
@@ -1644,10 +1649,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',
@@ -1678,6 +1694,11 @@
'../ui/gfx/x/gfx_x11.gyp:gfx_x11',
],
}],
+ ['use_ozone==1', {
+ 'dependencies': [
+ '../ui/ozone/ozone.gyp:ozone',
+ ],
+ }],
],
},
]
« no previous file with comments | « content/content_common.gypi ('k') | media/test/data/test-25fps.h264.md5 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698