Chromium Code Reviews| 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 17 |
|
borenet
2015/08/18 19:43:27
Required for isDestroyed().
| |
| 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 dependencies { | |
| 47 androidTestCompile 'com.android.support.test:runner:0.3' | |
| 48 androidTestCompile 'com.android.support.test:rules:0.3' | |
| 49 } | |
| 46 } | 50 } |
| OLD | NEW |