From e32e0a4140f3257da53bbba03614093c3a20b1e4 Mon Sep 17 00:00:00 2001 From: huyx Date: Tue, 10 Dec 2024 20:03:29 +0800 Subject: [PATCH 1/2] =?UTF-8?q?hc-gen=E7=8B=AC=E7=AB=8B=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: huyx --- bundle.json | 3 +++ framework/tools/hc-gen/BUILD.gn | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/bundle.json b/bundle.json index 7f8a3446d..546557309 100644 --- a/bundle.json +++ b/bundle.json @@ -150,6 +150,9 @@ ], "header_base": "//drivers/hdf_core/framework/include/platform" } + }, + { + "name": "//drivers/hdf_core/framework/tools/hc-gen:hc_gen" } ], "test": [ diff --git a/framework/tools/hc-gen/BUILD.gn b/framework/tools/hc-gen/BUILD.gn index a1340fe01..cfc62514e 100644 --- a/framework/tools/hc-gen/BUILD.gn +++ b/framework/tools/hc-gen/BUILD.gn @@ -18,3 +18,11 @@ action("build_hc_gen") { "BUILD_DIR=" + rebase_path(target_out_dir), ] } + +copy("hc_gen") { + deps = [ ":build_hc_gen" ] + source = rebase_path(get_path_info(":build_hc_gen", "out_dir") + "/hc-gen") + sources = [ source ] + output = "$target_out_dir/bin/hc-gen" + outputs = [ output ] +} \ No newline at end of file -- Gitee From f98b2616099658090323594e50aa4fed80d9b25e Mon Sep 17 00:00:00 2001 From: huyx Date: Wed, 11 Dec 2024 11:26:31 +0800 Subject: [PATCH 2/2] =?UTF-8?q?hc-gen=E7=8B=AC=E7=AB=8B=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: huyx --- framework/tools/hc-gen/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/tools/hc-gen/BUILD.gn b/framework/tools/hc-gen/BUILD.gn index cfc62514e..5e3eabb41 100644 --- a/framework/tools/hc-gen/BUILD.gn +++ b/framework/tools/hc-gen/BUILD.gn @@ -25,4 +25,4 @@ copy("hc_gen") { sources = [ source ] output = "$target_out_dir/bin/hc-gen" outputs = [ output ] -} \ No newline at end of file +} -- Gitee