Android: Use the link pool for android_lint
Lint can use a good amount of RAM for generating build graphs for its checks. Use the same pool as linking/proguarding to avoid bot OOMs. e.g. chrome_modern_public_apk__lint's lint call takes about 1.7GB /usr/bin/time -v lint_cmd... Maximum resident set size (kbytes): 1679060 This should not affect local builds since usually only one lint task is run (while building a single apk/app_bundle). Bug: 1098333,1098752 Change-Id: I921642f01b31f08ae2b6524da737072a63bc09c0 Fixed: 1098333,1098752 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2264454Reviewed-by:Andrew Grieve <agrieve@chromium.org> Commit-Queue: Peter Wen <wnwen@chromium.org> Auto-Submit: Peter Wen <wnwen@chromium.org> Cr-Commit-Position: refs/heads/master@{#781892}
Showing
Please register or sign in to comment