mirror of
https://gitee.com/openharmony/startup_appspawn
synced 2024-11-23 07:00:17 +00:00
change utils path
Signed-off-by: lijiahao <lijiahao36@huawei.com>
This commit is contained in:
parent
6ca6ca5de3
commit
af43a4fa2e
8
BUILD.gn
8
BUILD.gn
@ -21,7 +21,7 @@ config("appspawn_config") {
|
||||
"standard",
|
||||
"adapter",
|
||||
"interfaces/innerkits/include",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"util/include",
|
||||
"${ability_runtime_path}/interfaces/kits/native/appkit/app",
|
||||
"//base/global/resource_management/interfaces/inner_api/include",
|
||||
@ -52,12 +52,12 @@ ohos_executable("appspawn") {
|
||||
"ability_base:want",
|
||||
"ability_runtime:app_manager",
|
||||
"ability_runtime:runtime",
|
||||
"c_utils:utils",
|
||||
"eventhandler:libeventhandler",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
"init:libbegetutil",
|
||||
"ipc:ipc_core",
|
||||
"napi:ace_napi",
|
||||
"utils_base:utils",
|
||||
]
|
||||
|
||||
install_enable = true
|
||||
@ -89,9 +89,9 @@ ohos_static_library("appspawn_server") {
|
||||
"//base/security/access_token/interfaces/innerkits/token_setproc:libtoken_setproc",
|
||||
"//base/startup/init/interfaces/innerkits:libbegetutil",
|
||||
"//foundation/communication/netmanager_base/services/netmanagernative/netsys_client:netsys_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
"init:libbegetutil",
|
||||
]
|
||||
@ -135,9 +135,9 @@ ohos_static_library("nwebspawn_server") {
|
||||
deps = [
|
||||
"//base/security/access_token/interfaces/innerkits/token_setproc:libtoken_setproc",
|
||||
"//foundation/communication/netmanager_base/services/netmanagernative/netsys_client:netsys_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
"init:libbegetutil",
|
||||
]
|
||||
|
136
bundle.json
136
bundle.json
@ -1,69 +1,69 @@
|
||||
{
|
||||
"name": "@ohos/startup_appspawn",
|
||||
"description": "app start manager",
|
||||
"homePage": "https://gitee.com/openharmony",
|
||||
"version": "3.1",
|
||||
"license": "Apache License 2.0",
|
||||
"repository": "https://gitee.com/openharmony/startup_appspawn",
|
||||
"publishAs": "code-segment",
|
||||
"segment": {
|
||||
"destPath": "base/startup/appspawn"
|
||||
},
|
||||
"dirs": {},
|
||||
"scripts": {},
|
||||
"component": {
|
||||
"name": "appspawn",
|
||||
"subsystem": "startup",
|
||||
"adapted_system_type": [
|
||||
"standard"
|
||||
],
|
||||
"features": [
|
||||
"appspawn_support_nweb"
|
||||
],
|
||||
"rom": "",
|
||||
"ram": "",
|
||||
"hisysevent_config": [
|
||||
"//base/startup/appspawn/startup_events.yaml"
|
||||
],
|
||||
"deps": {
|
||||
"components": [
|
||||
"ability_base",
|
||||
"utils_base",
|
||||
"ipc",
|
||||
"selinux",
|
||||
"hiviewdfx_hilog_native",
|
||||
"init",
|
||||
"ability_runtime",
|
||||
"access_token",
|
||||
"common",
|
||||
"eventhandler"
|
||||
]
|
||||
},
|
||||
"build": {
|
||||
"sub_component": [
|
||||
"//base/startup/appspawn:appspawn",
|
||||
"//base/startup/appspawn:appspawn.rc",
|
||||
"//base/startup/appspawn:appspawn_server",
|
||||
"//base/startup/appspawn:nweb",
|
||||
"//base/startup/appspawn/etc:etc_files",
|
||||
"//base/startup/appspawn/interfaces/innerkits:appspawn_socket_client"
|
||||
],
|
||||
"inner_kits": [
|
||||
{
|
||||
"header": {
|
||||
"header_base": "//base/startup/appspawn/interfaces/innerkits/include/",
|
||||
"header_files": [
|
||||
"appspawn_socket.h",
|
||||
"client_socket.h"
|
||||
]
|
||||
},
|
||||
"name": "//base/startup/appspawn/interfaces/innerkits:appspawn_socket_client"
|
||||
}
|
||||
],
|
||||
"test": [
|
||||
"//base/startup/appspawn/test:moduletest",
|
||||
"//base/startup/appspawn/test/unittest:unittest"
|
||||
]
|
||||
}
|
||||
}
|
||||
{
|
||||
"name": "@ohos/startup_appspawn",
|
||||
"description": "app start manager",
|
||||
"homePage": "https://gitee.com/openharmony",
|
||||
"version": "3.1",
|
||||
"license": "Apache License 2.0",
|
||||
"repository": "https://gitee.com/openharmony/startup_appspawn",
|
||||
"publishAs": "code-segment",
|
||||
"segment": {
|
||||
"destPath": "base/startup/appspawn"
|
||||
},
|
||||
"dirs": {},
|
||||
"scripts": {},
|
||||
"component": {
|
||||
"name": "appspawn",
|
||||
"subsystem": "startup",
|
||||
"adapted_system_type": [
|
||||
"standard"
|
||||
],
|
||||
"features": [
|
||||
"appspawn_support_nweb"
|
||||
],
|
||||
"rom": "",
|
||||
"ram": "",
|
||||
"hisysevent_config": [
|
||||
"//base/startup/appspawn/startup_events.yaml"
|
||||
],
|
||||
"deps": {
|
||||
"components": [
|
||||
"ability_base",
|
||||
"c_utils",
|
||||
"ipc",
|
||||
"selinux",
|
||||
"hiviewdfx_hilog_native",
|
||||
"init",
|
||||
"ability_runtime",
|
||||
"access_token",
|
||||
"common",
|
||||
"eventhandler"
|
||||
]
|
||||
},
|
||||
"build": {
|
||||
"sub_component": [
|
||||
"//base/startup/appspawn:appspawn",
|
||||
"//base/startup/appspawn:appspawn.rc",
|
||||
"//base/startup/appspawn:appspawn_server",
|
||||
"//base/startup/appspawn:nweb",
|
||||
"//base/startup/appspawn/etc:etc_files",
|
||||
"//base/startup/appspawn/interfaces/innerkits:appspawn_socket_client"
|
||||
],
|
||||
"inner_kits": [
|
||||
{
|
||||
"header": {
|
||||
"header_base": "//base/startup/appspawn/interfaces/innerkits/include/",
|
||||
"header_files": [
|
||||
"appspawn_socket.h",
|
||||
"client_socket.h"
|
||||
]
|
||||
},
|
||||
"name": "//base/startup/appspawn/interfaces/innerkits:appspawn_socket_client"
|
||||
}
|
||||
],
|
||||
"test": [
|
||||
"//base/startup/appspawn/test:moduletest",
|
||||
"//base/startup/appspawn/test/unittest:unittest"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@ -30,11 +30,11 @@ ohos_static_library("appspawn_socket_client") {
|
||||
]
|
||||
|
||||
public_configs = [ ":exported_header_files" ]
|
||||
deps = [
|
||||
"//base/startup/init/interfaces/innerkits:libbegetutil",
|
||||
"//utils/native/base:utils",
|
||||
deps = [ "//base/startup/init/interfaces/innerkits:libbegetutil" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
|
||||
subsystem_name = "${subsystem_name}"
|
||||
part_name = "${part_name}"
|
||||
|
@ -20,7 +20,7 @@ ohos_moduletest("AppSpawnModuleTest") {
|
||||
sources = [ "${appspawn_path}/test/moduletest/appspawn_module_test.cpp" ]
|
||||
|
||||
include_dirs = [
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/zlib/contrib/minizip",
|
||||
"//third_party/zlib",
|
||||
]
|
||||
@ -34,11 +34,11 @@ ohos_moduletest("AppSpawnModuleTest") {
|
||||
"${ability_runtime_path}/services/appmgr:libappms",
|
||||
"${appspawn_path}/interfaces/innerkits:appspawn_socket_client",
|
||||
"//third_party/googletest:gtest_main",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
|
||||
external_deps = [
|
||||
"bundle_framework:appexecfwk_base",
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ config("utest_config") {
|
||||
"${appspawn_path}/adapter",
|
||||
"${appspawn_path}/interfaces/innerkits/include",
|
||||
"${appspawn_path}/util/include",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"ability_runtime_kits_path/appkit/native/app/include",
|
||||
"${ability_runtime_path}/interfaces/innerkits/app_manager/include/appmgr",
|
||||
"${ability_runtime_path}/interfaces/innerkits/ability_manager/include",
|
||||
@ -91,12 +91,12 @@ ohos_unittest("AppSpawn_ut") {
|
||||
"ability_runtime:runtime",
|
||||
"bundle_framework:appexecfwk_base",
|
||||
"bundle_framework:appexecfwk_core",
|
||||
"c_utils:utils",
|
||||
"eventhandler:libeventhandler",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
"init:libbegetutil",
|
||||
"ipc:ipc_core",
|
||||
"napi:ace_napi",
|
||||
"utils_base:utils",
|
||||
]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user