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