diff --git a/BUILD.gn b/BUILD.gn index 4b40b7f..93eaa57 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -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" } diff --git a/bundle.json b/bundle.json index 8cef567..1f66266 100644 --- a/bundle.json +++ b/bundle.json @@ -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" ] } } -} \ No newline at end of file +} diff --git a/include/syscap_define.h b/include/syscap_define.h index 60ae8b9..559602c 100644 --- a/include/syscap_define.h +++ b/include/syscap_define.h @@ -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},