From e5ced26a5157b11f4cc8da941c44f6ef0537edcc Mon Sep 17 00:00:00 2001 From: cyberbox <468042667@qq.com> Date: Wed, 8 May 2024 19:41:28 +0800 Subject: [PATCH] libffi update Signed-off-by: cyberbox <468042667@qq.com> Change-Id: I453e4899897891d39a3646834e2fda2fde6565b7 --- BUILD.gn | 6 ++++-- bundle.json | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index ff9d4ec..b8eb733 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -292,7 +292,6 @@ config("gobject_config") { ".", "gobject", "glib", - "//third_party/libffi/include", ] cflags = [ "-DG_LOG_DOMAIN=\"GObject\"", @@ -326,14 +325,17 @@ ohos_source_set("gobject_source") { ] configs = [ ":gobject_config" ] + + external_deps = [ "libffi:ffi" ] } ohos_shared_library("gobject") { deps = [ ":glib", ":gobject_source", - "//third_party/libffi:ffi", ] + + external_deps = [ "libffi:ffi" ] part_name = "glib" subsystem_name = "thirdparty" } diff --git a/bundle.json b/bundle.json index 0c480c5..9ef4c7e 100644 --- a/bundle.json +++ b/bundle.json @@ -25,9 +25,10 @@ "hisysevent", "hitrace", "hilog", - "init" + "init", + "libffi" ], - "third_party": [ "libffi" ] + "third_party": [] }, "build": { "sub_component": [], -- Gitee