bceddbcb72
To run this app, you need to create an out directory as such: bin/gn gen out/arm64 --args='ndk="NDK_PATH" target_cpu="ABI"' For now, the only supported ABI is arm64 Change-Id: I012f0c6a0550d80a0028f42177d5ca72974d848d Bug: skia: Reviewed-on: https://skia-review.googlesource.com/130980 Reviewed-by: Mike Reed <reed@google.com> Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Ziad Ben Hadj-Alouane <ziadb@google.com>
32 lines
894 B
Groovy
32 lines
894 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 {
|
|
compile 'com.android.support:support-v13:23.3.0'
|
|
compile '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")
|
|
}
|