From ebe1ebed3013c87bac3c82736dfcc60508a1dbf8 Mon Sep 17 00:00:00 2001 From: jiyong Date: Fri, 10 Dec 2021 21:09:19 +0800 Subject: [PATCH] jiyong@huawei.com Signed-off-by: jiyong --- demo/BUILD.gn | 2 +- hiviewdfx_lite/hievent_hal/BUILD.gn | 38 +++++++-------- hiviewdfx_lite/hilog_hal/BUILD.gn | 48 +++++++++---------- powermgr/BUILD.gn | 2 +- security/permission/permissionkitcpp/BUILD.gn | 1 - startup/BUILD.gn | 2 +- updater/BUILD.gn | 2 +- 7 files changed, 47 insertions(+), 48 deletions(-) diff --git a/demo/BUILD.gn b/demo/BUILD.gn index 2cd256658..1f4d62980 100755 --- a/demo/BUILD.gn +++ b/demo/BUILD.gn @@ -16,6 +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/hiviewdfx_lite/hievent_hal/BUILD.gn b/hiviewdfx_lite/hievent_hal/BUILD.gn index 0470d375a..b87de385f 100755 --- a/hiviewdfx_lite/hievent_hal/BUILD.gn +++ b/hiviewdfx_lite/hievent_hal/BUILD.gn @@ -1,25 +1,25 @@ - # Copyright (c) 2020 Huawei Device Co., Ltd. - # Licensed under the Apache License, Version 2.0 (the "License"); - # you may not use this file except in compliance with the License. - # You may obtain a copy of the License at - # - # http://www.apache.org/licenses/LICENSE-2.0 - # - # Unless required by applicable law or agreed to in writing, software - # distributed under the License is distributed on an "AS IS" BASIS, - # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - # See the License for the specific language governing permissions and - # limitations under the License. +# Copyright (c) 2020 Huawei Device Co., Ltd. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import("//test/xts/tools/lite/build/suite_lite.gni") hctest_suite("ActsHieventLiteTest") { - suite_name = "acts" - sources = [ "src/hievent_lite_test.c" ] + suite_name = "acts" + sources = [ "src/hievent_lite_test.c" ] - include_dirs = [ - "src", - "//base/hiviewdfx/hievent_lite/interfaces/native/innerkits", - ] + include_dirs = [ + "src", + "//base/hiviewdfx/hievent_lite/interfaces/native/innerkits", + ] - cflags = [ "-Wno-error" ] + cflags = [ "-Wno-error" ] } diff --git a/hiviewdfx_lite/hilog_hal/BUILD.gn b/hiviewdfx_lite/hilog_hal/BUILD.gn index 37d71fcbe..546e4dfd0 100755 --- a/hiviewdfx_lite/hilog_hal/BUILD.gn +++ b/hiviewdfx_lite/hilog_hal/BUILD.gn @@ -1,30 +1,30 @@ - # Copyright (c) 2020 Huawei Device Co., Ltd. - # Licensed under the Apache License, Version 2.0 (the "License"); - # you may not use this file except in compliance with the License. - # You may obtain a copy of the License at - # - # http://www.apache.org/licenses/LICENSE-2.0 - # - # Unless required by applicable law or agreed to in writing, software - # distributed under the License is distributed on an "AS IS" BASIS, - # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - # See the License for the specific language governing permissions and - # limitations under the License. +# Copyright (c) 2020 Huawei Device Co., Ltd. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import("//test/xts/tools/lite/build/suite_lite.gni") hctest_suite("ActsDfxFuncTest") { - suite_name = "acts" - sources = [ "src/dfx_hilog.c" ] + suite_name = "acts" + sources = [ "src/dfx_hilog.c" ] - include_dirs = [ - "src", - "//base/hiviewdfx/hiview_lite", - "//base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog_lite", - "//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", - ] + include_dirs = [ + "src", + "//base/hiviewdfx/hiview_lite", + "//base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog_lite", + "//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", + ] - cflags = [ "-Wno-error" ] + cflags = [ "-Wno-error" ] } diff --git a/powermgr/BUILD.gn b/powermgr/BUILD.gn index 984d80d73..4eff12d1d 100755 --- a/powermgr/BUILD.gn +++ b/powermgr/BUILD.gn @@ -16,5 +16,5 @@ group("powermgr") { if (is_standard_system) { deps = [ "powermgrbattery:powermgr_battery_test" ] - } + } } diff --git a/security/permission/permissionkitcpp/BUILD.gn b/security/permission/permissionkitcpp/BUILD.gn index 744368ef2..d36d3267e 100644 --- a/security/permission/permissionkitcpp/BUILD.gn +++ b/security/permission/permissionkitcpp/BUILD.gn @@ -88,7 +88,6 @@ ohos_moduletest_suite("PermissionKitCPPTest") { sources = [ "src/PermissionKitFunctionCPPTest.cpp", - # "src/PermissionKitPerformanceCPPTest.cpp", # "src/PermissionKitReliabilityCPPTest.cpp", ] diff --git a/startup/BUILD.gn b/startup/BUILD.gn index 742f39388..77c28f985 100755 --- a/startup/BUILD.gn +++ b/startup/BUILD.gn @@ -16,6 +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/updater/BUILD.gn b/updater/BUILD.gn index e12acda63..91af449a7 100644 --- a/updater/BUILD.gn +++ b/updater/BUILD.gn @@ -16,6 +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" ] } } -- GitLab