From fcaf6ae6a0945c193b059fb62135aa7b8b3720f1 Mon Sep 17 00:00:00 2001 From: zk Date: Mon, 12 Dec 2022 12:04:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E8=80=A6=E4=BA=A7=E5=93=81=E9=85=8D?= =?UTF-8?q?=E7=BD=AEhal=E5=B1=82=E4=BE=9D=E8=B5=96=20Signed-off-by:=20zk?= =?UTF-8?q?=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- interfaces/innerkits/BUILD.gn | 2 +- interfaces/innerkits/token/BUILD.gn | 2 +- test/unittest/lite/BUILD.gn | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/interfaces/innerkits/BUILD.gn b/interfaces/innerkits/BUILD.gn index e0c5e6a0..6f69c042 100755 --- a/interfaces/innerkits/BUILD.gn +++ b/interfaces/innerkits/BUILD.gn @@ -110,7 +110,7 @@ if (defined(ohos_lite)) { sources = [] if (enable_ohos_startup_init_feature_begetctl_liteos) { PRODUCT_HAL_SYSPARAM_PATH = - rebase_path("//${ohos_product_adapter_dir}/utils/sys_param") + rebase_path("${ohos_product_adapter_dir}/utils/sys_param") cmd = "if [ -f ${PRODUCT_HAL_SYSPARAM_PATH}/BUILD.gn ]; then echo true; else echo false; fi" PRODUCT_HAL_SYSPARAM_EXISTS = exec_script("//build/lite/run_shell_cmd.py", [ cmd ], "value") diff --git a/interfaces/innerkits/token/BUILD.gn b/interfaces/innerkits/token/BUILD.gn index 9c9d741f..4e32c3c4 100755 --- a/interfaces/innerkits/token/BUILD.gn +++ b/interfaces/innerkits/token/BUILD.gn @@ -45,7 +45,7 @@ if (ohos_kernel_type == "liteos_m") { "//base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog_lite", ] PRODUCT_HAL_TOKEN_PATH = - rebase_path("//${ohos_product_adapter_dir}/utils/token") + rebase_path("${ohos_product_adapter_dir}/utils/token") cmd = "if [ -f ${PRODUCT_HAL_TOKEN_PATH}/BUILD.gn ]; then echo true; else echo false; fi" PRODUCT_HAL_TOKEN_EXISTS = exec_script("//build/lite/run_shell_cmd.py", [ cmd ], "value") diff --git a/test/unittest/lite/BUILD.gn b/test/unittest/lite/BUILD.gn index 563bd677..a76669ea 100755 --- a/test/unittest/lite/BUILD.gn +++ b/test/unittest/lite/BUILD.gn @@ -143,7 +143,7 @@ if (defined(ohos_lite)) { # add cfg.h if (enable_ohos_startup_init_feature_begetctl_liteos) { PRODUCT_HAL_SYSPARAM_PATH = - rebase_path("//${ohos_product_adapter_dir}/utils/sys_param") + rebase_path("${ohos_product_adapter_dir}/utils/sys_param") cmd = "if [ -f ${PRODUCT_HAL_SYSPARAM_PATH}/BUILD.gn ]; then echo true; else echo false; fi" PRODUCT_HAL_SYSPARAM_EXISTS = exec_script("//build/lite/run_shell_cmd.py", [ cmd ], "value") -- GitLab