From e678da96f5698b41f95bc9665ddd5c1fbd887c4c Mon Sep 17 00:00:00 2001 From: zhang-xiaobo1997 Date: Fri, 25 Mar 2022 16:06:06 +0800 Subject: [PATCH] modify for bundle Signed-off-by: zhang-xiaobo1997 --- bundle.json | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++ ohos.build | 50 --------------------------------- 2 files changed, 79 insertions(+), 50 deletions(-) create mode 100644 bundle.json delete mode 100644 ohos.build diff --git a/bundle.json b/bundle.json new file mode 100644 index 000000000..5fd75b7da --- /dev/null +++ b/bundle.json @@ -0,0 +1,79 @@ +{ + "name": "@ohos/image_standard", + "description": "Image standard provides atomic capabilities", + "version": "3.1", + "license": "Apache License 2.0", + "publishAs": "code-segment", + "segment": { + "destPath": "foundation/multimedia/image_standard" + }, + "dirs": {}, + "scripts": {}, + "component": { + "name": "multimedia_image_standard", + "subsystem": "multimedia", + "syscap": [ "SystemCapability.Multimedia.Image" ], + "features": [], + "adapted_system_type": [ "standard" ], + "rom": "10000KB", + "ram": "10000KB", + "deps": { + "components": [ + "ipc_core", + "libhilog", + "bytrace_core", + "libhichecker" + ], + "third_party": [ + "flutter", + "libpng", + "libexif", + "giflib", + "bounds_checking_function", + "expat", + "json", + "boost" + ] + }, + "build": { + "sub_component": [ + "//foundation/multimedia/image_standard:image_framework", + "//foundation/multimedia/image_standard:plugins" + ], + "inner_kits": [ + { + "header": { + "header_files": [ + "pixel_map.h", + "image_packer.h", + "image_source.h", + "image_type.h", + "peer_listener.h", + "incremental_pixel_map.h", + "pixel_map_manager.h", + "decode_listener.h", + "pixel_map_parcel.h" + ], + "header_base": "//foundation/multimedia/image_standard/interfaces/innerkits/include" + }, + "name": "//foundation/multimedia/image_standard/interfaces/innerkits:image_native" + }, + { + "header": { + "header_files": [ + "image_packer_napi.h", + "image_source_napi.h", + "native_module_ohos_image.h", + "pixel_map_napi.h" + ], + "header_base": "//foundation/multimedia/image_standard/interfaces/kits/js/common/include" + }, + "name": "//foundation/multimedia/image_standard/interfaces/innerkits:image" + } + ], + "system_capabilities":[ + "SystemCapability.Multimedia.Image" + ] + } + } + } diff --git a/ohos.build b/ohos.build deleted file mode 100644 index 54f7bc716..000000000 --- a/ohos.build +++ /dev/null @@ -1,50 +0,0 @@ -{ - "subsystem": "multimedia", - "parts": { - "multimedia_image_standard": { - "variants": [ - "phone", - "ivi", - "wearable" - ], - "module_list": [ - "//foundation/multimedia/image_standard:image_framework", - "//foundation/multimedia/image_standard:plugins" - ], - "inner_kits": [ - { - "header": { - "header_files": [ - "pixel_map.h", - "image_packer.h", - "image_source.h", - "image_type.h", - "peer_listener.h", - "incremental_pixel_map.h", - "pixel_map_manager.h", - "decode_listener.h", - "pixel_map_parcel.h" - ], - "header_base": "//foundation/multimedia/image_standard/interfaces/innerkits/include" - }, - "name": "//foundation/multimedia/image_standard/interfaces/innerkits:image_native" - }, - { - "header": { - "header_files": [ - "image_packer_napi.h", - "image_source_napi.h", - "native_module_ohos_image.h", - "pixel_map_napi.h" - ], - "header_base": "//foundation/multimedia/image_standard/interfaces/kits/js/common/include" - }, - "name": "//foundation/multimedia/image_standard/interfaces/innerkits:image" - } - ], - "system_capabilities":[ - "SystemCapability.Multimedia.Image" - ] - } - } -} -- Gitee