• 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("Page_Cache_Test") {
19  module_out_path = module_output_path
20
21  sources = [
22    # test file
23    "page_cache_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    "icu:shared_icui18n",
36    "icu:shared_icuuc",
37    "zlib:libz",
38  ]
39}
40
41group("unittest") {
42  testonly = true
43
44  # deps file
45  deps = [
46    ":Page_Cache_Test",
47  ]
48}
49
50group("host_unittest") {
51  testonly = true
52
53  # deps file
54  deps = [
55    ":Page_Cache_TestAction",
56  ]
57}