| OLD | NEW | 
|---|
| 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 # There's a couple key GYP variables that control how FFmpeg is built: | 5 # There's a couple key GYP variables that control how FFmpeg is built: | 
| 6 #   ffmpeg_branding | 6 #   ffmpeg_branding | 
| 7 #     Controls whether we build the Chromium or Google Chrome version of | 7 #     Controls whether we build the Chromium or Google Chrome version of | 
| 8 #     FFmpeg.  The Google Chrome version contains additional codecs. | 8 #     FFmpeg.  The Google Chrome version contains additional codecs. | 
| 9 #     Typical values are Chromium, Chrome, ChromiumOS, and ChromeOS. | 9 #     Typical values are Chromium, Chrome, ChromiumOS, and ChromeOS. | 
| 10 #   use_system_ffmpeg | 10 #   use_system_ffmpeg | 
| (...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 749                          '-s', '<(stubs_filename_root)', | 749                          '-s', '<(stubs_filename_root)', | 
| 750                          '-p', '<(project_path)', | 750                          '-p', '<(project_path)', | 
| 751                          '<@(_inputs)', | 751                          '<@(_inputs)', | 
| 752               ], | 752               ], | 
| 753               'process_outputs_as_sources': 1, | 753               'process_outputs_as_sources': 1, | 
| 754               'message': 'Generating FFmpeg stubs for dynamic loading.', | 754               'message': 'Generating FFmpeg stubs for dynamic loading.', | 
| 755             }, | 755             }, | 
| 756           ], | 756           ], | 
| 757 | 757 | 
| 758           'conditions': [ | 758           'conditions': [ | 
| 759             # Non-Mac platforms need libdl for dlopen() and friends. | 759             # Linux/Solaris need libdl for dlopen() and friends. | 
| 760             ['OS!="mac"', { | 760             ['OS=="linux" or OS=="solaris"', { | 
| 761               'link_settings': { | 761               'link_settings': { | 
| 762                 'libraries': [ | 762                 'libraries': [ | 
| 763                   '-ldl', | 763                   '-ldl', | 
| 764                 ], | 764                 ], | 
| 765               }, | 765               }, | 
| 766             }], | 766             }], | 
| 767 | 767 | 
| 768             # Add pkg-config result to include path when use_system_ffmpeg!=0 | 768             # Add pkg-config result to include path when use_system_ffmpeg!=0 | 
| 769             ['use_system_ffmpeg!=0', { | 769             ['use_system_ffmpeg!=0', { | 
| 770               'cflags': [ | 770               'cflags': [ | 
| (...skipping 28 matching lines...) Expand all  Loading... | 
| 799       ],  # conditions | 799       ],  # conditions | 
| 800     }, | 800     }, | 
| 801   ],  # targets | 801   ],  # targets | 
| 802 } | 802 } | 
| 803 | 803 | 
| 804 # Local Variables: | 804 # Local Variables: | 
| 805 # tab-width:2 | 805 # tab-width:2 | 
| 806 # indent-tabs-mode:nil | 806 # indent-tabs-mode:nil | 
| 807 # End: | 807 # End: | 
| 808 # vim: set expandtab tabstop=2 shiftwidth=2: | 808 # vim: set expandtab tabstop=2 shiftwidth=2: | 
| OLD | NEW | 
|---|