[Android] Build only UI from Android Studio

Geoffrey Métais git at videolan.org
Mon Feb 5 14:59:06 CET 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Feb  5 14:58:27 2018 +0100| [990069b992cbd83ad592899fc15073f573809006] | committer: Geoffrey Métais

Build only UI from Android Studio

> https://code.videolan.org/videolan/vlc-android/commit/990069b992cbd83ad592899fc15073f573809006
---

 vlc-android/build.gradle | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/vlc-android/build.gradle b/vlc-android/build.gradle
index b3a078eab..9adaa08c5 100644
--- a/vlc-android/build.gradle
+++ b/vlc-android/build.gradle
@@ -57,25 +57,6 @@ android {
                 task.dependsOn luaMetaCopy
             }
         }
-
-        //Set the build ABI according to build types only if not launched from compile.sh
-        if (System.getenv('CLI') == null)
-            tasks.whenTaskAdded { task ->
-                if (task.name.startsWith('assemble')) {
-                    if (task.name.endsWith('ARMv7Debug'))
-                        task.dependsOn(":libvlc:buildDebugARMv7")
-                    else if (task.name.endsWith('ARMv8Debug'))
-                        task.dependsOn(":libvlc:buildDebugARM64")
-                    else if (task.name.endsWith('X86Debug'))
-                        task.dependsOn(":libvlc:buildDebugx86")
-                    else if (task.name.endsWith('X86_64Debug'))
-                        task.dependsOn(":libvlc:buildDebugx86_64")
-                    else if (task.name.endsWith('MIPSDebug'))
-                        task.dependsOn(":libvlc:buildDebugMIPS")
-                    else if (task.name.endsWith('MIPS64Debug'))
-                        task.dependsOn(":libvlc:buildDebugMIPS64")
-                }
-            }
     }
 
     signingConfigs {



More information about the Android mailing list