From 8bbcd8018d08fb52cee0a4bbf83e85d1d0041651 Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Thu, 30 Sep 2021 15:23:53 +0000 Subject: [PATCH] dawn_node: Move cmd/idlgen under a src directory Creates a more idiomatic golang source tree. Change-Id: Ifdb701e5aa2f391ca23d957bee59412a8cf7139d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/65420 Commit-Queue: Ben Clayton Reviewed-by: Corentin Wallez --- src/dawn_node/CMakeLists.txt | 2 +- src/dawn_node/tools/{ => src}/cmd/idlgen/main.go | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/dawn_node/tools/{ => src}/cmd/idlgen/main.go (100%) diff --git a/src/dawn_node/CMakeLists.txt b/src/dawn_node/CMakeLists.txt index 95b049de5e..b4f3ae4215 100644 --- a/src/dawn_node/CMakeLists.txt +++ b/src/dawn_node/CMakeLists.txt @@ -13,7 +13,7 @@ # limitations under the License. set(GEN_DIR "${CMAKE_CURRENT_BINARY_DIR}/gen") -set(IDLGEN_TOOL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/tools/cmd/idlgen") +set(IDLGEN_TOOL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/tools/src/cmd/idlgen") # idlgen() is a function that uses the tools/cmd/idlgen/main.go tool to generate # code from an IDL file and template. diff --git a/src/dawn_node/tools/cmd/idlgen/main.go b/src/dawn_node/tools/src/cmd/idlgen/main.go similarity index 100% rename from src/dawn_node/tools/cmd/idlgen/main.go rename to src/dawn_node/tools/src/cmd/idlgen/main.go