Merge branch 'master' of gitee.com:openharmony/developtools_syscap_codec into interfaces

This commit is contained in:
chenyude
2022-07-05 06:19:05 +00:00
committed by Gitee
3 changed files with 10 additions and 4 deletions
+2 -1
View File
@@ -152,7 +152,8 @@ build_ext_component("generate_pcid") {
cmd = "${exec_path}/clang_x64/developtools/syscap_codec/syscap_tool"
}
command = "chmod 777 $cmd"
command += " && $cmd -P -e -i ${preload_path}/${product_name}/system/etc/SystemCapability.json"
command +=
" && $cmd -P -e -i ${preload_path}/system/etc/SystemCapability.json"
if (defined(ohos_lite)) {
command += " && mkdir -p $exec_path/system/etc && cp $exec_path/PCID.sc $exec_path/system/etc/PCID.sc"
}
+6 -3
View File
@@ -16,10 +16,13 @@
"feature": [],
"adapted_system_type": [ "small", "standard" ],
"deps": {
"components": [],
"components": [
"napi",
"hiviewdfx_hilog_native"
],
"third_party": [
"bounds_checking_function",
"thirdparty_cjson"
"cjson"
]
},
"build": {
@@ -38,4 +41,4 @@
"test": [ "//developtools/syscap_codec/test/unittest/common:unittest" ]
}
}
}
}
+2
View File
@@ -125,6 +125,7 @@ typedef enum SystemCapabilityNum {
MULTIMEDIA_MEDIA_SPLITER,
MULTIMEDIA_MEDIA_VIDEOPLAYER,
MULTIMEDIA_MEDIA_VIDEORECORDER,
MULTIMEDIA_AV_SESSION,
MULTIMODALINPUT_INPUT,
NOTIFICATION_COMMONEVENT,
NOTIFICATION_EMITTER,
@@ -278,6 +279,7 @@ const static SyscapWithNum arraySyscap[] = {
{"SystemCapability.Multimedia.Media.Spliter", MULTIMEDIA_MEDIA_SPLITER},
{"SystemCapability.Multimedia.Media.VideoPlayer", MULTIMEDIA_MEDIA_VIDEOPLAYER},
{"SystemCapability.Multimedia.Media.VideoRecorder", MULTIMEDIA_MEDIA_VIDEORECORDER},
{"SystemCapability.Multimedia.AVSession", MULTIMEDIA_AV_SESSION},
{"SystemCapability.multimodalinput.input", MULTIMODALINPUT_INPUT},
{"SystemCapability.Notification.CommonEvent", NOTIFICATION_COMMONEVENT},
{"SystemCapability.Notification.Emitter", NOTIFICATION_EMITTER},