From 97c3be26997f0638179fbc06d2ef753d3c58656f Mon Sep 17 00:00:00 2001 From: Kai Ninomiya Date: Mon, 3 Feb 2020 18:55:44 +0000 Subject: [PATCH] Use libshaderc_spvc as a source_set, so complete_static_lib applies properly Brings the list of dependencies for a standalone Dawn app down from: obj/libdawn_native.a obj/libdawn_utils.a obj/src/dawn/libdawn_proc.a obj/third_party/shaderc/libshaderc_spvc/spvc.o obj/third_party/shaderc/libshaderc_spvc/spvc_private.o obj/third_party/shaderc/libshaderc_spvc/spvcir_pass.o obj/third_party/SPIRV-Tools/libspvtools_opt.a to obj/libdawn_native.a obj/src/dawn/libdawn_proc.a Bug: dawn:327 Change-Id: I74654b304a9cb5f2aff19e72aa6a8bf1eb708c15 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/15481 Reviewed-by: Kai Ninomiya Reviewed-by: Ryan Harrison Commit-Queue: Kai Ninomiya --- BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index 7bf9726579..f0de2c9eeb 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -158,7 +158,7 @@ source_set("libdawn_native_sources") { # libdawn_native target public_deps = [ ":dawn_platform", - "${dawn_shaderc_dir}:libshaderc_spvc", + "${dawn_shaderc_dir}:libshaderc_spvc_sources", ] sources = get_target_outputs(":libdawn_native_utils_gen")