diff --git a/settings/BUILD.gn b/settings/BUILD.gn index 9860c03824db6f99e26f82ab5aa79aab2511f2c5..48d834c3c61f30219ce284a40c8f5d5fd0038d4f 100755 --- a/settings/BUILD.gn +++ b/settings/BUILD.gn @@ -13,7 +13,5 @@ group("settings") { testonly = true - deps = [ - "settings_ets:SettingsEtsTest", - ] + deps = [ "settings_ets:SettingsEtsTest" ] } diff --git a/settings/settings_ets/entry/src/main/BUILD.gn b/settings/settings_ets/entry/src/main/BUILD.gn index 7888732bc1a10a992ee812db7444e5cae658739e..fbc52811e474d4051c74b681f36bc54a1d9bdea8 100755 --- a/settings/settings_ets/entry/src/main/BUILD.gn +++ b/settings/settings_ets/entry/src/main/BUILD.gn @@ -1,32 +1,32 @@ -# 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("SettingsEtsTest") { - hap_profile = "./entry/src/main/config.json" - deps = [ - ":settings_ets_assets", - ":settings_ets_resources", - ] - ets2abc = true - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "SettingsEtsTest" -} -ohos_js_assets("settings_ets_assets") { - source_dir = "./entry/src/main/ets/MainAbility" -} -ohos_resources("settings_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("SettingsEtsTest") { + hap_profile = "./entry/src/main/config.json" + deps = [ + ":settings_ets_assets", + ":settings_ets_resources", + ] + ets2abc = true + certificate_profile = "./signature/openharmony_sx.p7b" + hap_name = "SettingsEtsTest" +} +ohos_js_assets("settings_ets_assets") { + source_dir = "./entry/src/main/ets/MainAbility" +} +ohos_resources("settings_ets_resources") { + sources = [ "./entry/src/main/resources" ] + hap_profile = "./entry/src/main/config.json" +}