mirror of
https://gitee.com/openharmony/startup_appspawn
synced 2024-11-27 09:11:04 +00:00
commit
83ca624c20
12
BUILD.gn
12
BUILD.gn
@ -60,8 +60,8 @@ ohos_executable("appspawn") {
|
||||
"c_utils:utils",
|
||||
"common_event_service:cesfwk_innerkits",
|
||||
"config_policy:configpolicy_util",
|
||||
"hilog_native:libhilog",
|
||||
"hitrace_native:hitrace_meter",
|
||||
"hilog:libhilog",
|
||||
"hitrace:hitrace_meter",
|
||||
"init:libbegetutil",
|
||||
"resource_management:global_resmgr",
|
||||
]
|
||||
@ -85,7 +85,7 @@ ohos_shared_library("appspawn_helper") {
|
||||
"-fvisibility=hidden",
|
||||
"-fstack-protector-all",
|
||||
]
|
||||
external_deps = [ "hilog_native:libhilog" ]
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
|
||||
install_enable = true
|
||||
subsystem_name = "${subsystem_name}"
|
||||
@ -122,7 +122,7 @@ ohos_static_library("appspawn_server") {
|
||||
"access_token:libtoken_setproc",
|
||||
"c_utils:utils",
|
||||
"config_policy:configpolicy_util",
|
||||
"hilog_native:libhilog",
|
||||
"hilog:libhilog",
|
||||
"init:libbegetutil",
|
||||
"init:libbegetutil",
|
||||
]
|
||||
@ -184,7 +184,7 @@ ohos_static_library("nwebspawn_server") {
|
||||
"access_token:libtoken_setproc",
|
||||
"c_utils:utils",
|
||||
"config_policy:configpolicy_util",
|
||||
"hilog_native:libhilog",
|
||||
"hilog:libhilog",
|
||||
"init:libbegetutil",
|
||||
]
|
||||
if (build_selinux) {
|
||||
@ -223,7 +223,7 @@ ohos_executable("nwebspawn") {
|
||||
deps = [ "${appspawn_path}:nwebspawn_server" ]
|
||||
external_deps = [
|
||||
"config_policy:configpolicy_util",
|
||||
"hilog_native:libhilog",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
if (build_selinux) {
|
||||
external_deps += [ "selinux_adapter:libhap_restorecon" ]
|
||||
|
@ -19,5 +19,5 @@ config("event_reporter_config") {
|
||||
ohos_source_set("event_reporter") {
|
||||
sources = [ "event_reporter.cpp" ]
|
||||
public_configs = [ ":event_reporter_config" ]
|
||||
external_deps = [ "hisysevent_native:libhisysevent" ]
|
||||
external_deps = [ "hisysevent:libhisysevent" ]
|
||||
}
|
||||
|
@ -32,18 +32,17 @@
|
||||
"c_utils",
|
||||
"ipc",
|
||||
"selinux_adapter",
|
||||
"hiviewdfx_hilog_native",
|
||||
"hilog",
|
||||
"init",
|
||||
"ability_runtime",
|
||||
"access_token",
|
||||
"common",
|
||||
"eventhandler",
|
||||
"hilog_native",
|
||||
"config_policy",
|
||||
"resource_management",
|
||||
"hitrace_native",
|
||||
"hitrace",
|
||||
"common_event_service",
|
||||
"hisysevent_native"
|
||||
"hisysevent"
|
||||
]
|
||||
},
|
||||
"build": {
|
||||
|
@ -36,7 +36,7 @@ ohos_static_library("appspawn_socket_client") {
|
||||
deps = [ "${appspawn_path}:appspawn_server" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
"hilog:libhilog",
|
||||
"init:libbegetutil",
|
||||
]
|
||||
|
||||
|
@ -29,7 +29,7 @@ ohos_executable("AppSpawnTest") {
|
||||
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
"hilog:libhilog",
|
||||
"init:libbegetutil",
|
||||
]
|
||||
}
|
||||
@ -62,7 +62,7 @@ ohos_moduletest("AppSpawnModuleTest") {
|
||||
external_deps = [
|
||||
"bundle_framework:appexecfwk_base",
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
"hilog:libhilog",
|
||||
"init:libbegetutil",
|
||||
]
|
||||
}
|
||||
|
@ -124,8 +124,8 @@ ohos_unittest("AppSpawn_ut") {
|
||||
"c_utils:utils",
|
||||
"config_policy:configpolicy_util",
|
||||
"eventhandler:libeventhandler",
|
||||
"hitrace_native:hitrace_meter",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
"hilog:libhilog",
|
||||
"hitrace:hitrace_meter",
|
||||
"init:libbegetutil",
|
||||
"ipc:ipc_core",
|
||||
"napi:ace_napi",
|
||||
@ -134,7 +134,7 @@ ohos_unittest("AppSpawn_ut") {
|
||||
|
||||
if (appspawn_report_event) {
|
||||
defines += [ "REPORT_EVENT" ]
|
||||
external_deps += [ "hisysevent_native:libhisysevent" ]
|
||||
external_deps += [ "hisysevent:libhisysevent" ]
|
||||
sources += [ "${appspawn_path}/adapter/sysevent/event_reporter.cpp" ]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user