提交 fcaf6ae6 编写于 作者: Z zk

解耦产品配置hal层依赖

Signed-off-by: Nzk <longzhuokun1@huawei.com>
上级 79b28a63
...@@ -110,7 +110,7 @@ if (defined(ohos_lite)) { ...@@ -110,7 +110,7 @@ if (defined(ohos_lite)) {
sources = [] sources = []
if (enable_ohos_startup_init_feature_begetctl_liteos) { if (enable_ohos_startup_init_feature_begetctl_liteos) {
PRODUCT_HAL_SYSPARAM_PATH = 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" cmd = "if [ -f ${PRODUCT_HAL_SYSPARAM_PATH}/BUILD.gn ]; then echo true; else echo false; fi"
PRODUCT_HAL_SYSPARAM_EXISTS = PRODUCT_HAL_SYSPARAM_EXISTS =
exec_script("//build/lite/run_shell_cmd.py", [ cmd ], "value") exec_script("//build/lite/run_shell_cmd.py", [ cmd ], "value")
......
...@@ -45,7 +45,7 @@ if (ohos_kernel_type == "liteos_m") { ...@@ -45,7 +45,7 @@ if (ohos_kernel_type == "liteos_m") {
"//base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog_lite", "//base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog_lite",
] ]
PRODUCT_HAL_TOKEN_PATH = 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" cmd = "if [ -f ${PRODUCT_HAL_TOKEN_PATH}/BUILD.gn ]; then echo true; else echo false; fi"
PRODUCT_HAL_TOKEN_EXISTS = PRODUCT_HAL_TOKEN_EXISTS =
exec_script("//build/lite/run_shell_cmd.py", [ cmd ], "value") exec_script("//build/lite/run_shell_cmd.py", [ cmd ], "value")
......
...@@ -143,7 +143,7 @@ if (defined(ohos_lite)) { ...@@ -143,7 +143,7 @@ if (defined(ohos_lite)) {
# add cfg.h # add cfg.h
if (enable_ohos_startup_init_feature_begetctl_liteos) { if (enable_ohos_startup_init_feature_begetctl_liteos) {
PRODUCT_HAL_SYSPARAM_PATH = 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" cmd = "if [ -f ${PRODUCT_HAL_SYSPARAM_PATH}/BUILD.gn ]; then echo true; else echo false; fi"
PRODUCT_HAL_SYSPARAM_EXISTS = PRODUCT_HAL_SYSPARAM_EXISTS =
exec_script("//build/lite/run_shell_cmd.py", [ cmd ], "value") 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.
先完成此消息的编辑!
想要评论请 注册