Add another folder to the build's "clean" task.

Gradle creates a hidden .externalNativeBuild folder when issuing CMake
for the first time. This folder contains cached command line parameters
that get passed to CMake, and these can become stale when switching
between "normal" Android builds and Vulkan-enabled Android builds, which
leads to frustrating build errors.
This commit is contained in:
Philip Rideout
2019-01-23 11:06:48 -08:00
parent f5bd28b7df
commit 4e0749f0ae

View File

@@ -117,6 +117,7 @@ function build_clean {
echo "Cleaning build directories..."
rm -Rf out
rm -Rf android/filament-android/build
rm -Rf android/filament-android/.externalNativeBuild
}
function generate_toolchain {