From 93151726eda4a6a65f4b312b20e2954c5bbfdbfd Mon Sep 17 00:00:00 2001 From: Stan Iliev Date: Thu, 2 Aug 2018 11:10:52 -0400 Subject: 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 Reviewed-by: Florin Malita Commit-Queue: Stan Iliev --- BUILD.gn | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'BUILD.gn') 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 = [ -- cgit v1.2.3