Update tools/build_aosp.py
Add options --mmm, --mmma and --rebuild-system-image-after-mmm to eease
testing R8 on system apps.
Change-Id: I74821ad05aed2165cba7ec66a472cabb51945050
diff --git a/scripts/aosp_helper.sh b/scripts/aosp_helper.sh
index 0dc6f78..f64e8fa 100755
--- a/scripts/aosp_helper.sh
+++ b/scripts/aosp_helper.sh
@@ -16,6 +16,10 @@
if [[ "$TASK" == "make" ]]; then
make "$@"
+elif [[ "$TASK" == "mmm" ]]; then
+ mmm "$@"
+elif [[ "$TASK" == "mmma" ]]; then
+ mmma "$@"
elif [[ "$TASK" == "emulator" ]]; then
# Launch emulator in bg and kill it in a trap
# otherwise it won't get killed when this parent process is killed