From cea4c39635353ea4245f3b5be7f5781afa83f56b Mon Sep 17 00:00:00 2001 From: zhaoxingyu Date: Mon, 24 Jun 2024 17:09:11 +0800 Subject: [PATCH] fix BUILD.gn format Signed-off-by: zhaoxingyu --- gr5515_sk_iotlink_demo/BUILD.gn | 7 +++---- gr5515_sk_iotlink_demo/ble_template/BUILD.gn | 4 +--- gr5515_sk_xts_demo/BUILD.gn | 4 ++-- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/gr5515_sk_iotlink_demo/BUILD.gn b/gr5515_sk_iotlink_demo/BUILD.gn index 52aa485..9c024d8 100755 --- a/gr5515_sk_iotlink_demo/BUILD.gn +++ b/gr5515_sk_iotlink_demo/BUILD.gn @@ -73,6 +73,7 @@ if (use_legacy) { deps = [ ":binary", ":hex", + # ":disassembly", ] } @@ -86,8 +87,6 @@ if (use_legacy) { "//build/lite:ohos", ] - force_link_libs = [ - "ble_example", - ] + force_link_libs = [ "ble_example" ] } -} \ No newline at end of file +} diff --git a/gr5515_sk_iotlink_demo/ble_template/BUILD.gn b/gr5515_sk_iotlink_demo/ble_template/BUILD.gn index 180597d..f0f0b03 100755 --- a/gr5515_sk_iotlink_demo/ble_template/BUILD.gn +++ b/gr5515_sk_iotlink_demo/ble_template/BUILD.gn @@ -19,7 +19,5 @@ static_library("ble_example") { "user_app/user_app.c", ] - include_dirs = [ - "user_app", - ] + include_dirs = [ "user_app" ] } diff --git a/gr5515_sk_xts_demo/BUILD.gn b/gr5515_sk_xts_demo/BUILD.gn index 2c12b57..2bcc8ce 100755 --- a/gr5515_sk_xts_demo/BUILD.gn +++ b/gr5515_sk_xts_demo/BUILD.gn @@ -17,7 +17,6 @@ fw_img_name = "gr5515_sk_xts_demo" use_legacy = false if (use_legacy) { - executable("${fw_img_name}.elf") { deps = [ "tests:drivers", @@ -95,6 +94,7 @@ if (use_legacy) { deps = [ ":binary", ":hex", + # ":disassembly", ] } @@ -124,4 +124,4 @@ if (use_legacy) { "module_ActsHieventLiteTest", ] } -} \ No newline at end of file +} -- Gitee