diff --git a/ace/BUILD.gn b/ace/BUILD.gn index 5ce5e15cdf5eccda3df63ff73b9863921057fd88..46e05a85ed6f7c18fa350e4c9cd3d6f7fef11a7d 100755 --- a/ace/BUILD.gn +++ b/ace/BUILD.gn @@ -13,7 +13,5 @@ group("ace") { testonly = true - deps = [ - "ace_standard:ace_standard_test", - ] + deps = [ "ace_standard:ace_standard_test" ] } diff --git a/ai_lite/ai_engine_posix/base/BUILD.gn b/ai_lite/ai_engine_posix/base/BUILD.gn index 44e4405731ac51f1e0edb71aeabe7671a89ba428..1ce6592683d79a6e8d3c427b5e4dbc3dfacb6e19 100644 --- a/ai_lite/ai_engine_posix/base/BUILD.gn +++ b/ai_lite/ai_engine_posix/base/BUILD.gn @@ -67,5 +67,6 @@ hcpptest_suite("ActsAiEngineTest") { ldflags = [ "-lstdc++", "-ldl", - "-lpthread",] + "-lpthread", + ] } diff --git a/demo/BUILD.gn b/demo/BUILD.gn index 4493027cbea35f0a9b759ed927fbdd95b92f181a..2cd256658db436868751d32526fe7350827d9dc4 100755 --- a/demo/BUILD.gn +++ b/demo/BUILD.gn @@ -16,8 +16,6 @@ import("//build/ohos_var.gni") group("demo") { testonly = true if (is_standard_system) { - deps = [ - "hjsunit_sample:hjs_demo_test", - ] + deps = [ "hjsunit_sample:hjs_demo_test" ] } } diff --git a/developtools/hiplugintest/BUILD.gn b/developtools/hiplugintest/BUILD.gn index dad1adf39035b2f8c43cad26ed584cd356569f70..fe9ce486be6ad872fa46c05ba7f46ce6b37e80da 100755 --- a/developtools/hiplugintest/BUILD.gn +++ b/developtools/hiplugintest/BUILD.gn @@ -17,14 +17,14 @@ import("../../../../../developtools/profiler/device/base/config.gni") ############################################################################### config("module_private_config") { - visibility = [":*"] + visibility = [ ":*" ] } ohos_moduletest_suite("hipluginmoduleapitest") { deps = [ - "//third_party/googletest:gtest", - "${OHOS_PROFILER_DIR}/protos/types/plugins/memory_data:memory_data_cpp", "${OHOS_PROFILER_DIR}/device/plugins/memory_plugin:memdataplugin", + "${OHOS_PROFILER_DIR}/protos/types/plugins/memory_data:memory_data_cpp", + "//third_party/googletest:gtest", ] include_dirs = [ "${OHOS_PROFILER_DIR}/interfaces/kits/", @@ -42,11 +42,9 @@ ohos_moduletest_suite("hipluginmoduleapitest") { cflags = [ "-pthread", "-Wno-inconsistent-missing-override", - "-Dprivate=public", #allow test code access private members - ] - external_deps = [ - "hiviewdfx_hilog_native:libhilog", + "-Dprivate=public", #allow test code access private members ] + external_deps = [ "hiviewdfx_hilog_native:libhilog" ] subsystem_name = "${OHOS_PROFILER_SUBSYS_NAME}" - defines = [ "HAVE_HILOG", ] + defines = [ "HAVE_HILOG" ] } diff --git a/distributed_schedule_lite/distributed_schedule_posix/BUILD.gn b/distributed_schedule_lite/distributed_schedule_posix/BUILD.gn index 68febbed212f7abcd6cc48dec4ee3fbbedf2e8d1..b274cca845efde0a442e39d37e33af86b0d1f656 100755 --- a/distributed_schedule_lite/distributed_schedule_posix/BUILD.gn +++ b/distributed_schedule_lite/distributed_schedule_posix/BUILD.gn @@ -44,8 +44,8 @@ hcpptest_suite("ActsDMSTest") { deps = [ "${appexecfwk_lite_path}/frameworks/bundle_lite:bundle", "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared", - "//foundation/distributedschedule/samgr_lite/samgr:samgr", "//foundation/distributedschedule/dmsfwk_lite:dtbschedmgr", + "//foundation/distributedschedule/samgr_lite/samgr:samgr", "//third_party/bounds_checking_function:libsec_shared", ] cflags = [ "-Wno-error" ] diff --git a/global_lite/i18n_lite/BUILD.gn b/global_lite/i18n_lite/BUILD.gn index 6015fbfa646555920827ff56cdd8d96c4cea744a..2f0e37e61dbd008fdbbeca907638c91b60a901af 100755 --- a/global_lite/i18n_lite/BUILD.gn +++ b/global_lite/i18n_lite/BUILD.gn @@ -13,12 +13,12 @@ group("ActsGlobalTest") { deps = [ - "//test/xts/acts/global_lite/i18n_lite/number_posix:ActsNumberTest", - "//test/xts/acts/global_lite/i18n_lite/numberrecall_posix:ActsNumberRecallTest", "//test/xts/acts/global_lite/i18n_lite/datetime_posix:ActsGlobalDateTimeTest", "//test/xts/acts/global_lite/i18n_lite/datetimerecall_posix:ActsGlobalDateTimeRecallTest", + "//test/xts/acts/global_lite/i18n_lite/number_posix:ActsNumberTest", + "//test/xts/acts/global_lite/i18n_lite/numberrecall_posix:ActsNumberRecallTest", "//test/xts/acts/global_lite/i18n_lite/week_plural_number/src:WeekPluralNumbertest", - + # depend on the resources #"//test/xts/acts/global_lite/i18n_lite/resource_parse_load/src:ResourceParseLoadtest", ] diff --git a/hiviewdfx/hisyseventtest/hisyseventcpptest/BUILD.gn b/hiviewdfx/hisyseventtest/hisyseventcpptest/BUILD.gn index a01956e28e1db906d7fd5264d189e20dc2d10281..014be04e1540de59faca40f6a12314ce1991b0c0 100755 --- a/hiviewdfx/hisyseventtest/hisyseventcpptest/BUILD.gn +++ b/hiviewdfx/hisyseventtest/hisyseventcpptest/BUILD.gn @@ -27,9 +27,7 @@ config("hilogtest_config") { } ohos_moduletest_suite("ActsHiSysEventCPPTest") { module_out_path = module_output_path - sources = [ - "HiSysEventCPPTest.cpp", - ] + sources = [ "HiSysEventCPPTest.cpp" ] deps = [ "../../utils/native:utilskit", "//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog", diff --git a/hiviewdfx_lite/hievent_hal/BUILD.gn b/hiviewdfx_lite/hievent_hal/BUILD.gn index ba00f0393adf6d689a71b75e1cf16e72ef9da32f..0470d375acab439aa4c719879d4acb03311983d1 100755 --- a/hiviewdfx_lite/hievent_hal/BUILD.gn +++ b/hiviewdfx_lite/hievent_hal/BUILD.gn @@ -14,9 +14,7 @@ import("//test/xts/tools/lite/build/suite_lite.gni") hctest_suite("ActsHieventLiteTest") { suite_name = "acts" - sources = [ - "src/hievent_lite_test.c", - ] + sources = [ "src/hievent_lite_test.c" ] include_dirs = [ "src", diff --git a/hiviewdfx_lite/hilog_hal/BUILD.gn b/hiviewdfx_lite/hilog_hal/BUILD.gn index e08bae607fd2114a350534e6b7c8bc4138db1596..37d71fcbe819bfe00a25132e1fa2844bb3ba95a9 100755 --- a/hiviewdfx_lite/hilog_hal/BUILD.gn +++ b/hiviewdfx_lite/hilog_hal/BUILD.gn @@ -14,9 +14,7 @@ import("//test/xts/tools/lite/build/suite_lite.gni") hctest_suite("ActsDfxFuncTest") { suite_name = "acts" - sources = [ - "src/dfx_hilog.c", - ] + sources = [ "src/dfx_hilog.c" ] include_dirs = [ "src", @@ -25,7 +23,7 @@ hctest_suite("ActsDfxFuncTest") { "//base/hiviewdfx/hievent_lite/interfaces/native/innerkits", "//base/hiviewdfx/hilog_lite/frameworks/mini", "//vendor/hisi/hi3861/hi3861/include", - "//vendor/hisi/hi3861/hi3861/components/lwip_sack/include" + "//vendor/hisi/hi3861/hi3861/components/lwip_sack/include", ] cflags = [ "-Wno-error" ] diff --git a/kernel_lite/fs_posix/BUILD.gn b/kernel_lite/fs_posix/BUILD.gn index 3b766852af759c3025d885d95ca6e94cbccbdd24..d861284acd19cd309152712a721658f23042dea2 100644 --- a/kernel_lite/fs_posix/BUILD.gn +++ b/kernel_lite/fs_posix/BUILD.gn @@ -13,10 +13,9 @@ group("ActsFSTest") { deps = [ - "./vfat_storage:ActsVFATstorageTest", "./jffs:ActsJFFS2Test", "./nfs:ActsNFSTest", "./vfat:ActsVFATTest", - + "./vfat_storage:ActsVFATstorageTest", ] } diff --git a/open_posix_testsuite/conformance/definitions/BUILD.gn b/open_posix_testsuite/conformance/definitions/BUILD.gn index c0b17688503d46324286366476fde4a52444ebd4..77daa424fe3be903411ed9fa7b128f81a3292141 100644 --- a/open_posix_testsuite/conformance/definitions/BUILD.gn +++ b/open_posix_testsuite/conformance/definitions/BUILD.gn @@ -16,7 +16,8 @@ import("//test/xts/tools/lite/build/suite_lite.gni") open_source_suite("ActsOpenPosixBuildOnlyTest") { suite_name = "acts" exec_command_path = "//third_party/ltp/testcases/open_posix_testsuite/" - compiler = rebase_path("${ohos_build_compiler_dir}/bin/${ohos_build_compiler}") + compiler = + rebase_path("${ohos_build_compiler_dir}/bin/${ohos_build_compiler}") sysroot_path = rebase_path(ohos_current_sysroot) arch_cflags = string_join(" ", target_arch_cflags) prebuild_command = "make clean && make distclean && ./scripts/generate-makefiles.sh $compiler ${ohos_root_path} ${sysroot_path} \"${arch_cflags}\" && make -j -C conformance/definitions" @@ -31,10 +32,10 @@ open_source_suite("ActsOpenPosixBuildOnlyTest") { "aio_h/logfile", "sched_h/logfile", ] - deps = [":install_patch"] + deps = [ ":install_patch" ] } build_ext_component("install_patch") { - exec_path = rebase_path(".", root_build_dir) - command = "./../../ltp-patch/patch.sh" + exec_path = rebase_path(".", root_build_dir) + command = "./../../ltp-patch/patch.sh" } diff --git a/security_lite/huks_hal/BUILD.gn b/security_lite/huks_hal/BUILD.gn index 8f779440c84e0f788407c504e14e74fa9f9b9b17..2c56dff03f7924411c5af29e209477f0b5b701d9 100755 --- a/security_lite/huks_hal/BUILD.gn +++ b/security_lite/huks_hal/BUILD.gn @@ -11,8 +11,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -import("//test/xts/tools/lite/build/suite_lite.gni") import("//base/security/huks/build/config.gni") +import("//test/xts/tools/lite/build/suite_lite.gni") hctest_suite("ActsSecurityDataTest") { suite_name = "acts" @@ -24,7 +24,7 @@ hctest_suite("ActsSecurityDataTest") { "src/security_data_huks_sign_verify_test.c", ] if (disable_authenticate == true) { - defines = [ "_CUT_AUTHENTICATE_" ] + defines = [ "_CUT_AUTHENTICATE_" ] } include_dirs = [ "src", diff --git a/startup/BUILD.gn b/startup/BUILD.gn index 19d2286ae281b3c5077fddab70b9314f5336807b..742f3938869e54855fdca9bb5c0a709f66d9fb68 100755 --- a/startup/BUILD.gn +++ b/startup/BUILD.gn @@ -16,8 +16,6 @@ import("//build/ohos_var.gni") group("startup") { testonly = true if (is_standard_system) { - deps = [ - "startup_standard:startup_js_test", - ] + deps = [ "startup_standard:startup_js_test" ] } } diff --git a/startup_lite/bootstrap_hal/BUILD.gn b/startup_lite/bootstrap_hal/BUILD.gn index 6fb0aa3025df83166a2e0bb7860023c152d729b6..08d2099e80ac69d519a58b7ddd7f6068f36076b2 100644 --- a/startup_lite/bootstrap_hal/BUILD.gn +++ b/startup_lite/bootstrap_hal/BUILD.gn @@ -15,9 +15,7 @@ import("//test/xts/tools/lite/build/suite_lite.gni") hctest_suite("ActsBootstrapTest") { suite_name = "acts" - sources = [ - "src/samgr_api_test.c" - ] + sources = [ "src/samgr_api_test.c" ] include_dirs = [ "src", diff --git a/updater/BUILD.gn b/updater/BUILD.gn index 714f0ce594a2c27c7e691e0635190ec0fb2434dd..e12acda6360d230456434371c2c7c39f6aa6ab34 100644 --- a/updater/BUILD.gn +++ b/updater/BUILD.gn @@ -16,8 +16,6 @@ import("//build/ohos_var.gni") group("update") { testonly = true if (is_standard_system) { - deps = [ - "update_test:update_js_test", - ] + deps = [ "update_test:update_js_test" ] } }