From 69b44ee6a1269afb5c7622189de236af0c4ec2a7 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Thu, 15 Nov 2018 12:38:12 +0000 Subject: [PATCH] BUILD.gn: Fix libdawn_native missing dep on its own headers BUG=chromium:904736 BUG=chromium:905442 TBR=kainino@chromium.org Change-Id: Ie08b9c82f189e12ba42411e492190731daad5aca Reviewed-on: https://dawn-review.googlesource.com/c/2441 Reviewed-by: Corentin Wallez Commit-Queue: Corentin Wallez --- BUILD.gn | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index 9d5983e796..258485f4ca 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -337,6 +337,9 @@ source_set("libdawn_native_sources") { "${dawn_spirv_tools_dir}:spvtools_val", "third_party:spirv_cross", ] + public_deps = [ + ":libdawn_native_headers", + ] # Put the export config public so that dependents use the same declspec. public_configs = [ ":libdawn_native_export" ] @@ -684,7 +687,9 @@ source_set("libdawn_wire_sources") { } shared_library("libdawn_wire") { - deps = [ ":libdawn_wire_sources" ] + deps = [ + ":libdawn_wire_sources", + ] # Make headers publically visible public_deps = [