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" ] | |
302 sources += [ | 301 sources += [ |
303 "vaapi_tfp_picture.cc", | 302 "vaapi_tfp_picture.cc", |
304 "vaapi_tfp_picture.h", | 303 "vaapi_tfp_picture.h", |
305 ] | 304 ] |
306 } | 305 } |
307 if (use_ozone) { | 306 if (use_ozone) { |
308 sources += [ | 307 sources += [ |
309 "vaapi_drm_picture.cc", | 308 "vaapi_drm_picture.cc", |
310 "vaapi_drm_picture.h", | 309 "vaapi_drm_picture.h", |
311 ] | 310 ] |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 "video_encode_accelerator_unittest.cc", | 427 "video_encode_accelerator_unittest.cc", |
429 ] | 428 ] |
430 if (use_x11) { | 429 if (use_x11) { |
431 deps += [ "//ui/gfx/x" ] | 430 deps += [ "//ui/gfx/x" ] |
432 } | 431 } |
433 if (use_ozone) { | 432 if (use_ozone) { |
434 deps += [ "//ui/ozone" ] | 433 deps += [ "//ui/ozone" ] |
435 } | 434 } |
436 } | 435 } |
437 } | 436 } |
OLD | NEW |