Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: platform_tools/android/apps/sample_app/build.gradle

Issue 1275223003: Ensure that android "release" apps are signed with debug key (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | platform_tools/android/bin/android_install_app » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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.sample_app" 8 applicationId "com.skia.sample_app"
9 minSdkVersion 9 9 minSdkVersion 9
10 targetSdkVersion 19 10 targetSdkVersion 19
11 versionCode 1 11 versionCode 1
12 versionName "1.0" 12 versionName "1.0"
13 signingConfig signingConfigs.debug
13 } 14 }
14 15
15 sourceSets.main.jni.srcDirs = [] //disable automatic ndk-build call 16 sourceSets.main.jni.srcDirs = [] //disable automatic ndk-build call
16 sourceSets.main.jniLibs.srcDir "src/main/libs" 17 sourceSets.main.jniLibs.srcDir "src/main/libs"
17 18
18 productFlavors { 19 productFlavors {
19 arm {} 20 arm {}
20 arm64 {} 21 arm64 {}
21 x86 {} 22 x86 {}
22 x86_64 {} 23 x86_64 {}
(...skipping 14 matching lines...) Expand all
37 buildNativeLib.onlyIf { !project.hasProperty("suppressNativeBuild") } 38 buildNativeLib.onlyIf { !project.hasProperty("suppressNativeBuild") }
38 39
39 TaskCollection<Task> assembleTask 40 TaskCollection<Task> assembleTask
40 assembleTask = project.tasks.matching { 41 assembleTask = project.tasks.matching {
41 it.name.contains("assemble") && 42 it.name.contains("assemble") &&
42 it.name.toLowerCase().endsWith(variant.name.toLowerCase()) 43 it.name.toLowerCase().endsWith(variant.name.toLowerCase())
43 } 44 }
44 assembleTask.getAt(0).dependsOn buildNativeLib 45 assembleTask.getAt(0).dependsOn buildNativeLib
45 } 46 }
46 } 47 }
OLDNEW
« no previous file with comments | « no previous file | platform_tools/android/bin/android_install_app » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698