mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-05 20:55:58 +00:00
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>
This commit is contained in:
parent
1c200cffd0
commit
f813959302
14
BUILD.gn
14
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" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user