skia2/platform_tools/android/apps/skottie/skottielib/build.gradle
Jorge Betancourt 1fcdcaa0a1 Reland the new module for skia lib for g3
Try to merge change 296417 again with new changes to skottie BUILD in google3
This time, the autoroller shouldn't get upset.

move setupSkiaLibraryBuild call to new lib module
Move shared skottie files we intend to distribute into a library module

Change-Id: I3a86ec611cb38e1940033b60d607fabe6a4b24e1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/297842
Reviewed-by: Stan Iliev <stani@google.com>
Commit-Queue: Jorge Betancourt <jmbetancourt@google.com>
2020-06-23 14:19:13 +00:00

37 lines
1002 B
Groovy

apply plugin: 'com.android.library'
android {
compileSdkVersion 29
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
buildToolsVersion "29.0.3"
defaultConfig {
minSdkVersion 19
targetSdkVersion 29
versionCode 1
versionName "1.0"
}
// When building from Android Studio, ensure that local variables are set:
// sdk.dir=[sdk file path]
// depot_tools.dir=[depot tools file path]
// x86.out.dir=[out file for x86]
// x64.out.dir=[out file for x64]
// arm64.out.dir=[out file for xarm64]
// arm.out.dir=[out file for arm]
sourceSets.main.jniLibs.srcDir "src/main/libs"
flavorDimensions "base"
productFlavors { arm {}; arm64 {}; x86 {}; x64 {}; arm64vulkan{}; }
setupSkiaLibraryBuild(project, libraryVariants, "libskottie_android")
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.1.0'
}