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

Side by Side Diff: content/content_common.gypi

Issue 179543002: Use generate_stubs.py for VAAPI symbols. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change based on r253651, added vaMaxNumProfiles and vaQueryConfigProfiles Created 6 years, 9 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 '../net/net.gyp:net', 9 '../net/net.gyp:net',
10 '../skia/skia.gyp:skia', 10 '../skia/skia.gyp:skia',
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 'common/gpu/media/h264_dpb.cc', 572 'common/gpu/media/h264_dpb.cc',
573 'common/gpu/media/h264_dpb.h', 573 'common/gpu/media/h264_dpb.h',
574 'common/gpu/media/va_surface.h', 574 'common/gpu/media/va_surface.h',
575 'common/gpu/media/vaapi_h264_decoder.cc', 575 'common/gpu/media/vaapi_h264_decoder.cc',
576 'common/gpu/media/vaapi_h264_decoder.h', 576 'common/gpu/media/vaapi_h264_decoder.h',
577 'common/gpu/media/vaapi_video_decode_accelerator.cc', 577 'common/gpu/media/vaapi_video_decode_accelerator.cc',
578 'common/gpu/media/vaapi_video_decode_accelerator.h', 578 'common/gpu/media/vaapi_video_decode_accelerator.h',
579 'common/gpu/media/vaapi_wrapper.cc', 579 'common/gpu/media/vaapi_wrapper.cc',
580 'common/gpu/media/vaapi_wrapper.h', 580 'common/gpu/media/vaapi_wrapper.h',
581 ], 581 ],
582 'variables': {
583 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py',
584 'extra_header': 'common/gpu/media/va_stub_header.fragment',
585 'sig_files': ['common/gpu/media/va.sigs'],
586 'outfile_type': 'posix_stubs',
587 'stubs_filename_root': 'va_stubs',
588 'project_path': 'content/common/gpu/media',
589 'intermediate_dir': '<(INTERMEDIATE_DIR)',
590 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va',
591 },
582 'include_dirs': [ 592 'include_dirs': [
583 '<(DEPTH)/third_party/libva', 593 '<(DEPTH)/third_party/libva',
594 '<(output_root)',
584 ], 595 ],
596 'actions': [
597 {
598 'action_name': 'generate_stubs',
599 'inputs': [
600 '<(generate_stubs_script)',
601 '<(extra_header)',
602 '<@(sig_files)',
603 ],
604 'outputs': [
605 '<(intermediate_dir)/<(stubs_filename_root).cc',
606 '<(output_root)/<(project_path)/<(stubs_filename_root).h',
607 ],
608 'action': ['python',
609 '<(generate_stubs_script)',
610 '-i', '<(intermediate_dir)',
611 '-o', '<(output_root)/<(project_path)',
612 '-t', '<(outfile_type)',
613 '-e', '<(extra_header)',
614 '-s', '<(stubs_filename_root)',
615 '-p', '<(project_path)',
616 '<@(_inputs)',
617 ],
618 'process_outputs_as_sources': 1,
619 'message': 'Generating libva stubs for dynamic loading',
620 },
621 ]
585 }], 622 }],
586 ['OS=="win"', { 623 ['OS=="win"', {
587 'dependencies': [ 624 'dependencies': [
588 '../media/media.gyp:media', 625 '../media/media.gyp:media',
589 '../ui/gl/gl.gyp:gl', 626 '../ui/gl/gl.gyp:gl',
590 ], 627 ],
591 'link_settings': { 628 'link_settings': {
592 'libraries': [ 629 'libraries': [
593 '-ld3d9.lib', 630 '-ld3d9.lib',
594 '-ldxva2.lib', 631 '-ldxva2.lib',
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 'common/sandbox_linux/bpf_renderer_policy_linux.cc', 688 'common/sandbox_linux/bpf_renderer_policy_linux.cc',
652 'common/sandbox_linux/bpf_renderer_policy_linux.h', 689 'common/sandbox_linux/bpf_renderer_policy_linux.h',
653 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc', 690 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc',
654 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h', 691 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h',
655 ], 692 ],
656 }, { 693 }, {
657 'defines': ['USE_SECCOMP_BPF'], 694 'defines': ['USE_SECCOMP_BPF'],
658 }], 695 }],
659 ], 696 ],
660 } 697 }
OLDNEW
« content/common/gpu/media/vaapi_wrapper.cc ('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