Copy SkottieUtils' classes into skresources

For now, we'll have two copies. Once clients are using the skresources
versions exclusively, we can remove the originals from skottie.

Change-Id: I3152f526b0505b8374bdd9b4513a80bddc702ccc
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/256416
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
diff --git a/tools/fm/fm.cpp b/tools/fm/fm.cpp
index 790876b..e56d1e7 100644
--- a/tools/fm/fm.cpp
+++ b/tools/fm/fm.cpp
@@ -34,7 +34,7 @@
 
 #if defined(SK_ENABLE_SKOTTIE)
     #include "modules/skottie/include/Skottie.h"
-    #include "modules/skottie/utils/SkottieUtils.h"
+    #include "modules/skresources/include/SkResources.h"
 #endif
 
 using sk_gpu_test::GrContextFactory;
@@ -454,7 +454,7 @@
             else if (name.endsWith(".json")) {
                 const SkString dir  = SkOSPath::Dirname(name.c_str());
                 if (sk_sp<skottie::Animation> animation = skottie::Animation::Builder()
-                        .setResourceProvider(skottie_utils::FileResourceProvider::Make(dir))
+                        .setResourceProvider(skresources::FileResourceProvider::Make(dir))
                         .make((const char*)blob->data(), blob->size())) {
                     init(source, animation);
                     continue;