From 63a3cabfa9c58f2722a4bffb1dea175456fd4703 Mon Sep 17 00:00:00 2001 From: zhuheng Date: Thu, 19 Jun 2025 11:46:30 +0800 Subject: [PATCH] Fix incremental coverage build issue Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/ICGAHW?from=project-issue Signed-off-by: zhuheng --- test/test_helper.gni | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/test_helper.gni b/test/test_helper.gni index 1ce69656..5f5e3906 100644 --- a/test/test_helper.gni +++ b/test/test_helper.gni @@ -33,6 +33,15 @@ template("host_unittest_action") { resource_config_file = "//arkcompiler/toolchain/test/resource/tooling/ohos_test.xml" forward_variables_from(invoker, "*") + if (!defined(deps)) { + deps = [] + } + if (!defined(external_deps)) { + external_deps = [] + } + # hiviewdfx libraries + external_deps += hiviewdfx_ext_deps + deps += hiviewdfx_deps } _module_out_path_ = invoker.module_out_path -- Gitee