• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022 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("//foundation/ability/ability_runtime/ability_runtime.gni")
15
16config("moduletest_exception_config") {
17  cflags_cc = [ "-fexceptions" ]
18}
19
20config("aafwk_module_test_config") {
21  configs = [
22    "${ability_runtime_services_path}/abilitymgr:abilityms_config",
23    ":moduletest_exception_config",
24  ]
25
26  include_dirs = [
27    "${ability_runtime_test_path}/moduletest/mock/include",
28    "//third_party/jsoncpp/include",
29  ]
30}
31
32config("services_module_test_config") {
33  include_dirs = [ "appmgr/mock/include" ]
34
35  configs = []
36}
37
38config("services_mock_ams_config") {
39  include_dirs = [ "../appmgr/test/mock/include" ]
40}
41
42group("moduletest") {
43  testonly = true
44
45  deps = [
46    "ability_caller_fw_module_test:moduletest",
47    "ability_delegator_test:moduletest",
48    "ability_manager_client_test:moduletest",
49    "ability_manager_service_dump_test:moduletest",
50    "ability_record_test:moduletest",
51    "ability_test:moduletest",
52    "ability_timeout_module_test:moduletest",
53    "app_mgr_client_test:moduletest",
54    "appexecfwk_appkit_native_app_module_test:moduletest",
55    "call_module_test:moduletest",
56    "common/ams:moduletest",
57    "ipc_ability_connect_test:moduletest",
58    "ipc_ability_mgr_test:moduletest",
59    "ipc_ability_scheduler_test:moduletest",
60    "mission_dump_test:moduletest",
61    "module_test_dump_util:module_test_dump_util",
62    "on_new_want_module_test:moduletest",
63    "panding_want_manager_test:moduletest",
64    "quick_fix:moduletest",
65    "running_infos_module_test:moduletest",
66    "start_option_display_id_test:moduletest",
67    "//third_party/icu/icu4c:shared_icuuc",
68    "//third_party/jsoncpp:jsoncpp",
69  ]
70}
71