mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-27 10:50:41 +00:00
l0 complie
Signed-off-by: zhufenghao <2581725389@qq.com>
This commit is contained in:
parent
1e8a17c7e1
commit
51f8981af3
@ -23,6 +23,8 @@ if (defined(ohos_lite)) {
|
||||
common_include = [
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$softbus_adapter_common/include",
|
||||
"$libsec_include_path",
|
||||
"$hilog_lite_include_path",
|
||||
]
|
||||
common_deps = [
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
|
@ -60,6 +60,7 @@ if (ohos_kernel_type == "liteos_m") {
|
||||
"$dsoftbus_root_path/core/common/utils:softbus_utils",
|
||||
"$dsoftbus_root_path/core/connection:softbus_connection",
|
||||
"$dsoftbus_root_path/core/transmission/session:dsoftbus_trans_session",
|
||||
"$dsoftbus_root_path/core/discovery:dsoftbus_disc_server",
|
||||
]
|
||||
}
|
||||
} else {
|
||||
|
@ -57,7 +57,7 @@ if (defined(ohos_lite)) {
|
||||
static_library("dsoftbus_trans_direct_channel") {
|
||||
include_dirs =
|
||||
[ "//base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog_lite" ]
|
||||
include_dirs = common_include
|
||||
include_dirs += common_include
|
||||
sources = common_src
|
||||
public_configs = [ ":trans_direct_channel_interface" ]
|
||||
deps = common_deps
|
||||
|
29
sdk/frame/mini/include/softbus_client_stub.h
Normal file
29
sdk/frame/mini/include/softbus_client_stub.h
Normal file
@ -0,0 +1,29 @@
|
||||
/*
|
||||
* Copyright (c) 2021 Huawei Device Co., Ltd.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef SOFTBUS_CLIENT_STUB_H
|
||||
#define SOFTBUS_CLIENT_STUB_H
|
||||
|
||||
#include "softbus_client_stub_interface.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
37
sdk/frame/mini/src/softbus_client_stub.c
Normal file
37
sdk/frame/mini/src/softbus_client_stub.c
Normal file
@ -0,0 +1,37 @@
|
||||
/*
|
||||
* Copyright (c) 2021 Huawei Device Co., Ltd.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
int ClientStubInit(void)
|
||||
{
|
||||
return 0;
|
||||
}/*
|
||||
* Copyright (c) 2021 Huawei Device Co., Ltd.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
int ClientStubInit(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user