summaryrefslogtreecommitdiff
path: root/tools/build_linux_bionic.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build_linux_bionic.sh')
-rwxr-xr-xtools/build_linux_bionic.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/build_linux_bionic.sh b/tools/build_linux_bionic.sh
index ad7e7bd48f..3c5a68f0aa 100755
--- a/tools/build_linux_bionic.sh
+++ b/tools/build_linux_bionic.sh
@@ -31,7 +31,10 @@ if [ ! -d art ]; then
exit 1
fi
-soong_args=""
+# TODO(b/194433871): Set MODULE_BUILD_FROM_SOURCE to disable prebuilt modules,
+# which Soong otherwise can create duplicate install rules for in --skip-make
+# mode.
+soong_args="MODULE_BUILD_FROM_SOURCE=true"
# Switch the build system to unbundled mode in the reduced manifest branch.
if [ ! -d frameworks/base ]; then