[Bundles] Make bundle wrapper test scripts install '-m dev_ui' by default.
Bundle wrapper test scripts calls such as /out/Debug/bin/monochrome_public_bundle install /out/Debug/bin/trichrome_chrome_google_bundle run use the '-m' flag to include DFMs. In particular, the switch for the DevUI DFM is '-m dev_ui' (and '-f dev_ui' for fake install). However, most developers who use these test scripts don't care about this detail. This CL makes the DevUI DFM installed by default when these build scripts are used, to simplify development. The master list |default_modules_for_testing| is in chrome_bundle_tmpl.gni, and currently on has "dev_ui". To make it still possible to test install flows of DevUI DFM, this CL also adds the new flag '--no-module' to exclude non-base DFMs that are installed by default (currently only {dev_ui}). Fake installs, e.g., '-f dev_ui', also excludes the default install. Bug: 1081812, 987040 Change-Id: Icf87515382cc6d0b3d52fc3fa1914c7a4830b6cd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2197339Reviewed-by:Egor Pasko <pasko@chromium.org> Reviewed-by:
Andrew Grieve <agrieve@chromium.org> Commit-Queue: Samuel Huang <huangs@chromium.org> Cr-Commit-Position: refs/heads/master@{#768784}
Showing
Please register or sign in to comment