From 808e25e6456dc7fd5689d9832065a64c781b4188 Mon Sep 17 00:00:00 2001 From: zjucx Date: Tue, 25 Jan 2022 17:31:00 +0800 Subject: [PATCH 1/2] modify warning Signed-off-by: zjucx --- samgr_endpoint/BUILD.gn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/samgr_endpoint/BUILD.gn b/samgr_endpoint/BUILD.gn index 9d7cbcc..83faf4c 100644 --- a/samgr_endpoint/BUILD.gn +++ b/samgr_endpoint/BUILD.gn @@ -45,6 +45,8 @@ source_set("endpoint_source") { "_GNU_SOURCE", "LITE_LINUX_BINDER_IPC", ] + } else { + defines = [ "_GNU_SOURCE" ] } configs += [ ":endpoint_internal" ] -- Gitee From 5883407a980366150ef312b995b0bfd662f17d01 Mon Sep 17 00:00:00 2001 From: zjucx Date: Sat, 29 Jan 2022 12:53:55 +0800 Subject: [PATCH 2/2] test Signed-off-by: zjucx --- BUILD.gn | 1 - 1 file changed, 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index b052e13..d35369a 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -10,7 +10,6 @@ # 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. -import("//build/lite/config/component/lite_component.gni") import("//build/lite/ndk/ndk.gni") lite_component("samgr") { -- Gitee