| 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 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 741 'filters/ffmpeg_video_decoder.h', | 741 'filters/ffmpeg_video_decoder.h', |
| 742 ], | 742 ], |
| 743 'defines': [ | 743 'defines': [ |
| 744 'DISABLE_USER_INPUT_MONITOR', | 744 'DISABLE_USER_INPUT_MONITOR', |
| 745 ], | 745 ], |
| 746 'conditions': [ | 746 'conditions': [ |
| 747 ['media_use_ffmpeg == 1', { | 747 ['media_use_ffmpeg == 1', { |
| 748 'defines': [ | 748 'defines': [ |
| 749 # On Android, FFmpeg is built without video decoders. We only | 749 # On Android, FFmpeg is built without video decoders. We only |
| 750 # support hardware video decoding. | 750 # support hardware video decoding. |
| 751 'ENABLE_MEDIA_PIPELINE_ON_ANDROID', | |
| 752 'DISABLE_FFMPEG_VIDEO_DECODERS', | 751 'DISABLE_FFMPEG_VIDEO_DECODERS', |
| 753 ], | 752 ], |
| 754 'direct_dependent_settings': { | 753 'direct_dependent_settings': { |
| 755 'defines': [ | 754 'defines': [ |
| 756 'ENABLE_MEDIA_PIPELINE_ON_ANDROID', | |
| 757 'DISABLE_FFMPEG_VIDEO_DECODERS', | 755 'DISABLE_FFMPEG_VIDEO_DECODERS', |
| 758 ], | 756 ], |
| 759 }, | 757 }, |
| 760 }, { # media_use_ffmpeg == 0 | |
| 761 'sources!': [ | |
| 762 'filters/opus_audio_decoder.cc', | |
| 763 'filters/opus_audio_decoder.h', | |
| 764 ], | |
| 765 }], | 758 }], |
| 766 ], | 759 ], |
| 767 }], | 760 }], |
| 768 # For VaapiVideoEncodeAccelerator. | 761 # For VaapiVideoEncodeAccelerator. |
| 769 ['target_arch != "arm" and chromeos == 1', { | 762 ['target_arch != "arm" and chromeos == 1', { |
| 770 'sources': [ | 763 'sources': [ |
| 771 'filters/h264_bitstream_buffer.cc', | 764 'filters/h264_bitstream_buffer.cc', |
| 772 'filters/h264_bitstream_buffer.h', | 765 'filters/h264_bitstream_buffer.h', |
| 773 ], | 766 ], |
| 774 }], | 767 }], |
| (...skipping 1350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2125 'dependencies': [ | 2118 'dependencies': [ |
| 2126 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 2119 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| 2127 ], | 2120 ], |
| 2128 }], | 2121 }], |
| 2129 ], | 2122 ], |
| 2130 }, | 2123 }, |
| 2131 ], | 2124 ], |
| 2132 }], | 2125 }], |
| 2133 ], | 2126 ], |
| 2134 } | 2127 } |
| OLD | NEW |