| 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("//build/config/headless_build.gni") | 7 import("//build/config/headless_build.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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 use_pulseaudio = true | 65 use_pulseaudio = true |
| 66 } | 66 } |
| 67 } | 67 } |
| 68 } | 68 } |
| 69 | 69 |
| 70 declare_args() { | 70 declare_args() { |
| 71 # Experiment to enable mojo media services (e.g. "renderer", "cdm", see | 71 # Experiment to enable mojo media services (e.g. "renderer", "cdm", see |
| 72 # |mojo_media_services|). When enabled, selected mojo paths will be enabled in | 72 # |mojo_media_services|). When enabled, selected mojo paths will be enabled in |
| 73 # the media pipeline and corresponding services will hosted in the selected | 73 # the media pipeline and corresponding services will hosted in the selected |
| 74 # remote process (e.g. "utility" process, see |mojo_media_host|). | 74 # remote process (e.g. "utility" process, see |mojo_media_host|). |
| 75 enable_mojo_media = false | 75 enable_mojo_media = is_android |
| 76 | 76 |
| 77 # Enable the TestMojoMediaClient to be used in MojoMediaApplication. This is | 77 # Enable the TestMojoMediaClient to be used in MojoMediaApplication. This is |
| 78 # for testing only and will override the default platform MojoMediaClient. | 78 # for testing only and will override the default platform MojoMediaClient. |
| 79 enable_test_mojo_media_client = false | 79 enable_test_mojo_media_client = false |
| 80 } | 80 } |
| 81 | 81 |
| 82 # Use a second declare_args() to pick up possible overrides of enable_mojo_media | 82 # Use a second declare_args() to pick up possible overrides of enable_mojo_media |
| 83 # from --args command line flags. See "gn help declare_args". | 83 # from --args command line flags. See "gn help declare_args". |
| 84 declare_args() { | 84 declare_args() { |
| 85 # A list of mojo media services that should be used in the media pipeline. | 85 # A list of mojo media services that should be used in the media pipeline. |
| (...skipping 30 matching lines...) Expand all Loading... |
| 116 "cdm", | 116 "cdm", |
| 117 "renderer", | 117 "renderer", |
| 118 ] | 118 ] |
| 119 mojo_media_host = "browser" | 119 mojo_media_host = "browser" |
| 120 } else { | 120 } else { |
| 121 mojo_media_services = [ "cdm" ] | 121 mojo_media_services = [ "cdm" ] |
| 122 mojo_media_host = "utility" | 122 mojo_media_host = "utility" |
| 123 } | 123 } |
| 124 } | 124 } |
| 125 } | 125 } |
| OLD | NEW |