From 0a81e1c57e78e74da90fce8831f3170a4caf4ea0 Mon Sep 17 00:00:00 2001 From: chensi10 Date: Thu, 15 Jul 2021 11:09:18 +0800 Subject: [PATCH] Update framework struct and add new function Signed-off-by: chensi10 --- BUILD.gn | 6 +++++- OAT.xml | 2 -- appspawn.cfg | 18 ++++++++++++++++++ include/appspawn_server.h | 8 ++++++++ include/appspawn_socket.h | 4 ++++ include/server_socket.h | 4 ++-- ohos.build | 1 + src/appspawn_server.cpp | 24 ++++++++++++++++++++++++ src/socket/server_socket.cpp | 2 +- 9 files changed, 63 insertions(+), 6 deletions(-) create mode 100755 appspawn.cfg diff --git a/BUILD.gn b/BUILD.gn index 425753e8..cc3a1e8c 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -83,7 +83,11 @@ ohos_shared_library("appspawn_socket_client") { } ohos_prebuilt_etc("appspawn.rc") { - source = "appspawn.rc" + if (use_musl) { + source = "appspawn.cfg" + } else { + source = "appspawn.rc" + } relative_install_dir = "init" subsystem_name = "${subsystem_name}" part_name = "${part_name}" diff --git a/OAT.xml b/OAT.xml index aa01ceab..96a1658a 100644 --- a/OAT.xml +++ b/OAT.xml @@ -13,8 +13,6 @@ See the License for the specific language governing permissions and limitations under the License. - Notes: - This is project config file for OpenHarmony OSS Audit Tool, if you have any questions or concerns, please email chenyaxun@huawei.com. -->