aboutsummaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorStan Iliev <stani@google.com>2018-08-02 11:10:52 -0400
committerSkia Commit-Bot <skia-commit-bot@chromium.org>2018-08-02 16:20:13 +0000
commit93151726eda4a6a65f4b312b20e2954c5bbfdbfd (patch)
tree73d361492462451f39da65362b1ad3e545bcff06 /BUILD.gn
parent3526cfaf05012cf6ccd483e08ce60948029c95dc (diff)
downloadskqp-93151726eda4a6a65f4b312b20e2954c5bbfdbfd.tar.gz
Prototype an Android lottie player
Create a new Skottie test app, which plays lottie files using a TextureView. Implement SkottieView, which takes a JSON input stream and plays the animation. Bug: skia: Change-Id: Ic62688b91692c28f35b13356d1e99b4d15d3e30f Reviewed-on: https://skia-review.googlesource.com/130125 Reviewed-by: Derek Sollenberger <djsollen@google.com> Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Stan Iliev <stani@google.com>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn17
1 files changed, 17 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 744146ff30..862c3269e5 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1893,6 +1893,23 @@ if (skia_enable_tools) {
libs = [ "android" ]
}
}
+ if (is_android && skia_enable_gpu) {
+ test_app("skottie_android") {
+ is_shared_library = true
+
+ sources = [
+ "platform_tools/android/apps/skottie/src/main/cpp/JavaInputStreamAdaptor.cpp",
+ "platform_tools/android/apps/skottie/src/main/cpp/native-lib.cpp",
+ ]
+ libs = []
+
+ include_dirs = []
+ deps = [
+ ":skia",
+ "modules/skottie",
+ ]
+ }
+ }
test_app("list_gms") {
sources = [