diff --git a/security/security_huks_basic/huks_hmac_callback_BasicTest/BUILD.gn b/security/security_huks_basic/huks_hmac_callback_BasicTest/BUILD.gn index 856daedad37ceb490cde5adf046ca724c79a166a..27a317886e976732b199126fe7761c2c864dc510 100644 --- a/security/security_huks_basic/huks_hmac_callback_BasicTest/BUILD.gn +++ b/security/security_huks_basic/huks_hmac_callback_BasicTest/BUILD.gn @@ -1,30 +1,30 @@ -# 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("hukshmac_callback_basic_js_test") { - hap_profile = "./entry/src/main/config.json" - deps = [ - ":huks_js_assets", - ":huks_js_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "ActsHuksHmacBasicCallbackJSApiTest" -} -ohos_js_assets("huks_js_assets") { - source_dir = "./entry/src/main/js/MainAbility" -} -ohos_resources("huks_js_resources") { - sources = [ "./entry/src/main/js/resources" ] - hap_profile = "./entry/src/main/config.json" -} +# 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("hukshmac_callback_basic_js_test") { + hap_profile = "./entry/src/main/config.json" + deps = [ + ":huks_js_assets", + ":huks_js_resources", + ] + certificate_profile = "./signature/openharmony_sx.p7b" + hap_name = "ActsHuksHmacBasicCallbackJSApiTest" +} +ohos_js_assets("huks_js_assets") { + source_dir = "./entry/src/main/js/MainAbility" +} +ohos_resources("huks_js_resources") { + sources = [ "./entry/src/main/js/resources" ] + hap_profile = "./entry/src/main/config.json" +} diff --git a/security/security_huks_basic/huks_hmac_promise_BasicTest/BUILD.gn b/security/security_huks_basic/huks_hmac_promise_BasicTest/BUILD.gn index de6c66e0f2384bd6dbeaabd392c3bb33f3db2149..6b5f3b70c4f491dbaabc9ce165c42e6e927e1096 100644 --- a/security/security_huks_basic/huks_hmac_promise_BasicTest/BUILD.gn +++ b/security/security_huks_basic/huks_hmac_promise_BasicTest/BUILD.gn @@ -1,30 +1,30 @@ -# 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("hukshmac_promise_basic_js_test") { - hap_profile = "./entry/src/main/config.json" - deps = [ - ":huks_js_assets", - ":huks_js_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "ActsHuksHmacBasicPromiseJSApiTest" -} -ohos_js_assets("huks_js_assets") { - source_dir = "./entry/src/main/js/MainAbility" -} -ohos_resources("huks_js_resources") { - sources = [ "./entry/src/main/js/resources" ] - hap_profile = "./entry/src/main/config.json" -} +# 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("hukshmac_promise_basic_js_test") { + hap_profile = "./entry/src/main/config.json" + deps = [ + ":huks_js_assets", + ":huks_js_resources", + ] + certificate_profile = "./signature/openharmony_sx.p7b" + hap_name = "ActsHuksHmacBasicPromiseJSApiTest" +} +ohos_js_assets("huks_js_assets") { + source_dir = "./entry/src/main/js/MainAbility" +} +ohos_resources("huks_js_resources") { + sources = [ "./entry/src/main/js/resources" ] + hap_profile = "./entry/src/main/config.json" +}