Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/chromecast_build.gni") | 5 import("//build/config/chromecast_build.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//testing/libfuzzer/fuzzer_test.gni") | 7 import("//testing/libfuzzer/fuzzer_test.gni") |
| 8 | 8 |
| 9 declare_args() { | 9 declare_args() { |
| 10 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of | 10 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of |
| (...skipping 26 matching lines...) Expand all Loading... | |
| 37 # it only provides demuxing, and is only useful for AC3/EAC3 audio | 37 # it only provides demuxing, and is only useful for AC3/EAC3 audio |
| 38 # pass-through to HDMI sink on Chromecast. | 38 # pass-through to HDMI sink on Chromecast. |
| 39 enable_ac3_eac3_audio_demuxing = proprietary_codecs && is_chromecast | 39 enable_ac3_eac3_audio_demuxing = proprietary_codecs && is_chromecast |
| 40 | 40 |
| 41 enable_mse_mpeg2ts_stream_parser = | 41 enable_mse_mpeg2ts_stream_parser = |
| 42 (proprietary_codecs && is_chromecast) || use_libfuzzer || use_afl | 42 (proprietary_codecs && is_chromecast) || use_libfuzzer || use_afl |
| 43 | 43 |
| 44 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the | 44 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the |
| 45 # platform. Enable by default for Chromecast. | 45 # platform. Enable by default for Chromecast. |
| 46 enable_hevc_demuxing = proprietary_codecs && is_chromecast | 46 enable_hevc_demuxing = proprietary_codecs && is_chromecast |
| 47 | |
| 48 # Enables MIDI implementation using WinRT APIs on Windows 10. | |
| 49 # TODO(shaochuan): Switch to using a runtime flag to choose between | |
| 50 # implementations. | |
| 51 midi_use_winrt = false | |
|
Takashi Toyoshima
2016/08/16 09:30:28
I think it's fine to submit current CL with some T
Shao-Chuan Lee
2016/08/18 08:48:56
Done.
| |
| 47 } | 52 } |
| 48 | 53 |
| 49 # Use a second declare_args() to pick up possible overrides of |use_cras|. | 54 # Use a second declare_args() to pick up possible overrides of |use_cras|. |
| 50 declare_args() { | 55 declare_args() { |
| 51 # Enables runtime selection of PulseAudio library. | 56 # Enables runtime selection of PulseAudio library. |
| 52 use_pulseaudio = false | 57 use_pulseaudio = false |
| 53 | 58 |
| 54 # Enables runtime selection of ALSA library for audio. | 59 # Enables runtime selection of ALSA library for audio. |
| 55 use_alsa = false | 60 use_alsa = false |
| 56 | 61 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 116 "cdm", | 121 "cdm", |
| 117 "renderer", | 122 "renderer", |
| 118 ] | 123 ] |
| 119 mojo_media_host = "browser" | 124 mojo_media_host = "browser" |
| 120 } else { | 125 } else { |
| 121 mojo_media_services = [ "video_decoder" ] | 126 mojo_media_services = [ "video_decoder" ] |
| 122 mojo_media_host = "gpu" | 127 mojo_media_host = "gpu" |
| 123 } | 128 } |
| 124 } | 129 } |
| 125 } | 130 } |
| OLD | NEW |