This adds a new environment variable EXTRA_FLAGS so we can extend the existing flags passed to Chromium instead of clobbering them all with FLAGS and trying to reproduce the whole list ourselves.
For example, for our IoT project we need --audio-buffer-size=2048 and --audio-output-channels=8, so we can do this:
This adds a new environment variable EXTRA_FLAGS so we can extend the existing flags passed to Chromium instead of clobbering them all with FLAGS and trying to reproduce the whole list ourselves.
For example, for our IoT project we need
--audio-buffer-size=2048
and--audio-output-channels=8
, so we can do this:instead of having this monstrosity (which requires us to keep track of window sizes):