Convert libtint deps to be public

This removes the requirement of targets that depend on libtint needing
to include the transitive deps to access somethings like headers.

BUG=tint:447

Change-Id: I52a86b93e517f2745f04711f508a838f8f6850b6
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/37720
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: dan sinclair <dsinclair@chromium.org>
Auto-Submit: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: dan sinclair <dsinclair@chromium.org>
diff --git a/BUILD.gn b/BUILD.gn
index c6cafcb..6c0c5f5 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -634,30 +634,30 @@
 }
 
 source_set("libtint") {
-  deps = [ ":libtint_core_src" ]
+  public_deps = [ ":libtint_core_src" ]
 
   if (tint_build_spv_reader) {
-    deps += [ ":libtint_spv_reader_src" ]
+    public_deps += [ ":libtint_spv_reader_src" ]
   }
 
   if (tint_build_spv_writer) {
-    deps += [ ":libtint_spv_writer_src" ]
+    public_deps += [ ":libtint_spv_writer_src" ]
   }
 
   if (tint_build_wgsl_reader) {
-    deps += [ ":libtint_wgsl_reader_src" ]
+    public_deps += [ ":libtint_wgsl_reader_src" ]
   }
 
   if (tint_build_wgsl_writer) {
-    deps += [ ":libtint_wgsl_writer_src" ]
+    public_deps += [ ":libtint_wgsl_writer_src" ]
   }
 
   if (tint_build_msl_writer) {
-    deps += [ ":libtint_msl_writer_src" ]
+    public_deps += [ ":libtint_msl_writer_src" ]
   }
 
   if (tint_build_hlsl_writer) {
-    deps += [ ":libtint_hlsl_writer_src" ]
+    public_deps += [ ":libtint_hlsl_writer_src" ]
   }
 
   configs += [ ":tint_common_config" ]