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 {
|
|
|
|
compile 'com.android.support:support-v13:23.3.0'
|
|
|
|
compile 'com.android.support:appcompat-v7:23.3.0'
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
sourceSets.main.jni.srcDirs = [] //disable automatic ndk-build call
|
|
|
|
sourceSets.main.jniLibs.srcDir "src/main/libs"
|
2016-08-22 20:36:57 +00:00
|
|
|
productFlavors { arm {}; arm64 {}; x86 {}; x86_64 {}; mips {}; mips64 {}; arm64vulkan{}; }
|
2016-04-27 15:48:56 +00:00
|
|
|
|
2016-08-22 20:36:57 +00:00
|
|
|
setupSkiaLibraryBuild(project, applicationVariants, "CopyViewerDeps", true)
|
2016-04-21 14:59:44 +00:00
|
|
|
}
|