From 1cde364bbb827594eb238bcba7aeb3c8372eb9a0 Mon Sep 17 00:00:00 2001 From: yudechen Date: Wed, 17 Aug 2022 09:04:55 +0800 Subject: [PATCH] add AceEngineLite syscap. Signed-off-by: yudechen Change-Id: Ic79706169a079032b26298be432916f2942e70bb --- BUILD.gn | 2 +- include/syscap_define.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index d347481..0fe59de 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -29,7 +29,7 @@ ohos_executable("syscap_define_check_bin") { sources = [ "./test/syscap_define_check.c" ] if (is_mingw) { - defines += [ "_POSIX_" ] + defines = [ "_POSIX_" ] } subsystem_name = "developtools" diff --git a/include/syscap_define.h b/include/syscap_define.h index 2c5f482..cededa0 100644 --- a/include/syscap_define.h +++ b/include/syscap_define.h @@ -32,6 +32,7 @@ typedef struct SystemCapabilityWithNum { typedef enum SystemCapabilityNum { ACCOUNT_APPACCOUNT, ACCOUNT_OSACCOUNT, + ACE_ACEENGINELITE, AI_AIENGINE, APPLICATIONS_CONTACTSDATA, BARRIERFREE_ACCESSIBILITY_CORE, @@ -220,6 +221,7 @@ typedef enum SystemCapabilityNum { const static SyscapWithNum g_arraySyscap[] = { {"SystemCapability.Account.AppAccount", ACCOUNT_APPACCOUNT}, {"SystemCapability.Account.OsAccount", ACCOUNT_OSACCOUNT}, + {"SystemCapability.Ace.AceEngineLite", ACE_ACEENGINELITE}, {"SystemCapability.Ai.AiEngine", AI_AIENGINE}, {"SystemCapability.Applications.ContactsData", APPLICATIONS_CONTACTSDATA}, {"SystemCapability.Barrierfree.Accessibility.Core", BARRIERFREE_ACCESSIBILITY_CORE},