• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2023 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("//build/ohos.gni")
15
16config("intention_event_public_config") {
17  include_dirs = [
18    "anr_manager/include",
19    "event_stage/include",
20    "timer_manager/include",
21    "../../../utils/include",
22    "../../session/container/include/zidl",
23    "../../interfaces/include",
24    "../../../interfaces/innerkits/wm",
25    "../../",
26    "../dfx/include",
27    "../framework/anr_handler/include",
28    "../utils/include",
29  ]
30}
31
32ohos_shared_library("intention_event_anr_manager") {
33  sources = [
34    "../dfx/src/dfx_hisysevent.cpp",
35    "../framework/anr_handler/src/anr_handler.cpp",
36    "../utils/src/util.cpp",
37    "anr_manager/src/anr_manager.cpp",
38    "event_stage/src/event_stage.cpp",
39    "timer_manager/src/timer_manager.cpp",
40  ]
41
42  public_configs = [ ":intention_event_public_config" ]
43
44  external_deps = [
45    "ability_base:want",
46    "c_utils:utils",
47    "eventhandler:libeventhandler",
48    "hicollie:libhicollie",
49    "hilog:libhilog",
50    "hisysevent:libhisysevent",
51    "hitrace:hitrace_meter",
52    "ipc:ipc_single",
53  ]
54
55  part_name = "window_manager"
56  subsystem_name = "window"
57}
58