mirror of
https://gitee.com/openharmony/startup_init
synced 2024-11-27 18:30:52 +00:00
[start]:fix gn
Signed-off-by: atreeof_wind <shaoyifan2@huawei.com>
This commit is contained in:
parent
305378cf1a
commit
95d60d8f56
@ -22,7 +22,7 @@ group("kitsgroup") {
|
||||
deps += [ "syscap:deviceinfo_ndk" ]
|
||||
if (support_jsapi) {
|
||||
deps += [
|
||||
"cj:cj_device_info",
|
||||
"cj:cj_device_info_ffi",
|
||||
"cj:cj_system_parameter_enhance_ffi",
|
||||
"jskits:deviceinfo",
|
||||
"jskits:systemparameter",
|
||||
|
4
interfaces/kits/cj/BUILD.gn
Normal file → Executable file
4
interfaces/kits/cj/BUILD.gn
Normal file → Executable file
@ -14,7 +14,7 @@
|
||||
import("//build/ohos.gni")
|
||||
import("../../../begetd.gni")
|
||||
|
||||
ohos_shared_library("cj_device_info") {
|
||||
ohos_shared_library("cj_device_info_ffi") {
|
||||
sanitize = {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
@ -59,6 +59,7 @@ ohos_shared_library("cj_device_info") {
|
||||
defines += [ "WINDOWS_PLATFORM" ]
|
||||
}
|
||||
|
||||
innerapi_tags = [ "platformsdk" ]
|
||||
subsystem_name = "startup"
|
||||
part_name = "init"
|
||||
}
|
||||
@ -99,6 +100,7 @@ ohos_shared_library("cj_system_parameter_enhance_ffi") {
|
||||
defines += [ "WINDOWS_PLATFORM" ]
|
||||
}
|
||||
|
||||
innerapi_tags = [ "platformsdk" ]
|
||||
subsystem_name = "startup"
|
||||
part_name = "init"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user