From 1259247a28b915b6c74e9d53485034916b3158e3 Mon Sep 17 00:00:00 2001 From: xionglei6 Date: Tue, 29 Mar 2022 11:53:13 +0800 Subject: [PATCH 1/2] fix: inner source issue Signed-off-by: xionglei6 --- BUILD.gn | 2 +- OAT.xml | 2 +- README.md | 13 +------------ README_zh.md | 3 +-- appspawn.gni | 2 +- appspawn.rc | 2 +- interfaces/innerkits/BUILD.gn | 2 +- interfaces/innerkits/include/appspawn_socket.h | 2 +- interfaces/innerkits/include/client_socket.h | 2 +- src/appspawn_msg_peer.cpp | 2 +- src/appspawn_server.cpp | 8 +++----- src/include/appspawn_msg_peer.h | 2 +- src/include/appspawn_server.h | 4 +++- src/include/server_socket.h | 2 +- src/main.cpp | 2 +- src/socket/appspawn_socket.cpp | 2 +- src/socket/client_socket.cpp | 2 +- src/socket/server_socket.cpp | 2 +- test/BUILD.gn | 2 +- test/mock/include/main_thread.h | 2 +- test/mock/include/mock_client_socket.h | 2 +- test/mock/include/mock_server_socket.h | 2 +- test/mock/src/appspawn_msg_peer.cpp | 2 +- test/mock/src/main_thread.cpp | 2 +- test/mock/src/server_socket.cpp | 2 +- test/moduletest/BUILD.gn | 2 +- test/moduletest/appspawn_module_test.cpp | 17 ++++++++--------- test/unittest/app_spawn_msg_peer_test/BUILD.gn | 2 +- .../app_spawn_msg_peer_test.cpp | 2 +- test/unittest/app_spawn_server_test/BUILD.gn | 2 +- .../app_spawn_server_mock_test.cpp | 2 +- .../app_spawn_server_override_test.cpp | 4 ++-- test/unittest/app_spawn_socket_test/BUILD.gn | 2 +- .../app_spawn_socket_test.cpp | 2 +- test/unittest/client_socket_test/BUILD.gn | 2 +- .../client_socket_test/client_socket_test.cpp | 2 +- test/unittest/server_socket_test/BUILD.gn | 2 +- .../server_socket_test/server_socket_test.cpp | 2 +- 38 files changed, 50 insertions(+), 63 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 046f7df9..809887da 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. +# Copyright (c) 2022 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 diff --git a/OAT.xml b/OAT.xml index 96a1658a..af14b7b9 100644 --- a/OAT.xml +++ b/OAT.xml @@ -1,5 +1,5 @@ -