fd9f154f82
This is a reland of 7f5e99465d
Original change's description:
> implement working CorrectnessActivity to generate lottie keyframe PNGs
>
>
> make correctness activity loop through all available lotties
>
>
> implement tests for lottie correctness through Android Activity
>
> Change-Id: I8b5d1dfc0641e3227f23a4d4560faa756b245ede
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/305216
> Reviewed-by: Stan Iliev <stani@google.com>
> Commit-Queue: Jorge Betancourt <jmbetancourt@google.com>
Change-Id: I59f4a02acfbddd2c8bbee0adcda1d737c9566c0b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/305601
Reviewed-by: Stan Iliev <stani@google.com>
Commit-Queue: Jorge Betancourt <jmbetancourt@google.com>
45 lines
1.3 KiB
Groovy
45 lines
1.3 KiB
Groovy
/*
|
|
* Copyright 2018 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 project("skottielib")
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
implementation 'com.airbnb.android:lottie:3.4.1'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 28
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
flavorDimensions "tier"
|
|
defaultConfig {
|
|
minSdkVersion 26
|
|
targetSdkVersion 28
|
|
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"
|
|
|
|
// 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]
|
|
|
|
productFlavors { arm {}; arm64 {}; x86 {}; x64 {}; arm64vulkan {}; }
|
|
|
|
}
|