From e64264bd3346ec85bc5c878a74e9e670c81851a1 Mon Sep 17 00:00:00 2001 From: liyufan Date: Thu, 8 Jun 2023 14:41:38 +0800 Subject: [PATCH 1/4] Add bundle.json Signed-off-by: liyufan --- bundle.json | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 bundle.json diff --git a/bundle.json b/bundle.json new file mode 100644 index 00000000..dafc12e8 --- /dev/null +++ b/bundle.json @@ -0,0 +1,34 @@ +{ + "name": "@ohos/libwebsockets", + "description": "Libwebsockets is a simple-to-use, MIT-license, pure C library providing client and server for http/1, http/2, websockets, MQTT and other protocols in a security-minded, lightweight, configurable, scalable and flexible way.", + "version": "v4.3.1", + "license": "Apache V2.0", + "publishAs": "code-segment", + "segment": { + "destPath": "third_party/libwebsockets" + }, + "dirs": {}, + "scripts": {}, + "licensePath": "COPYING", + "component": { + "name": "libwebsockets", + "subsystem": "thirdparty", + "syscap": [], + "features": [], + "adapted_system_type": [], + "rom": "", + "ram": "", + "deps": { + "components": [], + "third_party": [ + "openssl", + "zlib" + ] + }, + "build": { + "sub_component": [], + "inner_kits": [], + "test": [] + } + } +} \ No newline at end of file -- Gitee From cd39a4229e022a245efa0d3badba6ea129f68cee Mon Sep 17 00:00:00 2001 From: liyufan Date: Thu, 8 Jun 2023 21:39:33 +0800 Subject: [PATCH 2/4] fix comments Signed-off-by: liyufan --- bundle.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bundle.json b/bundle.json index dafc12e8..e10eb1da 100644 --- a/bundle.json +++ b/bundle.json @@ -15,9 +15,9 @@ "subsystem": "thirdparty", "syscap": [], "features": [], - "adapted_system_type": [], - "rom": "", - "ram": "", + "adapted_system_type": [ "standard" ], + "rom": "319k", + "ram": "13865k", "deps": { "components": [], "third_party": [ -- Gitee From c00fa385a62f70bade84c71118267c82fb9b8e40 Mon Sep 17 00:00:00 2001 From: liyufan Date: Fri, 9 Jun 2023 09:52:23 +0800 Subject: [PATCH 3/4] codecheck Signed-off-by: liyufan --- bundle.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bundle.json b/bundle.json index e10eb1da..8745adbb 100644 --- a/bundle.json +++ b/bundle.json @@ -1,7 +1,7 @@ { "name": "@ohos/libwebsockets", "description": "Libwebsockets is a simple-to-use, MIT-license, pure C library providing client and server for http/1, http/2, websockets, MQTT and other protocols in a security-minded, lightweight, configurable, scalable and flexible way.", - "version": "v4.3.1", + "version": "3.1", "license": "Apache V2.0", "publishAs": "code-segment", "segment": { @@ -12,12 +12,12 @@ "licensePath": "COPYING", "component": { "name": "libwebsockets", - "subsystem": "thirdparty", + "subsystem": "netmanager", "syscap": [], "features": [], "adapted_system_type": [ "standard" ], - "rom": "319k", - "ram": "13865k", + "rom": "319KB", + "ram": "13865KB", "deps": { "components": [], "third_party": [ -- Gitee From 7a2209975fbad0731046f889e8d45ea9ec6a5da9 Mon Sep 17 00:00:00 2001 From: liyufan Date: Fri, 9 Jun 2023 14:23:02 +0800 Subject: [PATCH 4/4] code check Signed-off-by: liyufan --- bundle.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle.json b/bundle.json index 8745adbb..46815a42 100644 --- a/bundle.json +++ b/bundle.json @@ -12,7 +12,7 @@ "licensePath": "COPYING", "component": { "name": "libwebsockets", - "subsystem": "netmanager", + "subsystem": "thirdparty", "syscap": [], "features": [], "adapted_system_type": [ "standard" ], -- Gitee