OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//media/gpu/args.gni") | 7 import("//media/gpu/args.gni") |
8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
10 | 10 |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 configs += [ | 291 configs += [ |
292 "//third_party/libva:libva_config", | 292 "//third_party/libva:libva_config", |
293 "//third_party/libyuv:libyuv_config", | 293 "//third_party/libyuv:libyuv_config", |
294 ] | 294 ] |
295 deps += [ | 295 deps += [ |
296 ":libva_generate_stubs", | 296 ":libva_generate_stubs", |
297 "//media", | 297 "//media", |
298 "//third_party/libyuv", | 298 "//third_party/libyuv", |
299 ] | 299 ] |
300 if (use_x11) { | 300 if (use_x11) { |
| 301 configs += [ "//build/config/linux:x11" ] |
301 sources += [ | 302 sources += [ |
302 "vaapi_tfp_picture.cc", | 303 "vaapi_tfp_picture.cc", |
303 "vaapi_tfp_picture.h", | 304 "vaapi_tfp_picture.h", |
304 ] | 305 ] |
305 } | 306 } |
306 if (use_ozone) { | 307 if (use_ozone) { |
307 sources += [ | 308 sources += [ |
308 "vaapi_drm_picture.cc", | 309 "vaapi_drm_picture.cc", |
309 "vaapi_drm_picture.h", | 310 "vaapi_drm_picture.h", |
310 ] | 311 ] |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 "video_encode_accelerator_unittest.cc", | 428 "video_encode_accelerator_unittest.cc", |
428 ] | 429 ] |
429 if (use_x11) { | 430 if (use_x11) { |
430 deps += [ "//ui/gfx/x" ] | 431 deps += [ "//ui/gfx/x" ] |
431 } | 432 } |
432 if (use_ozone) { | 433 if (use_ozone) { |
433 deps += [ "//ui/ozone" ] | 434 deps += [ "//ui/ozone" ] |
434 } | 435 } |
435 } | 436 } |
436 } | 437 } |
OLD | NEW |