!121 添加遗漏的syscap定义,修改文件格式为unix

Merge pull request !121 from peitaiyi/master
This commit is contained in:
openharmony_ci
2022-08-12 00:42:17 +00:00
committed by Gitee
2 changed files with 46 additions and 44 deletions
+44 -44
View File
@@ -1,44 +1,44 @@
{
"name": "@ohos/syscap_codec",
"description": "SystemCapability encode/decode.",
"version": "3.1",
"license": "Apache License 2.0",
"pubiishAs": "code-segment",
"segment": {
"destPath": "developtools/syscap_codec"
},
"dirs": {},
"scripts": {},
"component": {
"name": "syscap_codec",
"subsystem": "developtools",
"syscap": [],
"feature": [],
"adapted_system_type": [ "small", "standard" ],
"deps": {
"components": [
"napi",
"hiviewdfx_hilog_native"
],
"third_party": [
"bounds_checking_function",
"cjson"
]
},
"build": {
"sub_component": [
"//developtools/syscap_codec:syscap_codec"
],
"inner_kits": [
{
"header": {
"header_base": "//developtools/syscap_codec/interfaces/inner_api",
"header_files": [ "syscap_interface.h" ]
},
"name": "//developtools/syscap_codec:syscap_interface_shared"
}
],
"test": [ "//developtools/syscap_codec/test/unittest/common:unittest" ]
}
}
}
{
"name": "@ohos/syscap_codec",
"description": "System capability encode and decode.",
"version": "3.2",
"license": "Apache License 2.0",
"pubiishAs": "code-segment",
"segment": {
"destPath": "developtools/syscap_codec"
},
"dirs": {},
"scripts": {},
"component": {
"name": "syscap_codec",
"subsystem": "developtools",
"syscap": [ "SystemCapability.Developtools.Syscap" ],
"feature": [],
"adapted_system_type": [ "small", "standard" ],
"deps": {
"components": [
"napi",
"hiviewdfx_hilog_native"
],
"third_party": [
"bounds_checking_function",
"cjson"
]
},
"build": {
"sub_component": [
"//developtools/syscap_codec:syscap_codec"
],
"inner_kits": [
{
"header": {
"header_base": "//developtools/syscap_codec/interfaces/inner_api",
"header_files": [ "syscap_interface.h" ]
},
"name": "//developtools/syscap_codec:syscap_interface_shared"
}
],
"test": [ "//developtools/syscap_codec/test/unittest/common:unittest" ]
}
}
}
+2
View File
@@ -193,6 +193,7 @@ typedef enum SystemCapabilityNum {
LOCATION_LOCATION_GEOFENCE,
LOCATION_LOCATION_GEOCODER,
LOCATION_LOCATION_LITE,
DEVELOPTOOLS_SYSCAP,
COMMUNICATION_BLUETOOTH_LITE,
MULTIMEDIA_AUDIO_CORE,
MULTIMEDIA_AUDIO_RENDERER,
@@ -372,6 +373,7 @@ const static SyscapWithNum g_arraySyscap[] = {
{"SystemCapability.UserIAM.UserAuth.PinAuth", USERIAM_USERAUTH_PINAUTH},
{"SystemCapability.UserIAM.UserIdm", USERIAM_USERIDM},
{"SystemCapability.Security.CertificateManager", SECURITY_CERTIFICATE_MANAGER},
{"SystemCapability.Developtools.Syscap", DEVELOPTOOLS_SYSCAP},
{"SystemCapability.Multimedia.Audio.Core", MULTIMEDIA_AUDIO_CORE},
{"SystemCapability.Multimedia.Audio.Renderer", MULTIMEDIA_AUDIO_RENDERER},
{"SystemCapability.Multimedia.Audio.Capturer", MULTIMEDIA_AUDIO_CAPTURER},