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
14group("ark_aot_builtin_inlining_math_test") {
15  testonly = true
16  test_list = [
17    "Acos",
18    "Acosh",
19    "Asin",
20    "Asinh",
21    "Atan",
22    "Atan2",
23    "Atanh",
24    "Cos",
25    "Cosh",
26    "Log",
27    "Log2",
28    "Log10",
29    "Log1p",
30    "Exp",
31    "Expm1",
32    "Sign",
33    "Sin",
34    "Sinh",
35    "Sqrt",
36    "Tan",
37    "Tanh",
38    "Trunc",
39    "Abs",
40    "Pow",
41    "Cbrt",
42    "Min",
43    "Max",
44    "Clz32",
45    "Round",
46    "Fround",
47    "Imul",
48    "Ceil",
49    "Floor",
50  ]
51
52  deps = []
53  foreach(test, test_list) {
54    deps += [ "${test}:builtinMath${test}AotAction" ]
55    if (!is_debug) {
56      deps += [ "${test}:builtinMath${test}AotContextAction" ]
57    }
58  }
59}
60