| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 apply plugin: 'com.android.application' | 7 apply plugin: 'com.android.application' |
| 8 | |
| 9 dependencies { | |
| 10 compile 'com.android.support:support-v13:23.3.0' | |
| 11 compile 'com.android.support:appcompat-v7:23.3.0' | |
| 12 } | |
| 13 | |
| 14 android { | 8 android { |
| 15 compileSdkVersion 23 | 9 compileSdkVersion 19 |
| 16 buildToolsVersion "22.0.1" | 10 buildToolsVersion "22.0.1" |
| 17 defaultConfig { | 11 defaultConfig { |
| 18 applicationId "org.skia.viewer" | 12 applicationId "org.skia.viewer" |
| 19 minSdkVersion 19 | 13 minSdkVersion 19 |
| 20 targetSdkVersion 19 | 14 targetSdkVersion 19 |
| 21 versionCode 1 | 15 versionCode 1 |
| 22 versionName "1.0" | 16 versionName "1.0" |
| 23 signingConfig signingConfigs.debug | 17 signingConfig signingConfigs.debug |
| 24 } | 18 } |
| 25 sourceSets.main.jni.srcDirs = [] //disable automatic ndk-build call | 19 sourceSets.main.jni.srcDirs = [] //disable automatic ndk-build call |
| 26 sourceSets.main.jniLibs.srcDir "src/main/libs" | 20 sourceSets.main.jniLibs.srcDir "src/main/libs" |
| 27 productFlavors { arm {}; arm64 {}; x86 {}; x86_64 {}; mips {}; mips64 {}; } | 21 productFlavors { arm {}; arm64 {}; x86 {}; x86_64 {}; mips {}; mips64 {}; } |
| 28 | 22 |
| 29 setupSkiaLibraryBuild(project, applicationVariants, "--vulkan CopyViewerDeps
", true) | 23 setupSkiaLibraryBuild(project, applicationVariants, "--vulkan CopyViewerDeps
", true) |
| 30 } | 24 } |
| OLD | NEW |