OLD | NEW |
---|---|
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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 # Override to dynamically link the cras (ChromeOS audio) library. | 8 # Override to dynamically link the cras (ChromeOS audio) library. |
9 'use_cras%': 0, | 9 'use_cras%': 0, |
10 # Option e.g. for Linux distributions to link pulseaudio directly | 10 # Option e.g. for Linux distributions to link pulseaudio directly |
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
638 'filters/ffmpeg_demuxer.h', | 638 'filters/ffmpeg_demuxer.h', |
639 'filters/ffmpeg_glue.cc', | 639 'filters/ffmpeg_glue.cc', |
640 'filters/ffmpeg_glue.h', | 640 'filters/ffmpeg_glue.h', |
641 'filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc', | 641 'filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc', |
642 'filters/ffmpeg_h264_to_annex_b_bitstream_converter.h', | 642 'filters/ffmpeg_h264_to_annex_b_bitstream_converter.h', |
643 'filters/ffmpeg_video_decoder.cc', | 643 'filters/ffmpeg_video_decoder.cc', |
644 'filters/ffmpeg_video_decoder.h', | 644 'filters/ffmpeg_video_decoder.h', |
645 'filters/in_memory_url_protocol.cc', | 645 'filters/in_memory_url_protocol.cc', |
646 'filters/in_memory_url_protocol.h', | 646 'filters/in_memory_url_protocol.h', |
647 ], | 647 ], |
648 'defines': [ | |
649 'MEDIA_DISABLE_FFMPEG', | |
xhwang
2015/01/07 17:12:30
also add 'direct_dependent_settings' (same as l.66
Mostyn Bramley-Moore
2015/01/07 19:29:53
Done.
| |
650 ], | |
648 }], | 651 }], |
649 ['media_use_libvpx==1', { | 652 ['media_use_libvpx==1', { |
650 'dependencies': [ | 653 'dependencies': [ |
651 '<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx', | 654 '<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx', |
652 ], | 655 ], |
653 }, { # media_use_libvpx==0 | 656 }, { # media_use_libvpx==0 |
657 'defines': [ | |
658 'MEDIA_DISABLE_LIBVPX', | |
659 ], | |
654 'direct_dependent_settings': { | 660 'direct_dependent_settings': { |
655 'defines': [ | 661 'defines': [ |
656 'MEDIA_DISABLE_LIBVPX', | 662 'MEDIA_DISABLE_LIBVPX', |
657 ], | 663 ], |
658 }, | 664 }, |
659 # Exclude the sources that depend on libvpx. | 665 # Exclude the sources that depend on libvpx. |
660 'sources!': [ | 666 'sources!': [ |
661 'filters/vpx_video_decoder.cc', | 667 'filters/vpx_video_decoder.cc', |
662 'filters/vpx_video_decoder.h', | 668 'filters/vpx_video_decoder.h', |
663 ], | 669 ], |
(...skipping 1226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1890 '../build/isolate.gypi', | 1896 '../build/isolate.gypi', |
1891 ], | 1897 ], |
1892 'sources': [ | 1898 'sources': [ |
1893 'media_unittests.isolate', | 1899 'media_unittests.isolate', |
1894 ], | 1900 ], |
1895 }, | 1901 }, |
1896 ], | 1902 ], |
1897 }], | 1903 }], |
1898 ], | 1904 ], |
1899 } | 1905 } |
OLD | NEW |