diff --git a/test/test_helper.gni b/test/test_helper.gni index 1ce69656b1056ca2c5b060155fbe5e1e4d175c34..5f5e3906070b4b511e5f2878b53ea5a65afcfdb5 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