From a9e8d64f86cc0bd82d087f4d75aa6831286f289d Mon Sep 17 00:00:00 2001 From: greada Date: Sat, 6 Aug 2022 16:50:10 +0800 Subject: [PATCH] gn format Signed-off-by: greada --- multimodalinput/input_js_standard/BUILD.gn | 64 ++++++++-------- .../multimodalinput_ets_standard/BUILD.gn | 74 +++++++++---------- 2 files changed, 69 insertions(+), 69 deletions(-) diff --git a/multimodalinput/input_js_standard/BUILD.gn b/multimodalinput/input_js_standard/BUILD.gn index b5d682c1f..85079c423 100755 --- a/multimodalinput/input_js_standard/BUILD.gn +++ b/multimodalinput/input_js_standard/BUILD.gn @@ -1,33 +1,33 @@ -# Copyright (C) 2022 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) 2022 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("multimodalinput_js_test") { - hap_profile = "./src/main/config.json" - deps = [ - ":multimodalinput_js_assets", - ":multimodalinput_js_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "ActsMultimodalinputJSApiTest" - subsystem_name = "multimodalinput" - part_name = "input" -} -ohos_js_assets("multimodalinput_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("multimodalinput_js_resources") { - sources = [ "./src/main/resources" ] - hap_profile = "./src/main/config.json" -} + +import("//test/xts/tools/build/suite.gni") + +ohos_js_hap_suite("multimodalinput_js_test") { + hap_profile = "./src/main/config.json" + deps = [ + ":multimodalinput_js_assets", + ":multimodalinput_js_resources", + ] + certificate_profile = "./signature/openharmony_sx.p7b" + hap_name = "ActsMultimodalinputJSApiTest" + subsystem_name = "multimodalinput" + part_name = "input" +} +ohos_js_assets("multimodalinput_js_assets") { + source_dir = "./src/main/js/default" +} +ohos_resources("multimodalinput_js_resources") { + sources = [ "./src/main/resources" ] + hap_profile = "./src/main/config.json" +} diff --git a/multimodalinput/multimodalinput_ets_standard/BUILD.gn b/multimodalinput/multimodalinput_ets_standard/BUILD.gn index 8b0be5843..1e8ee88e9 100755 --- a/multimodalinput/multimodalinput_ets_standard/BUILD.gn +++ b/multimodalinput/multimodalinput_ets_standard/BUILD.gn @@ -1,38 +1,38 @@ -# 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("ActsMultimodalInputEtsTest") { - hap_profile = "./entry/src/main/config.json" - deps = [ - ":multimodalinput_ets_assets", - ":multimodalinput_ets_resources", - ":multimodalinput_ets_test_assets", - ] - ets2abc = true - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "ActsMultimodalInputEtsTest" - subsystem_name = "multimodalinput" - part_name = "input" -} -ohos_js_assets("multimodalinput_ets_assets") { - source_dir = "./entry/src/main/ets/MainAbility" -} -ohos_js_assets("multimodalinput_ets_test_assets") { - source_dir = "./entry/src/main/ets/TestAbility" -} -ohos_resources("multimodalinput_ets_resources") { - sources = [ "./entry/src/main/resources" ] - hap_profile = "./entry/src/main/config.json" -} + +import("//test/xts/tools/build/suite.gni") + +ohos_js_hap_suite("ActsMultimodalInputEtsTest") { + hap_profile = "./entry/src/main/config.json" + deps = [ + ":multimodalinput_ets_assets", + ":multimodalinput_ets_resources", + ":multimodalinput_ets_test_assets", + ] + ets2abc = true + certificate_profile = "./signature/openharmony_sx.p7b" + hap_name = "ActsMultimodalInputEtsTest" + subsystem_name = "multimodalinput" + part_name = "input" +} +ohos_js_assets("multimodalinput_ets_assets") { + source_dir = "./entry/src/main/ets/MainAbility" +} +ohos_js_assets("multimodalinput_ets_test_assets") { + source_dir = "./entry/src/main/ets/TestAbility" +} +ohos_resources("multimodalinput_ets_resources") { + sources = [ "./entry/src/main/resources" ] + hap_profile = "./entry/src/main/config.json" +} -- GitLab