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

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

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