Chromecast GN variable disable_display should be renamed |
||
Issue description//build/config/chromecast_build.gni declares a "disable_display" build variable. This is a poor name for a variable in a file that will be included in lots of places and appear in the args list of all Chrome developers. "Display" could mean any number of things. Also, flags should be named in the affirmative so you're not dealing with double-negatives and "disabling a disable". So can this be changed to: chromecast_enable_display = true
,
Jul 13 2016
Thanks for the fast update.
,
Aug 10 2016
Any progress on this?
,
Aug 23 2016
Hey Brett, will have updates shortly.
,
Sep 1 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/a0671e41e14616132fcc8d2bde0c8349e15f334a commit a0671e41e14616132fcc8d2bde0c8349e15f334a Author: slan <slan@chromium.org> Date: Thu Sep 01 13:40:19 2016 [Chromecast] Rename disable_display flag to is_cast_audio_only. The disable_display flag is problematic in two ways: * It is not obviously Cast-specific from the name. * It is not named in the affirmative. Fix these two problems by renaming this flag to is_cast_audio_only. BUG= 627641 Review-Url: https://codereview.chromium.org/2288283002 Cr-Commit-Position: refs/heads/master@{#415941} [modify] https://crrev.com/a0671e41e14616132fcc8d2bde0c8349e15f334a/build/config/chromecast_build.gni [modify] https://crrev.com/a0671e41e14616132fcc8d2bde0c8349e15f334a/chromecast/BUILD.gn [modify] https://crrev.com/a0671e41e14616132fcc8d2bde0c8349e15f334a/chromecast/browser/cast_browser_main_parts.cc [modify] https://crrev.com/a0671e41e14616132fcc8d2bde0c8349e15f334a/chromecast/browser/test/chromecast_shell_browser_test.cc [modify] https://crrev.com/a0671e41e14616132fcc8d2bde0c8349e15f334a/chromecast/media/cma/backend/media_pipeline_backend_manager.cc [modify] https://crrev.com/a0671e41e14616132fcc8d2bde0c8349e15f334a/media/media_options.gni [modify] https://crrev.com/a0671e41e14616132fcc8d2bde0c8349e15f334a/ui/ozone/ozone.gni [modify] https://crrev.com/a0671e41e14616132fcc8d2bde0c8349e15f334a/ui/ozone/platform/cast/ozone_platform_cast.cc
,
Sep 1 2016
Fixed everywhere. |
||
►
Sign in to add a comment |
||
Comment 1 by s...@chromium.org
, Jul 12 2016