From f813959302fe07399bfa12783bb283b80f8e267e Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Wed, 13 Jan 2021 15:42:51 +0000 Subject: [PATCH] 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 Commit-Queue: dan sinclair Auto-Submit: Ryan Harrison Reviewed-by: dan sinclair --- BUILD.gn | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index c6cafcb62e..6c0c5f5b62 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -634,30 +634,30 @@ source_set("libtint_hlsl_writer_src") { } 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" ]