1# Copyright (c) 2022-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/ets_runtime/test/test_helper.gni") 15 16host_moduletest_action("builtinsir") { 17 deps = [] 18} 19 20host_moduletest_action("builtinsstring") { 21 deps = [] 22} 23 24host_moduletest_action("builtinsnumber") { 25 deps = [] 26} 27 28host_moduletest_action("builtinsregexp") { 29 deps = [] 30} 31 32host_moduletest_action("builtinsobject") { 33 deps = [] 34} 35 36host_moduletest_action("builtinsobjectaddproperty") { 37 deps = [] 38} 39 40host_moduletest_action("builtinsreflect") { 41 deps = [] 42} 43 44host_moduletest_action("builtinsgc") { 45 deps = [] 46} 47 48host_moduletest_action("builtins") { 49 extra_modules = [ 50 "builtinsstring", 51 "builtinsir", 52 "builtinsnumber", 53 "builtinsregexp", 54 "builtinsobject", 55 "builtinsobjectaddproperty", 56 "builtinsreflect", 57 "builtinsgc", 58 ] 59 60 if (is_mac) { 61 extra_modules -= [ 62 "builtinsstring", 63 "builtinsir", 64 "builtinsnumber", 65 "builtinsregexp", 66 "builtinsobject", 67 "builtinsobjectaddproperty", 68 "builtinsreflect", 69 "builtinsgc", 70 ] 71 } 72 deps = [ 73 ":gen_builtinsgc_abc", 74 ":gen_builtinsir_abc", 75 ":gen_builtinsnumber_abc", 76 ":gen_builtinsobject_abc", 77 ":gen_builtinsobjectaddproperty_abc", 78 ":gen_builtinsreflect_abc", 79 ":gen_builtinsregexp_abc", 80 ":gen_builtinsstring_abc", 81 ] 82} 83