mirror of
https://github.com/openharmony/device_manager.git
synced 2026-07-19 18:13:32 -04:00
@@ -21,6 +21,4 @@ services_path = "${devicemanager_path}/services"
|
||||
|
||||
innerkits_path = "${devicemanager_path}/interfaces/inner_kits"
|
||||
|
||||
build_flags = [ "-Werror" ]
|
||||
|
||||
dm_ldflags = [ "-lpthread" ]
|
||||
|
||||
@@ -58,8 +58,6 @@ if (defined(ohos_lite)) {
|
||||
"LOG_DOMAIN=0xD004100",
|
||||
]
|
||||
|
||||
cflags_cc = build_flags
|
||||
|
||||
deps = [
|
||||
"${utils_path}:devicemanagerutils",
|
||||
"//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared",
|
||||
|
||||
@@ -29,7 +29,7 @@ IMPLEMENT_SINGLE_INSTANCE(IpcClientStub);
|
||||
static int32_t ClientIpcInterfaceMsgHandle(const IpcContext *ctx, void *ipcMsg, IpcIo *io, void *arg)
|
||||
{
|
||||
(void)arg;
|
||||
if (ipcMsg == nullptr || io == nullptr || ctx == nullptr) {
|
||||
if (ipcMsg == nullptr || io == nullptr) {
|
||||
DMLOG(DM_LOG_ERROR, "invalid param");
|
||||
return DEVICEMANAGER_INVALID_PARAM;
|
||||
}
|
||||
|
||||
@@ -89,8 +89,6 @@ if (defined(ohos_lite)) {
|
||||
"LOG_DOMAIN=0xD004100",
|
||||
]
|
||||
|
||||
cflags_cc = build_flags
|
||||
|
||||
ldflags = dm_ldflags
|
||||
|
||||
deps = [
|
||||
|
||||
@@ -61,8 +61,6 @@ if (defined(ohos_lite)) {
|
||||
"LOG_DOMAIN=0xD004100",
|
||||
]
|
||||
|
||||
cflags_cc = build_flags
|
||||
|
||||
deps = [
|
||||
"//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared",
|
||||
"//base/startup/syspara_lite/frameworks/parameter/src:sysparam",
|
||||
|
||||
Reference in New Issue
Block a user