forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix gn mojo_media arg overrides in //media/media_options.gni
https://chromium-review.googlesource.com/959446 broke the ability to reliably override mojo_media_services or mojo_media_host with gn args. Fix by calculating the default values before declare_args in helper variables, having args overrides apply, and asserting the constraints on defaults only. Fixes gn gen with args such as target_os="android" mojo_media_services=["cdm"] which would fail with a "Replacing nonempty list" gn error. Change-Id: Ia6aeaedfb4c40ba681e9c1500545ddd55cbdb0f1 Reviewed-on: https://chromium-review.googlesource.com/1092731 Commit-Queue: Tomasz Śniatowski <tsniatowski@vewd.com> Reviewed-by: Xiaohan Wang <xhwang@chromium.org> Cr-Commit-Position: refs/heads/master@{#567888}
- Loading branch information
Showing
1 changed file
with
41 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters