1# Copyright (c) 2024 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14import("//arkcompiler/runtime_core/ark_config.gni") 15import("//arkcompiler/runtime_core/libabckit/abckit_config.gni") 16import("//arkcompiler/runtime_core/libabckit/tests/apps/abckit_apps.gni") 17 18apps_root = "$abckit_root/tests/apps/" 19 20apps_list = [ "deveco-hello-world" ] 21 22foreach(app, apps_list) { 23 app_intts_to_abc("gen_app_${app}_abc") { 24 app = app 25 apps_root = apps_root 26 } 27 stress_test_app_action("stress_app-${app}_action") { 28 app = app 29 extra_dependencies = [ ":gen_app_${app}_abc" ] 30 } 31} 32 33group("abckit_test_apps_build") { 34 testonly = true 35 deps = [] 36 foreach(app, apps_list) { 37 deps += [ ":gen_app_${app}_abc" ] 38 } 39} 40 41group("abckit_test_apps_run_stress") { 42 testonly = true 43 deps = [] 44 foreach(app, apps_list) { 45 deps += [ ":stress_app-${app}_action" ] 46 } 47} 48