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>
diff --git a/BUILD.gn b/BUILD.gn
index 744146f..862c326 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1893,6 +1893,23 @@
       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 = [