Clean up modules/skottie/BUILD.gn

Per comments in https://skia-review.googlesource.com/c/skia/+/130480

Change-Id: I978b04e4b06bf01c008b44540c640b77f5900f12
Reviewed-on: https://skia-review.googlesource.com/130501
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
diff --git a/modules/skottie/BUILD.gn b/modules/skottie/BUILD.gn
index 93213e9..f704eb4 100644
--- a/modules/skottie/BUILD.gn
+++ b/modules/skottie/BUILD.gn
@@ -37,14 +37,17 @@
   if (skia_enable_skottie) {
     testonly = true
 
-    public_configs = [ ":public_config" ]
     configs += [ "../..:skia_private" ]
     sources = [
       "fuzz/FuzzSkottieJSON.cpp",
     ]
+
     deps = [
+      "../..:skia",
+    ]
+
+    public_deps = [
       ":skottie",
-      "../..:skia",  # TODO: refactor to make this nicer
     ]
   }
 }