From 7e832fe8ff0c83aa7f429402182978e27dc20442 Mon Sep 17 00:00:00 2001 From: zhaoyuan17 Date: Thu, 16 Sep 2021 11:33:02 +0800 Subject: [PATCH] format gn Signed-off-by: zhaoyuan17 --- .../ans_standard/publishicontest/BUILD.gn | 61 +++++++++---------- 1 file changed, 30 insertions(+), 31 deletions(-) mode change 100755 => 100644 notification/ans_standard/publishicontest/BUILD.gn diff --git a/notification/ans_standard/publishicontest/BUILD.gn b/notification/ans_standard/publishicontest/BUILD.gn old mode 100755 new mode 100644 index aa9b8cca7..f184f4e05 --- a/notification/ans_standard/publishicontest/BUILD.gn +++ b/notification/ans_standard/publishicontest/BUILD.gn @@ -1,32 +1,31 @@ -# Copyright (c) 2021 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 +# Copyright (c) 2021 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/build/suite.gni") - -ohos_js_hap_suite("ActsAnsIconTest") { - hap_profile = "./entry/src/main/config.json" - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "ActsAnsIconTest" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./entry/src/main/js/resources" ] - hap_profile = "./entry/src/main/config.json" -} - + +import("//test/xts/tools/build/suite.gni") + +ohos_js_hap_suite("ActsAnsIconTest") { + hap_profile = "./entry/src/main/config.json" + deps = [ + ":hjs_demo_js_assets", + ":hjs_demo_resources", + ] + certificate_profile = "./signature/openharmony_sx.p7b" + hap_name = "ActsAnsIconTest" +} +ohos_js_assets("hjs_demo_js_assets") { + source_dir = "./entry/src/main/js/default" +} +ohos_resources("hjs_demo_resources") { + sources = [ "./entry/src/main/js/resources" ] + hap_profile = "./entry/src/main/config.json" +} -- GitLab