2022-03-12 08:42:08 +00:00
|
|
|
# Copyright (c) 2021-2022 Huawei Device Co., Ltd.
|
2021-06-01 16:05:05 +00:00
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
2022-05-28 07:20:41 +00:00
|
|
|
import("//foundation/ability/ability_runtime/aafwk.gni")
|
2021-06-01 16:05:05 +00:00
|
|
|
|
|
|
|
config("aafwk_module_test_config") {
|
|
|
|
defines = [
|
2022-03-09 10:18:07 +00:00
|
|
|
# "AMS_LOG_TAG = \"AbilityMgrService\"",
|
|
|
|
# "AMS_LOG_DOMAIN = 0xD00111F",
|
2021-06-01 16:05:05 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
configs = [ "${services_path}/abilitymgr:abilityms_config" ]
|
|
|
|
|
2021-09-13 13:22:02 +00:00
|
|
|
include_dirs = [
|
|
|
|
"${services_path}/test/mock/include",
|
|
|
|
"//third_party/jsoncpp/include",
|
|
|
|
]
|
2021-06-01 16:05:05 +00:00
|
|
|
}
|
|
|
|
|
2022-01-19 08:24:52 +00:00
|
|
|
config("services_module_test_config") {
|
2022-04-29 06:45:35 +00:00
|
|
|
include_dirs = [ "appmgr/mock/include" ]
|
2022-01-19 08:24:52 +00:00
|
|
|
|
|
|
|
configs = []
|
|
|
|
}
|
|
|
|
|
|
|
|
config("services_mock_ams_config") {
|
|
|
|
include_dirs = [ "../appmgr/test/mock/include" ]
|
|
|
|
}
|
|
|
|
|
2021-06-01 16:05:05 +00:00
|
|
|
group("moduletest") {
|
|
|
|
testonly = true
|
|
|
|
|
|
|
|
deps = [
|
2022-03-07 11:09:18 +00:00
|
|
|
"moduletest/ability_manager_client_test:moduletest",
|
|
|
|
"moduletest/ability_manager_service_dump_test:moduletest",
|
2022-01-08 03:20:25 +00:00
|
|
|
"moduletest/ability_record_test:moduletest",
|
2022-03-07 11:09:18 +00:00
|
|
|
"moduletest/ability_timeout_module_test:moduletest",
|
|
|
|
"moduletest/app_mgr_client_test:moduletest",
|
2022-03-31 13:50:56 +00:00
|
|
|
"moduletest/call_module_test:moduletest",
|
2022-01-19 08:24:52 +00:00
|
|
|
"moduletest/common/ams:moduletest",
|
2022-01-08 03:20:25 +00:00
|
|
|
"moduletest/ipc_ability_connect_test:moduletest",
|
|
|
|
"moduletest/ipc_ability_mgr_test:moduletest",
|
|
|
|
"moduletest/ipc_ability_scheduler_test:moduletest",
|
2022-03-07 11:09:18 +00:00
|
|
|
"moduletest/mission_dump_test:moduletest",
|
2022-01-08 03:20:25 +00:00
|
|
|
"moduletest/module_test_dump_util:module_test_dump_util",
|
2022-03-05 17:20:54 +00:00
|
|
|
"moduletest/on_new_want_module_test:moduletest",
|
2022-01-08 03:20:25 +00:00
|
|
|
"moduletest/panding_want_manager_test:moduletest",
|
2022-03-05 17:20:54 +00:00
|
|
|
"moduletest/running_infos_module_test:moduletest",
|
|
|
|
"moduletest/start_option_display_id_test:moduletest",
|
2022-06-14 05:28:32 +00:00
|
|
|
"//third_party/icu/icu4c:shared_icuuc",
|
2022-01-08 03:20:25 +00:00
|
|
|
"//third_party/jsoncpp:jsoncpp",
|
2021-06-01 16:05:05 +00:00
|
|
|
]
|
|
|
|
}
|