Make the updater setup install all the updater's runtime dependencies.
This CL removes the hardcoded list of files in the updater's setup. At runtime, the setup copies all files unpacked by the metainstaller, or uses a build-generated dependency file to determine what files it needs to install, if `updater --install` is run from the `out` directory of the build. The CL introduces a new command line argument `--install-from-out-dir`, which is used in addition to other command line arguments of `--install`. This CL fixes the issue where --install could not find the `uninstall.cmd` file when run from the `out` dir. Bug:1069264,1054685 Change-Id: I03382b6d60fc71352a650e90b9abad6a85f085e9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2146082Reviewed-by:Joshua Pawlicki <waffles@chromium.org> Commit-Queue: Sorin Jianu <sorin@chromium.org> Cr-Commit-Position: refs/heads/master@{#758416}
Showing
Please register or sign in to comment