| 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 '../net/net.gyp:net', | 9 '../net/net.gyp:net', |
| 10 '../skia/skia.gyp:skia', | 10 '../skia/skia.gyp:skia', |
| (...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 562 'common/gpu/media/h264_dpb.cc', | 562 'common/gpu/media/h264_dpb.cc', |
| 563 'common/gpu/media/h264_dpb.h', | 563 'common/gpu/media/h264_dpb.h', |
| 564 'common/gpu/media/va_surface.h', | 564 'common/gpu/media/va_surface.h', |
| 565 'common/gpu/media/vaapi_h264_decoder.cc', | 565 'common/gpu/media/vaapi_h264_decoder.cc', |
| 566 'common/gpu/media/vaapi_h264_decoder.h', | 566 'common/gpu/media/vaapi_h264_decoder.h', |
| 567 'common/gpu/media/vaapi_video_decode_accelerator.cc', | 567 'common/gpu/media/vaapi_video_decode_accelerator.cc', |
| 568 'common/gpu/media/vaapi_video_decode_accelerator.h', | 568 'common/gpu/media/vaapi_video_decode_accelerator.h', |
| 569 'common/gpu/media/vaapi_wrapper.cc', | 569 'common/gpu/media/vaapi_wrapper.cc', |
| 570 'common/gpu/media/vaapi_wrapper.h', | 570 'common/gpu/media/vaapi_wrapper.h', |
| 571 ], | 571 ], |
| 572 'variables': { |
| 573 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', |
| 574 'extra_header': 'common/gpu/media/va_stub_header.fragment', |
| 575 'sig_files': ['common/gpu/media/va.sigs'], |
| 576 'outfile_type': 'posix_stubs', |
| 577 'stubs_filename_root': 'va_stubs', |
| 578 'project_path': 'common/gpu/media', |
| 579 'intermediate_dir': '<(INTERMEDIATE_DIR)', |
| 580 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va', |
| 581 }, |
| 572 'include_dirs': [ | 582 'include_dirs': [ |
| 573 '<(DEPTH)/third_party/libva', | 583 '<(DEPTH)/third_party/libva', |
| 584 '<(output_root)', |
| 574 ], | 585 ], |
| 586 'actions': [ |
| 587 { |
| 588 'action_name': 'generate_stubs', |
| 589 'inputs': [ |
| 590 '<(generate_stubs_script)', |
| 591 '<(extra_header)', |
| 592 '<@(sig_files)', |
| 593 ], |
| 594 'outputs': [ |
| 595 '<(intermediate_dir)/<(stubs_filename_root).cc', |
| 596 '<(output_root)/<(project_path)/<(stubs_filename_root).h', |
| 597 ], |
| 598 'action': ['python', |
| 599 '<(generate_stubs_script)', |
| 600 '-i', '<(intermediate_dir)', |
| 601 '-o', '<(output_root)/<(project_path)', |
| 602 '-t', '<(outfile_type)', |
| 603 '-e', '<(extra_header)', |
| 604 '-s', '<(stubs_filename_root)', |
| 605 '-p', '<(project_path)', |
| 606 '<@(_inputs)', |
| 607 ], |
| 608 'process_outputs_as_sources': 1, |
| 609 'message': 'Generating libva stubs for dynamic loading', |
| 610 }, |
| 611 ] |
| 575 }], | 612 }], |
| 576 ['OS=="win"', { | 613 ['OS=="win"', { |
| 577 'dependencies': [ | 614 'dependencies': [ |
| 578 '../media/media.gyp:media', | 615 '../media/media.gyp:media', |
| 579 '../ui/gl/gl.gyp:gl', | 616 '../ui/gl/gl.gyp:gl', |
| 580 ], | 617 ], |
| 581 'link_settings': { | 618 'link_settings': { |
| 582 'libraries': [ | 619 'libraries': [ |
| 583 '-ld3d9.lib', | 620 '-ld3d9.lib', |
| 584 '-ldxva2.lib', | 621 '-ldxva2.lib', |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 'common/sandbox_linux/bpf_renderer_policy_linux.cc', | 678 'common/sandbox_linux/bpf_renderer_policy_linux.cc', |
| 642 'common/sandbox_linux/bpf_renderer_policy_linux.h', | 679 'common/sandbox_linux/bpf_renderer_policy_linux.h', |
| 643 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc', | 680 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc', |
| 644 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h', | 681 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h', |
| 645 ], | 682 ], |
| 646 }, { | 683 }, { |
| 647 'defines': ['USE_SECCOMP_BPF'], | 684 'defines': ['USE_SECCOMP_BPF'], |
| 648 }], | 685 }], |
| 649 ], | 686 ], |
| 650 } | 687 } |
| OLD | NEW |