OLD | NEW |
1 apply plugin: 'com.android.application' | 1 apply plugin: 'com.android.application' |
2 | 2 |
3 android { | 3 android { |
4 compileSdkVersion 19 | 4 compileSdkVersion 19 |
5 buildToolsVersion "22.0.1" | 5 buildToolsVersion "22.0.1" |
6 | 6 |
7 defaultConfig { | 7 defaultConfig { |
8 applicationId "com.skia.visualbench" | 8 applicationId "com.skia.visualbench" |
9 minSdkVersion 9 | 9 minSdkVersion 19 |
10 targetSdkVersion 19 | 10 targetSdkVersion 19 |
11 versionCode 1 | 11 versionCode 1 |
12 versionName "1.0" | 12 versionName "1.0" |
13 } | 13 } |
14 | 14 |
15 sourceSets.main.jni.srcDirs = [] //disable automatic ndk-build call | 15 sourceSets.main.jni.srcDirs = [] //disable automatic ndk-build call |
16 sourceSets.main.jniLibs.srcDir "src/main/libs" | 16 sourceSets.main.jniLibs.srcDir "src/main/libs" |
17 | 17 |
18 productFlavors { | 18 productFlavors { |
19 arm {} | 19 arm {} |
(...skipping 16 matching lines...) Expand all Loading... |
36 | 36 |
37 buildNativeLib.onlyIf { !project.hasProperty("suppressNativeBuild") } | 37 buildNativeLib.onlyIf { !project.hasProperty("suppressNativeBuild") } |
38 | 38 |
39 TaskCollection<Task> assembleTask | 39 TaskCollection<Task> assembleTask |
40 assembleTask = project.tasks.matching { | 40 assembleTask = project.tasks.matching { |
41 it.name.contains("assemble") && | 41 it.name.contains("assemble") && |
42 it.name.toLowerCase().endsWith(variant.name.toLowerCase()) | 42 it.name.toLowerCase().endsWith(variant.name.toLowerCase()) |
43 } | 43 } |
44 assembleTask.getAt(0).dependsOn buildNativeLib | 44 assembleTask.getAt(0).dependsOn buildNativeLib |
45 } | 45 } |
46 } | 46 } |
OLD | NEW |