OLD | NEW |
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 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
666 '<(DEPTH)/third_party/khronos', | 666 '<(DEPTH)/third_party/khronos', |
667 ], | 667 ], |
668 'link_settings': { | 668 'link_settings': { |
669 'libraries': [ | 669 'libraries': [ |
670 '-lEGL', | 670 '-lEGL', |
671 '-lGLESv2', | 671 '-lGLESv2', |
672 ], | 672 ], |
673 }, | 673 }, |
674 }], | 674 }], |
675 ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', { | 675 ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', { |
| 676 'dependencies': [ |
| 677 '../media/media.gyp:media', |
| 678 '../third_party/libyuv/libyuv.gyp:libyuv', |
| 679 ], |
676 'sources': [ | 680 'sources': [ |
677 'common/gpu/media/h264_dpb.cc', | 681 'common/gpu/media/h264_dpb.cc', |
678 'common/gpu/media/h264_dpb.h', | 682 'common/gpu/media/h264_dpb.h', |
679 'common/gpu/media/va_surface.h', | 683 'common/gpu/media/va_surface.h', |
680 'common/gpu/media/vaapi_h264_decoder.cc', | 684 'common/gpu/media/vaapi_h264_decoder.cc', |
681 'common/gpu/media/vaapi_h264_decoder.h', | 685 'common/gpu/media/vaapi_h264_decoder.h', |
682 'common/gpu/media/vaapi_video_decode_accelerator.cc', | 686 'common/gpu/media/vaapi_video_decode_accelerator.cc', |
683 'common/gpu/media/vaapi_video_decode_accelerator.h', | 687 'common/gpu/media/vaapi_video_decode_accelerator.h', |
| 688 'common/gpu/media/vaapi_video_encode_accelerator.cc', |
| 689 'common/gpu/media/vaapi_video_encode_accelerator.h', |
684 'common/gpu/media/vaapi_wrapper.cc', | 690 'common/gpu/media/vaapi_wrapper.cc', |
685 'common/gpu/media/vaapi_wrapper.h', | 691 'common/gpu/media/vaapi_wrapper.h', |
686 ], | 692 ], |
687 'variables': { | 693 'variables': { |
688 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', | 694 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', |
689 'extra_header': 'common/gpu/media/va_stub_header.fragment', | 695 'extra_header': 'common/gpu/media/va_stub_header.fragment', |
690 'sig_files': ['common/gpu/media/va.sigs'], | 696 'sig_files': ['common/gpu/media/va.sigs'], |
691 'outfile_type': 'posix_stubs', | 697 'outfile_type': 'posix_stubs', |
692 'stubs_filename_root': 'va_stubs', | 698 'stubs_filename_root': 'va_stubs', |
693 'project_path': 'content/common/gpu/media', | 699 'project_path': 'content/common/gpu/media', |
694 'intermediate_dir': '<(INTERMEDIATE_DIR)', | 700 'intermediate_dir': '<(INTERMEDIATE_DIR)', |
695 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va', | 701 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va', |
696 }, | 702 }, |
697 'include_dirs': [ | 703 'include_dirs': [ |
698 '<(DEPTH)/third_party/libva', | 704 '<(DEPTH)/third_party/libva', |
| 705 '<(DEPTH)/third_party/libyuv', |
699 '<(output_root)', | 706 '<(output_root)', |
700 ], | 707 ], |
701 'actions': [ | 708 'actions': [ |
702 { | 709 { |
703 'action_name': 'generate_stubs', | 710 'action_name': 'generate_stubs', |
704 'inputs': [ | 711 'inputs': [ |
705 '<(generate_stubs_script)', | 712 '<(generate_stubs_script)', |
706 '<(extra_header)', | 713 '<(extra_header)', |
707 '<@(sig_files)', | 714 '<@(sig_files)', |
708 ], | 715 ], |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
795 'common/sandbox_linux/bpf_renderer_policy_linux.cc', | 802 'common/sandbox_linux/bpf_renderer_policy_linux.cc', |
796 'common/sandbox_linux/bpf_renderer_policy_linux.h', | 803 'common/sandbox_linux/bpf_renderer_policy_linux.h', |
797 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc', | 804 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc', |
798 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h', | 805 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h', |
799 ], | 806 ], |
800 }, { | 807 }, { |
801 'defines': ['USE_SECCOMP_BPF'], | 808 'defines': ['USE_SECCOMP_BPF'], |
802 }], | 809 }], |
803 ], | 810 ], |
804 } | 811 } |
OLD | NEW |