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

Side by Side Diff: third_party/ffmpeg/ffmpeg.gyp

Issue 854006: Revert 41386 - Removed custom FFmpegLock. Removed ffmpeg headers from third_p... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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 | Annotate | Revision Log
« no previous file with comments | « third_party/ffmpeg/avcodec-52.sigs ('k') | third_party/ffmpeg/ffmpeg_stub_headers.fragment » ('j') | 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) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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 # TODO(fbarchard): Turn off --enable-memalign-hack for all but windows. 5 # TODO(fbarchard): Turn off --enable-memalign-hack for all but windows.
6 # TODO(ajwong): Determine if we want to statically link libz. 6 # TODO(ajwong): Determine if we want to statically link libz.
7 7
8 8
9 9
10 { 10 {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 'conditions': [ 54 'conditions': [
55 # This condition is for migrating from pre-built binaries to an in-tree 55 # This condition is for migrating from pre-built binaries to an in-tree
56 # source build. Most of these should be removed once FFmpeg is built on 56 # source build. Most of these should be removed once FFmpeg is built on
57 # mac and linux. Windows will take more work. 57 # mac and linux. Windows will take more work.
58 # 58 #
59 # TODO(ajwong): Per the comment above, reduce this conditional's size and 59 # TODO(ajwong): Per the comment above, reduce this conditional's size and
60 # determine if in-tree build in Windows is tractable. 60 # determine if in-tree build in Windows is tractable.
61 ['(OS!="linux" and OS!="freebsd" and OS!="openbsd" and OS!="solaris" and OS! ="mac") or use_system_ffmpeg!=0', { 61 ['(OS!="linux" and OS!="freebsd" and OS!="openbsd" and OS!="solaris" and OS! ="mac") or use_system_ffmpeg!=0', {
62 'variables': { 62 'variables': {
63 'target_for_binaries': 'ffmpeg_binaries', 63 'target_for_binaries': 'ffmpeg_binaries',
64 'ffmpeg_include_root': 'source/patched-ffmpeg-mt', 64 'ffmpeg_include_root': 'include',
65 }, 65 },
66 },{ # else OS=="linux" 66 },{ # else OS=="linux"
67 'variables': { 67 'variables': {
68 'target_for_binaries': 'ffmpegsumo_nolink', 68 'target_for_binaries': 'ffmpegsumo_nolink',
69 'ffmpeg_include_root': 'source/patched-ffmpeg-mt', 69 'ffmpeg_include_root': 'source/patched-ffmpeg-mt',
70 'conditions': [ 70 'conditions': [
71 ['target_arch=="x64" or target_arch=="ia32"', { 71 ['target_arch=="x64" or target_arch=="ia32"', {
72 'ffmpeg_asm_lib': 1, 72 'ffmpeg_asm_lib': 1,
73 }], 73 }],
74 ['target_arch=="arm"', { 74 ['target_arch=="arm"', {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 'source/patched-ffmpeg-mt/libavutil/mem.c', 129 'source/patched-ffmpeg-mt/libavutil/mem.c',
130 'source/patched-ffmpeg-mt/libavutil/pixdesc.c', # TODO(fbarchard): R eview this file. 130 'source/patched-ffmpeg-mt/libavutil/pixdesc.c', # TODO(fbarchard): R eview this file.
131 'source/patched-ffmpeg-mt/libavutil/rational.c', 131 'source/patched-ffmpeg-mt/libavutil/rational.c',
132 # Config file for the OS and architecture. 132 # Config file for the OS and architecture.
133 'source/config/<(ffmpeg_branding)/<(OS)/<(ffmpeg_config)/config.h', 133 'source/config/<(ffmpeg_branding)/<(OS)/<(ffmpeg_config)/config.h',
134 'source/config/libavutil/avconfig.h', 134 'source/config/libavutil/avconfig.h',
135 ], 135 ],
136 'include_dirs': [ 136 'include_dirs': [
137 'source/config/<(ffmpeg_branding)/<(OS)/<(ffmpeg_config)', 137 'source/config/<(ffmpeg_branding)/<(OS)/<(ffmpeg_config)',
138 'source/patched-ffmpeg-mt', 138 'source/patched-ffmpeg-mt',
139 'source/config', 139 » 'source/config',
140 ], 140 ],
141 'defines': [ 141 'defines': [
142 'HAVE_AV_CONFIG_H', 142 'HAVE_AV_CONFIG_H',
143 '_POSIX_C_SOURCE=200112', 143 '_POSIX_C_SOURCE=200112',
144 ], 144 ],
145 'cflags': [ 145 'cflags': [
146 '-fomit-frame-pointer', 146 '-fomit-frame-pointer',
147 ], 147 ],
148 'conditions': [ 148 'conditions': [
149 ['ffmpeg_branding=="Chrome" or ffmpeg_branding=="ChromeOS"', { 149 ['ffmpeg_branding=="Chrome" or ffmpeg_branding=="ChromeOS"', {
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 'include/win/inttypes.h', 635 'include/win/inttypes.h',
636 'include/win/stdint.h', 636 'include/win/stdint.h',
637 637
638 # Files needed for stub generation rules. 638 # Files needed for stub generation rules.
639 '<@(sig_files)', 639 '<@(sig_files)',
640 '<(extra_header)' 640 '<(extra_header)'
641 ], 641 ],
642 'hard_dependency': 1, 642 'hard_dependency': 1,
643 'direct_dependent_settings': { 643 'direct_dependent_settings': {
644 'include_dirs': [ 644 'include_dirs': [
645 'source/patched-ffmpeg-mt', 645 'include',
646 'source/config',
647 ], 646 ],
648 }, 647 },
649 'conditions': [ 648 'conditions': [
650 ['OS=="win"', 649 ['OS=="win"',
651 { 650 {
652 'variables': { 651 'variables': {
653 'outfile_type': 'windows_lib', 652 'outfile_type': 'windows_lib',
654 'output_dir': '<(PRODUCT_DIR)/lib', 653 'output_dir': '<(PRODUCT_DIR)/lib',
655 'intermediate_dir': '<(INTERMEDIATE_DIR)', 654 'intermediate_dir': '<(INTERMEDIATE_DIR)',
656 }, 655 },
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 }, { # else OS!="win" 701 }, { # else OS!="win"
703 'variables': { 702 'variables': {
704 'outfile_type': 'posix_stubs', 703 'outfile_type': 'posix_stubs',
705 'stubs_filename_root': 'ffmpeg_stubs', 704 'stubs_filename_root': 'ffmpeg_stubs',
706 'project_path': 'third_party/ffmpeg', 705 'project_path': 'third_party/ffmpeg',
707 'intermediate_dir': '<(INTERMEDIATE_DIR)', 706 'intermediate_dir': '<(INTERMEDIATE_DIR)',
708 'output_root': '<(SHARED_INTERMEDIATE_DIR)/ffmpeg', 707 'output_root': '<(SHARED_INTERMEDIATE_DIR)/ffmpeg',
709 }, 708 },
710 'type': '<(library)', 709 'type': '<(library)',
711 'include_dirs': [ 710 'include_dirs': [
712 'source/patched-ffmpeg-mt', 711 'include',
713 'source/config',
714 '<(output_root)', 712 '<(output_root)',
715 '../..', # The chromium 'src' directory. 713 '../..', # The chromium 'src' directory.
716 ], 714 ],
717 'direct_dependent_settings': { 715 'direct_dependent_settings': {
718 'defines': [ 716 'defines': [
719 '__STDC_CONSTANT_MACROS', # FFmpeg uses INT64_C. 717 '__STDC_CONSTANT_MACROS', # FFmpeg uses INT64_C.
720 ], 718 ],
721 'include_dirs': [ 719 'include_dirs': [
722 '<(output_root)', 720 '<(output_root)',
723 '../..', # The chromium 'src' directory. 721 '../..', # The chromium 'src' directory.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 ], 810 ],
813 }, 811 },
814 ], 812 ],
815 } 813 }
816 814
817 # Local Variables: 815 # Local Variables:
818 # tab-width:2 816 # tab-width:2
819 # indent-tabs-mode:nil 817 # indent-tabs-mode:nil
820 # End: 818 # End:
821 # vim: set expandtab tabstop=2 shiftwidth=2: 819 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « third_party/ffmpeg/avcodec-52.sigs ('k') | third_party/ffmpeg/ffmpeg_stub_headers.fragment » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698