summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild/build-art-module.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/build-art-module.sh b/build/build-art-module.sh
index bc6f266220..a40959d009 100755
--- a/build/build-art-module.sh
+++ b/build/build-art-module.sh
@@ -20,7 +20,6 @@ for arg; do
shift
done
-MAINLINE_MODULES=()
if [ -z "$skip_apex" ]; then
# Take the list of modules from MAINLINE_MODULES.
if [ -n "${MAINLINE_MODULES}" ]; then
@@ -31,6 +30,8 @@ if [ -z "$skip_apex" ]; then
com.android.art.debug
)
fi
+else
+ MAINLINE_MODULES=()
fi
# Take the list of products to build the modules for from