From 82e9c1c68a75fdb01797026032d008df211c7c7d Mon Sep 17 00:00:00 2001 From: JosJuice Date: Tue, 25 May 2021 22:52:50 +0200 Subject: [PATCH] Android: Disable building unit tests by default This reduces the build time for incremental builds from about 2 minutes to about 20 seconds. Most people never run the unit tests on Android anyway (I'm not aware of anyone other than me ever having done it). --- Source/Android/app/build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Android/app/build.gradle b/Source/Android/app/build.gradle index e88d2e768f..daabe18298 100644 --- a/Source/Android/app/build.gradle +++ b/Source/Android/app/build.gradle @@ -73,6 +73,9 @@ android { arguments "-DANDROID_STL=c++_static", "-DCMAKE_BUILD_TYPE=RelWithDebInfo" // , "-DENABLE_GENERIC=ON" abiFilters "arm64-v8a", "x86_64" //, "armeabi-v7a", "x86" + + // Remove the line below if you want to build the C++ unit tests + targets "main" } } }