• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021 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
14group("ark_aot_js_test") {
15  testonly = true
16  deps = [
17    "asyncfunctionenter:asyncfunctionenterAotAction",
18    "bigint_typed_array_constructors:bigint_typed_array_constructorsAotAction",
19    "call_default_args:call_default_argsAotAction",
20    "constructor_returns_non_object:constructor_returns_non_objectAotAction",
21
22    #"dynamicimport:dynamicimportAotAction",
23    "emptyif:emptyifAotAction",
24    "formatrangetoparts:formatrangetopartsAotAction",
25
26    #"module:moduleAotAction",
27    "undefined:undefinedAotAction",
28  ]
29}
30
31group("ark_aot_test") {
32  testonly = true
33  deps = [
34    "add:addAotAction",
35    "and:andAotAction",
36    "aot_compatibility_test:aot_compatibility_test",
37    "aot_type_test:aot_type_test",
38    "ashr:ashrAotAction",
39    "asyncgenerator:asyncgeneratorAotAction",
40    "await:awaitAotAction",
41    "bind:bindAotAction",
42    "builtinmath:builtinmathAotAction",
43    "call_same_bytecode_func:call_same_bytecode_funcAotAction",
44    "callithisrange:callithisrangeAotAction",
45    "calls:callsAotAction",
46    "class_method_signature:class_method_signatureAotAction",
47    "closeiterator:closeiteratorAotAction",
48
49    # "continue_from_finally:continue_from_finallyAotAction",
50    "copyrestargs:copyrestargsAotAction",
51    "createarraywithbuffer:createarraywithbufferAotAction",
52    "createemptyarray:createemptyarrayAotAction",
53    "createemptyobject:createemptyobjectAotAction",
54    "creategeneratorobj:creategeneratorobjAotAction",
55    "createiterresultobj:createiterresultobjAotAction",
56    "createobjecthavingmethod:createobjecthavingmethodAotAction",
57    "createobjectwithbuffer:createobjectwithbufferAotAction",
58    "createregexpwithliteral:createregexpwithliteralAotAction",
59    "dec:decAotAction",
60    "defineasyncfunc:defineasyncfuncAotAction",
61    "defineclasswithbuffer:defineclasswithbufferAotAction",
62    "definefunc:definefuncAotAction",
63    "definefunc_variable_args:definefunc_variable_argsAotAction",
64    "definegeneratorfunc:definegeneratorfuncAotAction",
65    "definegettersetterbyvalue:definegettersetterbyvalueAotAction",
66    "definemethod:definemethodAotAction",
67    "definencfunc:definencfuncAotAction",
68    "delobjprop:delobjpropAotAction",
69    "deopt:deoptAotAction",
70    "destructuring:destructuringAotAction",
71    "div:divAotAction",
72    "duplicatefunctions:duplicatefunctionsAotAction",
73    "duplicatekey:duplicatekeyAotAction",
74    "exceptionhandler:exceptionhandlerAotAction",
75    "exp:expAotAction",
76    "forloop:forloopAotAction",
77    "framestatesasync:framestatesasyncAotAction",
78    "framestatesphi:framestatesphiAotAction",
79    "generatorcontinuefinally:generatorcontinuefinallyAotAction",
80    "getiterator:getiteratorAotAction",
81    "getiteratornext:getiteratornextAotAction",
82    "getnextpropname:getnextpropnameAotAction",
83    "getpropiterator:getpropiteratorAotAction",
84    "getresumemode:getresumemodeAotAction",
85    "gettemplateobject:gettemplateobjectAotAction",
86    "getunmappedargs:getunmappedargsAotAction",
87    "global_this_ts:global_this_tsAotAction",
88    "helloaot:helloaotAotAction",
89    "helloconcurrent:helloconcurrentAotAction",
90    "ic:icAotAction",
91    "inc:incAotAction",
92    "inline:inlineAotAction",
93    "instanceof:instanceofAotAction",
94    "isfalse:isfalseAotAction",
95    "isin:isinAotAction",
96    "istrue:istrueAotAction",
97    "large_func:large_funcAotAction",
98    "large_func_acc:large_func_accAotAction",
99    "ldbigint:ldbigintAotAction",
100    "ldconst:ldconstAotAction",
101    "ldfunctionpref:ldfunctionprefAotAction",
102    "ldglobalvar:ldglobalvarAotAction",
103    "ldobjbyname:ldobjbynameAotAction",
104    "ldstlexvar:ldstlexvarAotAction",
105    "ldsuperbyname:ldsuperbynameAotAction",
106    "logic_op:logic_opAotAction",
107    "loop_with_variable_exchange:loop_with_variable_exchangeAotAction",
108    "loops:loopsAotAction",
109    "mod:modAotAction",
110    "mul:mulAotAction",
111    "neg:negAotAction",
112    "new:newAotAction",
113    "newlexenv:newlexenvAotAction",
114    "newobjspread:newobjspreadAotAction",
115    "not:notAotAction",
116    "optimization:optimizationAotAction",
117    "or:orAotAction",
118    "poplexenv:poplexenvAotAction",
119    "proxy:proxyAotAction",
120    "resumegenerator:resumegeneratorAotAction",
121    "setobjectwithproto:setobjectwithprotoAotAction",
122    "shl:shlAotAction",
123    "shr:shrAotAction",
124    "specialloops:specialloopsAotAction",
125    "starrayspread:starrayspreadAotAction",
126    "stclasstoglobalrecord:stclasstoglobalrecordAotAction",
127    "stconsttoglobalrecord:stconsttoglobalrecordAotAction",
128    "stglobalvar:stglobalvarAotAction",
129    "stlettoglobalrecord:stlettoglobalrecordAotAction",
130    "stobjbyindex:stobjbyindexAotAction",
131    "stobjbyname:stobjbynameAotAction",
132    "stobjbyvalue:stobjbyvalueAotAction",
133    "stownbyindex:stownbyindexAotAction",
134    "stownbyname:stownbynameAotAction",
135    "stownbynamewithnameset:stownbynamewithnamesetAotAction",
136    "stownbyvalue:stownbyvalueAotAction",
137    "stownbyvaluewithnameset:stownbyvaluewithnamesetAotAction",
138    "strictequal:strictequalAotAction",
139    "strictnotequal:strictnotequalAotAction",
140    "stsuperbyname:stsuperbynameAotAction",
141    "sub:subAotAction",
142    "supercall:supercallAotAction",
143    "supercallspread:supercallspreadAotAction",
144    "suspendgenerator:suspendgeneratorAotAction",
145    "suspendgeneratorbranch:suspendgeneratorbranchAotAction",
146
147    # "suspendgeneratorfor:suspendgeneratorforAotAction",
148    "suspendgeneratorphi:suspendgeneratorphiAotAction",
149    "suspendgeneratorreturn:suspendgeneratorreturnAotAction",
150    "suspendgeneratorthrow:suspendgeneratorthrowAotAction",
151    "throw:throwAotAction",
152    "throwifsupernotcorrectcall:throwifsupernotcorrectcallAotAction",
153    "throwundefindeifhole:throwundefindeifholeAotAction",
154    "tonumber:tonumberAotAction",
155    "tonumeric:tonumericAotAction",
156    "try_catch_finally:try_catch_finallyAotAction",
157    "trystglobalbynameprefid32:trystglobalbynameprefid32AotAction",
158    "typeof:typeofAotAction",
159    "xor:xorAotAction",
160  ]
161
162  if (is_debug) {
163    deps += [
164      # builtins_stub test only print log in debug mode
165      "builtins_array:builtins_arrayAotAction",
166      # "builtins_stub:builtins_stubAotAction",
167    ]
168  }
169
170  if (!is_debug) {
171    deps += [ "aot_multi_constantpool_test:aot_multi_constantpool_test" ]
172  }
173}
174