Descriptionfetch.py: Add '--nohooks' option.
'fetch chromium' will fail if the build dependencies are not already installed
on the host machine, because it runs 'gclient sync' which, by default, will run
hooks that will try to run build/gyp_chromium (which will then fail).
This introduces a --nohooks option that solve the problem by allowing the
user to do the following:
1) fetch --nohooks <recipe>
2) src/build/install-build-deps.sh
3) fetch <recipe>
BUG=325795
TEST=Run 'fetch --nohooks chromium' in a temporary 'clean' chroot directory.
R=maruel@chromium.org,jochen@chromium.org,scottmg@chromium.org,agable@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=240680
Patch Set 1 #Patch Set 2 : Add --nohooks option to fetch.py #
Total comments: 5
Patch Set 3 : Address Dirk's notes. #Messages
Total messages: 10 (0 generated)
|