From ca53fd448517d818f47c75641901cf96b25c09f5 Mon Sep 17 00:00:00 2001 From: twz804667 Date: Tue, 11 Oct 2022 17:47:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E6=9F=A5iccarm=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: twz804667 --- ability_lite/ability_hal/BUILD.gn | 5 ++--- appexecfwk_lite/appexecfwk_hal/BUILD.gn | 3 +-- commonlibrary_lite/file_hal/BUILD.gn | 3 +-- communication_lite/dsoftbus_hal/BUILD.gn | 3 +-- .../system_ability_manager_hal/BUILD.gn | 3 +-- hiviewdfx_lite/hievent_hal/BUILD.gn | 3 +-- hiviewdfx_lite/hilog_hal/BUILD.gn | 3 +-- startup_lite/syspara_hal/BUILD.gn | 3 +-- update_lite/dupdate_hal/BUILD.gn | 5 ++--- 9 files changed, 11 insertions(+), 20 deletions(-) diff --git a/ability_lite/ability_hal/BUILD.gn b/ability_lite/ability_hal/BUILD.gn index 1e2603548..484e76180 100755 --- a/ability_lite/ability_hal/BUILD.gn +++ b/ability_lite/ability_hal/BUILD.gn @@ -21,9 +21,8 @@ hctest_suite("ActsAbilityMgrTest") { "${aafwk_lite_path}/interfaces/kits/ability_lite", "${appexecfwk_lite_path}/interfaces/kits/bundle_lite", ] - - if(board_toolchain_type != "iccarm"){ + + if (board_toolchain_type != "iccarm") { cflags = [ "-Wno-error" ] - } } diff --git a/appexecfwk_lite/appexecfwk_hal/BUILD.gn b/appexecfwk_lite/appexecfwk_hal/BUILD.gn index 701984367..e4a3ef0b2 100755 --- a/appexecfwk_lite/appexecfwk_hal/BUILD.gn +++ b/appexecfwk_lite/appexecfwk_hal/BUILD.gn @@ -22,8 +22,7 @@ hctest_suite("ActsBundleMgrTest") { "${appexecfwk_lite_path}/interfaces/kits/bundle_lite", ] - if(board_toolchain_type != "iccarm"){ + if (board_toolchain_type != "iccarm") { cflags = [ "-Wno-error" ] - } } diff --git a/commonlibrary_lite/file_hal/BUILD.gn b/commonlibrary_lite/file_hal/BUILD.gn index 5ad328f97..30f4597ad 100644 --- a/commonlibrary_lite/file_hal/BUILD.gn +++ b/commonlibrary_lite/file_hal/BUILD.gn @@ -25,8 +25,7 @@ hctest_suite("ActsUtilsFileTest") { "//commonlibrary/utils_lite/include", ] - if(board_toolchain_type != "iccarm"){ + if (board_toolchain_type != "iccarm") { cflags = [ "-Wno-error" ] - } } diff --git a/communication_lite/dsoftbus_hal/BUILD.gn b/communication_lite/dsoftbus_hal/BUILD.gn index 909a36063..65c85b32f 100644 --- a/communication_lite/dsoftbus_hal/BUILD.gn +++ b/communication_lite/dsoftbus_hal/BUILD.gn @@ -31,8 +31,7 @@ hctest_suite("ActsDsoftbusMgrTest") { "//foundation/communication/dsoftbus/adapter/default_config/spec_config", ] - if(board_toolchain_type != "iccarm"){ + if (board_toolchain_type != "iccarm") { cflags = [ "-Wno-error" ] - } } diff --git a/distributed_schedule_lite/system_ability_manager_hal/BUILD.gn b/distributed_schedule_lite/system_ability_manager_hal/BUILD.gn index b66cbeff8..c727b6b0f 100755 --- a/distributed_schedule_lite/system_ability_manager_hal/BUILD.gn +++ b/distributed_schedule_lite/system_ability_manager_hal/BUILD.gn @@ -50,8 +50,7 @@ hctest_suite("ActsSamgrTest") { [ "//foundation/systemabilitymgr/samgr_lite/samgr/adapter:samgr_adapter" ] defines = [ "UNITY_INCLUDE_CONFIG_H" ] - if(board_toolchain_type != "iccarm"){ + if (board_toolchain_type != "iccarm") { cflags = [ "-Wno-error" ] - } } diff --git a/hiviewdfx_lite/hievent_hal/BUILD.gn b/hiviewdfx_lite/hievent_hal/BUILD.gn index d7e68a8e7..cf24a4f70 100755 --- a/hiviewdfx_lite/hievent_hal/BUILD.gn +++ b/hiviewdfx_lite/hievent_hal/BUILD.gn @@ -21,8 +21,7 @@ hctest_suite("ActsHieventLiteTest") { "//base/hiviewdfx/hievent_lite/interfaces/native/innerkits", ] - if(board_toolchain_type != "iccarm"){ + if (board_toolchain_type != "iccarm") { cflags = [ "-Wno-error" ] - } } diff --git a/hiviewdfx_lite/hilog_hal/BUILD.gn b/hiviewdfx_lite/hilog_hal/BUILD.gn index 5bb6a032a..6353d759f 100755 --- a/hiviewdfx_lite/hilog_hal/BUILD.gn +++ b/hiviewdfx_lite/hilog_hal/BUILD.gn @@ -26,8 +26,7 @@ hctest_suite("ActsDfxFuncTest") { "//vendor/hisi/hi3861/hi3861/components/lwip_sack/include", ] - if(board_toolchain_type != "iccarm"){ + if (board_toolchain_type != "iccarm") { cflags = [ "-Wno-error" ] - } } diff --git a/startup_lite/syspara_hal/BUILD.gn b/startup_lite/syspara_hal/BUILD.gn index f12f61960..39bd04e97 100755 --- a/startup_lite/syspara_hal/BUILD.gn +++ b/startup_lite/syspara_hal/BUILD.gn @@ -27,8 +27,7 @@ hctest_suite("ActsParameterTest") { "///base/startup/init/interfaces/innerkits/include/syspara", ] - if(board_toolchain_type != "iccarm"){ + if (board_toolchain_type != "iccarm") { cflags = [ "-Wno-error" ] - } } diff --git a/update_lite/dupdate_hal/BUILD.gn b/update_lite/dupdate_hal/BUILD.gn index 3dc698586..03feca48f 100755 --- a/update_lite/dupdate_hal/BUILD.gn +++ b/update_lite/dupdate_hal/BUILD.gn @@ -21,8 +21,7 @@ hctest_suite("ActsUpdaterFuncTest") { "//base/update/ota_lite/interfaces/kits", ] - if(board_toolchain_type != "iccarm"){ - cflags = [ "-Wno-error" ] - + if (board_toolchain_type != "iccarm"){ + cflags = [ "-Wno-error" ] } } -- GitLab