OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//content/common/common.gni") | 7 import("//content/common/common.gni") |
8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
9 import("//mojo/public/tools/bindings/mojom.gni") | 9 import("//mojo/public/tools/bindings/mojom.gni") |
10 if (is_mac) { | 10 if (is_mac) { |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 ] | 223 ] |
224 set_sources_assignment_filter(sources_assignment_filter) | 224 set_sources_assignment_filter(sources_assignment_filter) |
225 } | 225 } |
226 | 226 |
227 if (is_mac) { | 227 if (is_mac) { |
228 sources += [ | 228 sources += [ |
229 "gpu/client/gpu_memory_buffer_impl_io_surface.cc", | 229 "gpu/client/gpu_memory_buffer_impl_io_surface.cc", |
230 "gpu/client/gpu_memory_buffer_impl_io_surface.h", | 230 "gpu/client/gpu_memory_buffer_impl_io_surface.h", |
231 "gpu/gpu_memory_buffer_factory_io_surface.cc", | 231 "gpu/gpu_memory_buffer_factory_io_surface.cc", |
232 "gpu/gpu_memory_buffer_factory_io_surface.h", | 232 "gpu/gpu_memory_buffer_factory_io_surface.h", |
233 "gpu/media/vt.h", | 233 "gpu/media/vt_mac.h", |
234 "gpu/media/vt_video_decode_accelerator.cc", | 234 "gpu/media/vt_video_decode_accelerator_mac.cc", |
235 "gpu/media/vt_video_decode_accelerator.h", | 235 "gpu/media/vt_video_decode_accelerator_mac.h", |
236 ] + get_target_outputs(":libvt_generate_stubs") | 236 ] + get_target_outputs(":libvt_generate_stubs") |
237 | 237 |
238 sources -= [ "plugin_list_posix.cc" ] | 238 sources -= [ "plugin_list_posix.cc" ] |
239 | 239 |
240 deps += [ | 240 deps += [ |
241 ":libvt_generate_stubs", | 241 ":libvt_generate_stubs", |
242 "//content:resources", | 242 "//content:resources", |
243 "//content/app/resources", | 243 "//content/app/resources", |
244 "//third_party/WebKit/public:image_resources", | 244 "//third_party/WebKit/public:image_resources", |
245 "//third_party/WebKit/public:resources", | 245 "//third_party/WebKit/public:resources", |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 sources += [ | 461 sources += [ |
462 "gpu/media/vaapi_drm_picture.cc", | 462 "gpu/media/vaapi_drm_picture.cc", |
463 "gpu/media/vaapi_drm_picture.h", | 463 "gpu/media/vaapi_drm_picture.h", |
464 ] | 464 ] |
465 } | 465 } |
466 } | 466 } |
467 } | 467 } |
468 | 468 |
469 if (is_win) { | 469 if (is_win) { |
470 sources += [ | 470 sources += [ |
471 "gpu/media/dxva_video_decode_accelerator.cc", | 471 "gpu/media/dxva_video_decode_accelerator_win.cc", |
472 "gpu/media/dxva_video_decode_accelerator.h", | 472 "gpu/media/dxva_video_decode_accelerator_win.h", |
473 ] | 473 ] |
474 configs += [ "//third_party/khronos:khronos_headers" ] | 474 configs += [ "//third_party/khronos:khronos_headers" ] |
475 deps += [ "//ui/gl" ] | 475 deps += [ "//ui/gl" ] |
476 libs += [ | 476 libs += [ |
477 "d3d9.lib", | 477 "d3d9.lib", |
478 "d3d11.lib", | 478 "d3d11.lib", |
479 "dxva2.lib", | 479 "dxva2.lib", |
480 "strmiids.lib", | 480 "strmiids.lib", |
481 "mf.lib", | 481 "mf.lib", |
482 "mfplat.lib", | 482 "mfplat.lib", |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 import_dirs = [ "//mojo/services" ] | 545 import_dirs = [ "//mojo/services" ] |
546 | 546 |
547 deps = [ | 547 deps = [ |
548 "//components/mus/public/interfaces", | 548 "//components/mus/public/interfaces", |
549 "//content/public/common:mojo_bindings", | 549 "//content/public/common:mojo_bindings", |
550 "//mojo/application/public/interfaces", | 550 "//mojo/application/public/interfaces", |
551 "//skia/public/interfaces", | 551 "//skia/public/interfaces", |
552 "//ui/mojo/geometry:interfaces", | 552 "//ui/mojo/geometry:interfaces", |
553 ] | 553 ] |
554 } | 554 } |
OLD | NEW |