2016-04-21 14:59:44 +00:00
|
|
|
/*
|
|
|
|
* 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'
|
2016-05-27 15:52:52 +00:00
|
|
|
|
|
|
|
dependencies {
|
2018-10-04 15:20:59 +00:00
|
|
|
implementation 'com.android.support:support-v13:23.3.0'
|
|
|
|
implementation 'com.android.support:appcompat-v7:23.3.0'
|
2016-05-27 15:52:52 +00:00
|
|
|
}
|
|
|
|
|
2016-04-21 14:59:44 +00:00
|
|
|
android {
|
2016-05-27 15:52:52 +00:00
|
|
|
compileSdkVersion 23
|
2016-04-21 14:59:44 +00:00
|
|
|
buildToolsVersion "22.0.1"
|
|
|
|
defaultConfig {
|
2016-05-04 20:49:13 +00:00
|
|
|
applicationId "org.skia.viewer"
|
2016-04-27 15:48:56 +00:00
|
|
|
minSdkVersion 19
|
2016-04-21 14:59:44 +00:00
|
|
|
targetSdkVersion 19
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
signingConfig signingConfigs.debug
|
|
|
|
}
|
2018-06-19 17:57:15 +00:00
|
|
|
flavorDimensions "base"
|
2018-06-01 20:22:25 +00:00
|
|
|
sourceSets.main.jni.srcDirs = [] //disable automatic ndk-build call
|
|
|
|
sourceSets.main.jniLibs.srcDir "src/main/libs"
|
|
|
|
productFlavors { universal{}; arm {}; arm64 {}; x86 {}; x64 {}; arm64vulkan{}; }
|
2016-04-27 15:48:56 +00:00
|
|
|
|
2018-06-01 20:22:25 +00:00
|
|
|
setupSkiaLibraryBuild(project, applicationVariants, "libviewer")
|
2016-04-21 14:59:44 +00:00
|
|
|
}
|