提交 fcaf6ae6 编写于 作者: Z zk

解耦产品配置hal层依赖

Signed-off-by: Nzk <longzhuokun1@huawei.com>
上级 79b28a63
......@@ -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")
......
......@@ -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")
......
......@@ -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")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册