From 975d2b6f1dcd0ae403f2eb13c3196b675c3b7b21 Mon Sep 17 00:00:00 2001 From: taiyipei Date: Wed, 11 May 2022 23:29:08 -0700 Subject: [PATCH 1/2] add bundle json file Signed-off-by: taiyipei --- app/bundle.json | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100755 app/bundle.json diff --git a/app/bundle.json b/app/bundle.json new file mode 100755 index 0000000..2da36fa --- /dev/null +++ b/app/bundle.json @@ -0,0 +1,36 @@ +{ + "name": "@ohos/wifi_iot_sample_app", + "description": "Wifi iot samples.", + "version": "3.1", + "license": "Apache License 2.0", + "publishAs": "code-segment", + "segment": { + "destPath": "applications/sample/wifi-iot/app" + }, + "dirs": {}, + "scripts": {}, + "component": { + "name": "wifi_iot_sample_app", + "subsystem": "applications", + "syscap": [], + "features": [], + "adapted_system_type": [ + "mini" + ], + "rom": "", + "ram": "", + "deps": { + "components": [ + "utils_base" + ], + "third_party": [] + }, + "build": { + "sub_component": [ + "//applications/sample/wifi-iot/app" + ], + "inner_kits": [], + "test": [] + } + } +} \ No newline at end of file -- Gitee From 4b69c56fb82ba674967c9600be9e19449205bc64 Mon Sep 17 00:00:00 2001 From: taiyipei Date: Thu, 12 May 2022 00:28:34 -0700 Subject: [PATCH 2/2] fix build issue Signed-off-by: taiyipei --- app/bundle.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/bundle.json b/app/bundle.json index 2da36fa..2f19a70 100755 --- a/app/bundle.json +++ b/app/bundle.json @@ -27,10 +27,10 @@ }, "build": { "sub_component": [ - "//applications/sample/wifi-iot/app" + "//applications/sample/wifi-iot/app:app" ], "inner_kits": [], "test": [] } } -} \ No newline at end of file +} -- Gitee