# Copyright (c) 2021 Huawei Device Co., Ltd.
# 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.

import("//foundation/aafwk/standard/aafwk.gni")

config("aafwk_module_test_config") {
  defines = [
    # "APP_LOG_TAG = \"AbilityMgrService\"",
    # "LOG_DOMAIN = 0xD00111F",
  ]

  configs = [ "${services_path}/abilitymgr:abilityms_config" ]

  include_dirs = [
    "${services_path}/test/mock/include",
    "//third_party/jsoncpp/include",
  ]
}

group("moduletest") {
  testonly = true

  deps = [
    "moduletest/ability_mgr_service_test:moduletest",
    "moduletest/ability_record_test:moduletest",
    "moduletest/ability_stack_test:moduletest",
    "moduletest/dump_module_test:moduletest",
    "moduletest/ipc_ability_connect_test:moduletest",
    "moduletest/ipc_ability_mgr_test:moduletest",
    "moduletest/ipc_ability_scheduler_test:moduletest",
    "moduletest/module_test_dump_util:module_test_dump_util",
    "moduletest/panding_want_manager_test:moduletest",
    "//third_party/jsoncpp:jsoncpp",
  ]
}
