From 13e1172791da2745984ce02dfa68a023e774ab66 Mon Sep 17 00:00:00 2001 From: tuxiaohang Date: Tue, 29 Apr 2025 15:31:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85syscap?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue: https://gitee.com/openharmony/interface_sdk_c/issues/IC60F1 Signed-off-by: milkpotatoes Change-Id: Ib9637fabc3c02562d37718bd40dd5c5b486eb521 --- arkui/napi/BUILD.gn | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/arkui/napi/BUILD.gn b/arkui/napi/BUILD.gn index eea7bc4512e..d6f8ce10e8e 100644 --- a/arkui/napi/BUILD.gn +++ b/arkui/napi/BUILD.gn @@ -11,14 +11,17 @@ # See the License for the specific language governing permissions and # limitations under the License. - import("//build/ohos.gni") - ohos_ndk_library("libnapi_ndk") { ndk_description_file = "./libnapi.ndk.json" min_compact_version = "1" output_name = "ace_napi" + system_capability = "SystemCapability.ArkUI.ArkUI.Napi" + system_capability_headers = [ + "napi/common.h", + "napi/native_api.h", + ] } ohos_ndk_headers("napi_header") { @@ -27,4 +30,4 @@ ohos_ndk_headers("napi_header") { "./common.h", "./native_api.h", ] -} \ No newline at end of file +} -- Gitee