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

Side by Side Diff: content/content_common.gypi

Issue 340933002: Add VTSupport for dynamically linking VideoToolbox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nit. Created 6 years, 6 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
« no previous file with comments | « content/common/gpu/media/vt_stubs_header.fragment ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 '../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 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 ], 574 ],
575 'sources!': [ 575 'sources!': [
576 'common/plugin_list_posix.cc', 576 'common/plugin_list_posix.cc',
577 ], 577 ],
578 'link_settings': { 578 'link_settings': {
579 'libraries': [ 579 'libraries': [
580 '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework', 580 '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework',
581 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', 581 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
582 ], 582 ],
583 }, 583 },
584 'variables': {
585 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py',
586 'extra_header': 'common/gpu/media/vt_stubs_header.fragment',
587 'sig_files': ['common/gpu/media/vt.sig'],
588 'outfile_type': 'posix_stubs',
589 'stubs_filename_root': 'vt_stubs',
590 'project_path': 'content/common/gpu/media',
591 'intermediate_dir': '<(INTERMEDIATE_DIR)',
592 'output_root': '<(SHARED_INTERMEDIATE_DIR)/vt_stubs',
593 },
594 'include_dirs': [
595 '<(output_root)',
596 ],
597 'actions': [
598 {
599 'action_name': 'generate_stubs',
600 'inputs': [
601 '<(generate_stubs_script)',
602 '<(extra_header)',
603 '<@(sig_files)',
604 ],
605 'outputs': [
606 '<(intermediate_dir)/<(stubs_filename_root).cc',
607 '<(output_root)/<(project_path)/<(stubs_filename_root).h',
608 ],
609 'action': ['python',
610 '<(generate_stubs_script)',
611 '-i', '<(intermediate_dir)',
612 '-o', '<(output_root)/<(project_path)',
613 '-t', '<(outfile_type)',
614 '-e', '<(extra_header)',
615 '-s', '<(stubs_filename_root)',
616 '-p', '<(project_path)',
617 '<@(_inputs)',
618 ],
619 'process_outputs_as_sources': 1,
620 'message': 'Generating VideoToolbox stubs for dynamic loading',
621 },
622 ],
584 }], 623 }],
585 ['OS=="android"',{ 624 ['OS=="android"',{
586 'sources': [ 625 'sources': [
587 'common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc', 626 'common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc',
588 'common/gpu/client/gpu_memory_buffer_impl_surface_texture.h', 627 'common/gpu/client/gpu_memory_buffer_impl_surface_texture.h',
589 ], 628 ],
590 'link_settings': { 629 'link_settings': {
591 'libraries': [ 630 'libraries': [
592 '-landroid', # ANativeWindow 631 '-landroid', # ANativeWindow
593 ], 632 ],
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 'common/sandbox_linux/bpf_renderer_policy_linux.cc', 838 'common/sandbox_linux/bpf_renderer_policy_linux.cc',
800 'common/sandbox_linux/bpf_renderer_policy_linux.h', 839 'common/sandbox_linux/bpf_renderer_policy_linux.h',
801 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc', 840 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc',
802 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h', 841 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h',
803 ], 842 ],
804 }, { 843 }, {
805 'defines': ['USE_SECCOMP_BPF'], 844 'defines': ['USE_SECCOMP_BPF'],
806 }], 845 }],
807 ], 846 ],
808 } 847 }
OLDNEW
« no previous file with comments | « content/common/gpu/media/vt_stubs_header.fragment ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698