fix:decouple dsoftbus

Signed-off-by: hu-xiusong <huxiusong1@huawei.com>
This commit is contained in:
hu-xiusong 2024-09-04 13:35:12 +00:00
parent 54a2253ca0
commit e641324fc2
10 changed files with 1236 additions and 16 deletions

View File

@ -43,7 +43,8 @@
"bounds_checking_function",
"hisysevent",
"json",
"selinux"
"selinux",
"rust"
],
"third_party": [
]

View File

@ -17,7 +17,7 @@ import("../config.gni")
SUBSYSTEM_DIR = "../"
IPC_CORE_ROOT = "$SUBSYSTEM_DIR/ipc/native"
DSOFTBUS_INTERFACES_PATH = "../../dsoftbus"
DSOFTBUS_INTERFACES_PATH = "$SUBSYSTEM_DIR/dl_deps"
config("ipc_util_config") {
# header file path
@ -44,10 +44,5 @@ config("ipc_util_config") {
}
config("dsoftbus_header_deps_config") {
include_dirs = [
"$DSOFTBUS_INTERFACES_PATH/interfaces/inner_kits/transport",
"$DSOFTBUS_INTERFACES_PATH/interfaces/kits/bus_center",
"$DSOFTBUS_INTERFACES_PATH/interfaces/kits/common",
"$DSOFTBUS_INTERFACES_PATH/interfaces/kits/transport",
]
include_dirs = [ "$DSOFTBUS_INTERFACES_PATH" ]
}

1225
dl_deps/dsoftbus_interface.h Normal file

File diff suppressed because it is too large Load Diff

View File

@ -38,6 +38,7 @@ ohos_shared_library("ipc_common") {
]
configs = [
"$SUBSYSTEM_DIR/config:dsoftbus_header_deps_config",
"$SUBSYSTEM_DIR/config:ipc_util_config",
":libipc_common_private_config",
]

View File

@ -20,10 +20,8 @@
#include <string>
#include <atomic>
#include "inner_socket.h"
#include "nocopyable.h"
#include "socket.h"
#include "softbus_bus_center.h"
#include "dsoftbus_interface.h"
namespace OHOS {
enum {

View File

@ -20,7 +20,7 @@
#include "ipc_process_skeleton.h"
#include "ipc_thread_skeleton.h"
#include "log_tags.h"
#include "softbus_error_code.h"
#include "dsoftbus_interface.h"
namespace OHOS {
static constexpr OHOS::HiviewDFX::HiLogLabel LABEL = { LOG_CORE, LOG_ID_RPC_REMOTE_LISTENER, "DatabusSocketListener" };

View File

@ -27,7 +27,7 @@
#include "dbinder_sa_death_recipient.h"
#include "dbinder_service_stub.h"
#include "ffrt.h"
#include "softbus_bus_center.h"
#include "dsoftbus_interface.h"
namespace OHOS {

View File

@ -21,7 +21,7 @@
#include "dbinder_error_code.h"
#include "dbinder_log.h"
#include "ipc_types.h"
#include "softbus_error_code.h"
#include "dsoftbus_interface.h"
namespace OHOS {
static constexpr OHOS::HiviewDFX::HiLogLabel LOG_LABEL = { LOG_CORE, LOG_ID_RPC_REMOTE_LISTENER,

View File

@ -21,7 +21,7 @@
#include "distributed_agent.h"
#include "dbinder_service_test_helper.h"
#include "log_tags.h"
#include "softbus_bus_center.h"
#include "dsoftbus_interface.h"
using namespace testing;
using namespace OHOS;

View File

@ -17,7 +17,7 @@
#include "system_ability_definition.h"
#include "if_system_ability_manager.h"
#include "iservice_registry.h"
#include "softbus_bus_center.h"
#include "dsoftbus_interface.h"
#include "ipc_skeleton.h"
#include "ipc_object_proxy.h"
#include "rpc_test.h"