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