• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2025 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/common_components/tests/test_helper.gni")
15
16module_output_path = "common_component"
17
18host_unittest_action("From_Space_Test") {
19  module_out_path = module_output_path
20
21  sources = [
22    # test file
23    "from_space_test.cpp",
24  ]
25
26  configs = [
27    "//arkcompiler/ets_runtime/common_components:common_components_test_config",
28    "//arkcompiler/ets_runtime:icu_path_test_config",
29  ]
30
31  deps = [ "//arkcompiler/ets_runtime/common_components:libark_common_components_test" ]
32
33  # hiviewdfx libraries
34  external_deps = [
35    "bounds_checking_function:libsec_shared",
36    "icu:shared_icui18n",
37    "icu:shared_icuuc",
38    "zlib:libz",
39  ]
40}
41
42group("unittest") {
43  testonly = true
44
45  # deps file
46  deps = [
47    ":From_Space_Test",
48  ]
49}
50
51group("host_unittest") {
52  testonly = true
53
54  # deps file
55  deps = [
56    ":From_Space_TestAction",
57  ]
58}