提交 a17329e9 编写于 作者: M Mupceet

系统参数归一,init适配

Signed-off-by: NMupceet <laiguizhong@huawei.com>
上级 dc00e1c8
...@@ -50,29 +50,26 @@ if (ohos_kernel_type == "liteos_m") { ...@@ -50,29 +50,26 @@ if (ohos_kernel_type == "liteos_m") {
} }
} }
lite_component("inittoken") { lite_component("token") {
features = [] features = []
if (enable_ohos_startup_init_feature_begetctl_liteos) {
if (ohos_kernel_type == "liteos_a" || ohos_kernel_type == "linux") { if (ohos_kernel_type == "liteos_a" || ohos_kernel_type == "linux") {
features += [ ":token_shared" ] features += [ ":token_shared" ]
} }
if (ohos_kernel_type == "liteos_m") { if (ohos_kernel_type == "liteos_m") {
features += [ ":token_static" ] features += [ ":token_static" ]
}
} }
} }
ndk_lib("inittoken_notes") { ndk_lib("token_notes") {
deps = [] deps = []
head_files = [] head_files = []
if (enable_ohos_startup_init_feature_begetctl_liteos) { if (ohos_kernel_type != "liteos_m") {
if (ohos_kernel_type != "liteos_m") { lib_extension = ".so"
lib_extension = ".so" }
} if (ohos_kernel_type != "liteos_m") {
if (ohos_kernel_type != "liteos_m") { deps +=
deps += [ "//base/startup/init_lite/interfaces/innerkits/token:token_shared" ]
[ "//base/startup/init_lite/interfaces/innerkits/token:token_shared" ]
}
head_files += [ "//base/startup/init_lite/interfaces/include/token" ]
} }
head_files += [ "//base/startup/init_lite/interfaces/include/token" ]
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册