diff --git a/interfaces/innerkits/BUILD.gn b/interfaces/innerkits/BUILD.gn index e0c5e6a06212f077829c50fc68f2cc0200aa7e07..6f69c04284b7a4aa6f52ac46b87faefa1b192f83 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 9c9d741f643dae11851072fada443325cd028a36..4e32c3c495122885e465d27385ab7b1ab73baf42 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 563bd677406e9ed57d856e4c54f4172496b932b9..a76669ea9dca49f44edf266d4a9939a664c7fc58 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")