98590d2934
NDK depricated mips toolchain, which is causing a build error, because old android gradle plugin is looking for it. Updating to latest plugin is fixing the build issue. Test: Built skottie demo app from command line and Android Studio Bug: skia: Change-Id: I0071bf996c44f96969079cb680cb05ec38efdc93 Reviewed-on: https://skia-review.googlesource.com/c/159581 Reviewed-by: Heather Miller <hcm@google.com> Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Stan Iliev <stani@google.com>
32 lines
908 B
Groovy
32 lines
908 B
Groovy
/*
|
|
* Copyright 2015 Google Inc.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
apply plugin: 'com.android.application'
|
|
|
|
dependencies {
|
|
implementation 'com.android.support:support-v13:23.3.0'
|
|
implementation 'com.android.support:appcompat-v7:23.3.0'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 23
|
|
buildToolsVersion "22.0.1"
|
|
defaultConfig {
|
|
applicationId "org.skia.viewer"
|
|
minSdkVersion 19
|
|
targetSdkVersion 19
|
|
versionCode 1
|
|
versionName "1.0"
|
|
signingConfig signingConfigs.debug
|
|
}
|
|
flavorDimensions "base"
|
|
sourceSets.main.jni.srcDirs = [] //disable automatic ndk-build call
|
|
sourceSets.main.jniLibs.srcDir "src/main/libs"
|
|
productFlavors { universal{}; arm {}; arm64 {}; x86 {}; x64 {}; arm64vulkan{}; }
|
|
|
|
setupSkiaLibraryBuild(project, applicationVariants, "libviewer")
|
|
}
|