| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 declare_args() { | 68 declare_args() { |
| 69 # Experiment to enable mojo media services (e.g. "renderer", "cdm", see | 69 # Experiment to enable mojo media services (e.g. "renderer", "cdm", see |
| 70 # |mojo_media_services|). When enabled, selected mojo paths will be enabled in | 70 # |mojo_media_services|). When enabled, selected mojo paths will be enabled in |
| 71 # the media pipeline and corresponding services will hosted in the selected | 71 # the media pipeline and corresponding services will hosted in the selected |
| 72 # remote process (e.g. "utility" process, see |mojo_media_host|). | 72 # remote process (e.g. "utility" process, see |mojo_media_host|). |
| 73 enable_mojo_media = is_android | 73 enable_mojo_media = is_android |
| 74 | 74 |
| 75 # Enable the TestMojoMediaClient to be used in MojoMediaApplication. This is | 75 # Enable the TestMojoMediaClient to be used in MojoMediaApplication. This is |
| 76 # for testing only and will override the default platform MojoMediaClient. | 76 # for testing only and will override the default platform MojoMediaClient. |
| 77 enable_test_mojo_media_client = false | 77 enable_test_mojo_media_client = false |
| 78 |
| 79 # Enable and force the use of the Mojo MediaPlayerRenderer. |
| 80 # This flag is unafected by the |mojo_media_services|, because the service |
| 81 # will always live in the browser process, regarless of |mojo_media_host|. |
| 82 force_mojo_media_player_renderer = false |
| 78 } | 83 } |
| 79 | 84 |
| 80 # Use a second declare_args() to pick up possible overrides of enable_mojo_media | 85 # Use a second declare_args() to pick up possible overrides of enable_mojo_media |
| 81 # from --args command line flags. See "gn help declare_args". | 86 # from --args command line flags. See "gn help declare_args". |
| 82 declare_args() { | 87 declare_args() { |
| 83 # A list of mojo media services that should be used in the media pipeline. | 88 # A list of mojo media services that should be used in the media pipeline. |
| 84 # Must not be empty if |enable_mojo_media| is true. | 89 # Must not be empty if |enable_mojo_media| is true. |
| 85 # Valid entries in the list are: | 90 # Valid entries in the list are: |
| 86 # - "renderer": Use mojo-based media Renderer service. | 91 # - "renderer": Use mojo-based media Renderer service. |
| 87 # - "cdm": Use mojo-based Content Decryption Module. | 92 # - "cdm": Use mojo-based Content Decryption Module. |
| (...skipping 26 matching lines...) Expand all Loading... |
| 114 "cdm", | 119 "cdm", |
| 115 "renderer", | 120 "renderer", |
| 116 ] | 121 ] |
| 117 mojo_media_host = "browser" | 122 mojo_media_host = "browser" |
| 118 } else { | 123 } else { |
| 119 mojo_media_services = [ "video_decoder" ] | 124 mojo_media_services = [ "video_decoder" ] |
| 120 mojo_media_host = "gpu" | 125 mojo_media_host = "gpu" |
| 121 } | 126 } |
| 122 } | 127 } |
| 123 } | 128 } |
| OLD | NEW |