部件化-group整改

Signed-off-by: yanghang <yanghang86@huawei.com>
This commit is contained in:
yanghang 2024-04-15 15:14:56 +08:00
parent ba08058732
commit 19eb53d331
2 changed files with 3 additions and 7 deletions

View File

@ -126,7 +126,7 @@
}
},
{
"name": "//foundation/communication/ipc/interfaces/kits/js/napi:ipc_js",
"name": "//foundation/communication/ipc/interfaces/kits/js/napi:rpc",
"header": {
"header_files": [
"napi_remote_object.h"

View File

@ -27,7 +27,6 @@ if (support_jsapi) {
version_script = "librpc_map"
include_dirs = [
"$SUBSYSTEM_DIR/utils/include",
"//utils/system/safwk/native/include",
"$SUBSYSTEM_DIR/ipc/native/c/adapter/include",
"$SUBSYSTEM_DIR/ipc/native/c/adapter/access_token/include",
"$SUBSYSTEM_DIR/ipc/native/src/napi_common/include",
@ -59,10 +58,7 @@ if (support_jsapi) {
subsystem_name = "communication"
part_name = "ipc"
}
}
group("ipc_js") {
if (support_jsapi) {
deps = [ ":rpc" ]
} else {
ohos_shared_library("rpc") {
}
}