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

Side by Side Diff: content/content_common.gypi

Issue 240113009: Enable HW VAVDA by libva-wayland backend. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 months 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 unified diff | Download patch
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'dependencies': [ 6 'dependencies': [
7 '../base/base.gyp:base', 7 '../base/base.gyp:base',
8 '../components/tracing.gyp:tracing', 8 '../components/tracing.gyp:tracing',
9 '../gpu/command_buffer/command_buffer.gyp:gles2_utils', 9 '../gpu/command_buffer/command_buffer.gyp:gles2_utils',
10 '../net/net.gyp:net', 10 '../net/net.gyp:net',
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 'include_dirs': [ 620 'include_dirs': [
621 '<(DEPTH)/third_party/khronos', 621 '<(DEPTH)/third_party/khronos',
622 ], 622 ],
623 'link_settings': { 623 'link_settings': {
624 'libraries': [ 624 'libraries': [
625 '-lEGL', 625 '-lEGL',
626 '-lGLESv2', 626 '-lGLESv2',
627 ], 627 ],
628 }, 628 },
629 }], 629 }],
630 ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', { 630 ['target_arch != "arm" and chromeos == 1', {
631 'sources': [ 631 'sources': [
632 'common/gpu/media/h264_dpb.cc', 632 'common/gpu/media/h264_dpb.cc',
633 'common/gpu/media/h264_dpb.h', 633 'common/gpu/media/h264_dpb.h',
634 'common/gpu/media/va_surface.h', 634 'common/gpu/media/va_surface.h',
635 'common/gpu/media/vaapi_h264_decoder.cc', 635 'common/gpu/media/vaapi_h264_decoder.cc',
636 'common/gpu/media/vaapi_h264_decoder.h', 636 'common/gpu/media/vaapi_h264_decoder.h',
637 'common/gpu/media/vaapi_video_decode_accelerator.cc',
638 'common/gpu/media/vaapi_video_decode_accelerator.h', 637 'common/gpu/media/vaapi_video_decode_accelerator.h',
639 'common/gpu/media/vaapi_wrapper.cc', 638 'common/gpu/media/vaapi_wrapper.cc',
640 'common/gpu/media/vaapi_wrapper.h', 639 'common/gpu/media/vaapi_wrapper.h',
641 ], 640 ],
641 'conditions': [
642 [ 'use_x11 == 1', {
643 'variables': {
644 'extra_header': 'common/gpu/media/va_stub_header.fragment',
645 'sig_files': ['common/gpu/media/va.sigs'],
646 },
647 'sources': [
648 'common/gpu/media/vaapi_video_decode_accelerator.cc',
649 ]
650 }],
651 [ 'use_ozone == 1', {
652 'variables': {
653 'extra_header': 'common/gpu/media/va_wayland_stub_header.fragment',
654 'sig_files': ['common/gpu/media/va_wayland.sigs'],
655 },
656 'link_settings': {
657 'libraries': [
658 '-lwayland-client',
Ami GONE FROM CHROMIUM 2014/04/18 22:40:25 is this a system library?
659 ],
660 },
661 'sources': [
662 'common/gpu/media/vaapi_video_decode_accelerator_wayland.cc',
663 ]
664 }],
665 ],
642 'variables': { 666 'variables': {
643 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', 667 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py',
644 'extra_header': 'common/gpu/media/va_stub_header.fragment',
645 'sig_files': ['common/gpu/media/va.sigs'],
646 'outfile_type': 'posix_stubs', 668 'outfile_type': 'posix_stubs',
647 'stubs_filename_root': 'va_stubs', 669 'stubs_filename_root': 'va_stubs',
648 'project_path': 'content/common/gpu/media', 670 'project_path': 'content/common/gpu/media',
649 'intermediate_dir': '<(INTERMEDIATE_DIR)', 671 'intermediate_dir': '<(INTERMEDIATE_DIR)',
650 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va', 672 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va',
651 }, 673 },
652 'include_dirs': [ 674 'include_dirs': [
653 '<(DEPTH)/third_party/libva', 675 '<(DEPTH)/third_party/libva',
654 '<(output_root)', 676 '<(output_root)',
655 ], 677 ],
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
750 'common/sandbox_linux/bpf_renderer_policy_linux.cc', 772 'common/sandbox_linux/bpf_renderer_policy_linux.cc',
751 'common/sandbox_linux/bpf_renderer_policy_linux.h', 773 'common/sandbox_linux/bpf_renderer_policy_linux.h',
752 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc', 774 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc',
753 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h', 775 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h',
754 ], 776 ],
755 }, { 777 }, {
756 'defines': ['USE_SECCOMP_BPF'], 778 'defines': ['USE_SECCOMP_BPF'],
757 }], 779 }],
758 ], 780 ],
759 } 781 }
OLDNEW
« content/common/gpu/media/vaapi_wrapper.h ('K') | « content/common/gpu/media/vaapi_wrapper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698