• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021 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.
13import("//build/test.gni")
14import("//foundation/appexecfwk/standard/appexecfwk.gni")
15
16config("amsKitSTAbilityManagerConfig") {
17  visibility = [ ":*" ]
18  include_dirs = [
19    "include",
20    "${aafwk_path}/interfaces/innerkits/ability_manager/include",
21    "${aafwk_path}/interfaces/innerkits/want/include/ohos/aafwk/content",
22    "${aafwk_path}/services/abilitymgr/include",
23    "${appexecfwk_path}/common/log/include",
24    "${appexecfwk_path}/interfaces/innerkits/libeventhandler/include",
25    "${appexecfwk_path}/kits/appkit/native/app",
26    "${appexecfwk_path}/services/bundlemgr/include",
27    "//foundation/distributedschedule/dmsfwk/services/dtbschedmgr/include",
28    "//utils/system/safwk/native/include",
29    "${appexecfwk_path}/test/resource/amssystemtestability/abilitySrc/common",
30    "${appexecfwk_path}/interfaces/innerkits/appexecfwk_core/include/appmgr",
31  ]
32  defines = [
33    "APP_LOG_TAG = \"amsKitSTAbilityManager\"",
34    "LOG_DOMAIN = 0xD002200",
35  ]
36}
37ohos_shared_library("amsKitSTAbilityManager") {
38  sources = [ "src/kit_test_ability_manager_second.cpp" ]
39  cflags = []
40  if (target_cpu == "arm") {
41    cflags += [ "-DBINDER_IPC_32BIT" ]
42  }
43  configs = [ ":amsKitSTAbilityManagerConfig" ]
44  deps = [
45    "${aafwk_path}/frameworks/kits/ability/native:abilitykit_native",
46    "${aafwk_path}/interfaces/innerkits/base:base",
47    "${aafwk_path}/interfaces/innerkits/want:want",
48    "${appexecfwk_path}/common:libappexecfwk_common",
49    "${appexecfwk_path}/interfaces/innerkits/appexecfwk_base:appexecfwk_base",
50    "${appexecfwk_path}/interfaces/innerkits/appexecfwk_core:appexecfwk_core",
51    "${appexecfwk_path}/kits:appkit_native",
52    "${appexecfwk_path}/services/bundlemgr:libbms",
53    "//foundation/aafwk/standard/interfaces/innerkits/ability_manager:ability_manager",
54    "//foundation/distributedschedule/dmsfwk/interfaces/innerkits/uri:zuri",
55    "//utils/native/base:utilsbase",
56  ]
57  external_deps = [
58    "ces_standard:cesfwk_core",
59    "ces_standard:cesfwk_innerkits",
60    "hiviewdfx_hilog_native:libhilog",
61    "ipc:ipc_core",
62  ]
63  subsystem_name = "amssystemtestability"
64}
65