diff --git a/bundle.json b/bundle.json index 1f6626625c0a863518fa6c902fcb24d3503dee50..f05efa3767df81b7f602d94f4e60027ddebebcb7 100644 --- a/bundle.json +++ b/bundle.json @@ -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" ] + } + } +} diff --git a/include/syscap_define.h b/include/syscap_define.h index 0592b4fb6bf164be1a7defe7a24b24ffe9d1d2cc..32a4b56593248ba76d366cfdcbb2cdb6881f5f8d 100644 --- a/include/syscap_define.h +++ b/include/syscap_define.h @@ -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, @@ -367,6 +368,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},