!213 解决enable_ohos_startup_init_feature_begetctl_liteos为true时无法编译通过问题

Merge pull request !213 from wish/tag_bug_fix
This commit is contained in:
openharmony_ci
2022-09-29 06:38:10 +00:00
committed by Gitee
+5 -3
View File
@@ -14,8 +14,8 @@ import("//base/startup/init/begetd.gni")
import("../config.gni")
if (ohos_kernel_type == "liteos_m" || ohos_kernel_type == "uniproton") {
static_library("sysparam") {
if (enable_ohos_startup_init_feature_begetctl_liteos == false) {
if (enable_ohos_startup_init_feature_begetctl_liteos == false) {
static_library("sysparam") {
include_dirs = [
"//base/startup/syspara_lite/interfaces/kits",
"//commonlibrary/utils_lite/include",
@@ -48,7 +48,9 @@ if (ohos_kernel_type == "liteos_m" || ohos_kernel_type == "uniproton") {
"USE_MBEDTLS",
"DATA_PATH=\"${config_ohos_startup_syspara_lite_data_path}\"",
]
} else {
}
} else {
group("sysparam") {
deps = [ "//base/startup/init/interfaces/innerkits:libbegetutil" ]
}
}