• 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.
13
14import("//base/hiviewdfx/hiview/hiview.gni")
15import("//build/ohos.gni")
16
17config("sys_event_impl_config") {
18  visibility = [ "*:*" ]
19
20  include_dirs = [
21    ".",
22    "include",
23  ]
24}
25
26ohos_source_set("sys_event_impl_client") {
27  include_dirs = [
28    "include",
29    "//utils/native/base/include",
30  ]
31
32  sources = [
33    "src/hisysevent_delegate.cpp",
34    "src/hisysevent_listener_proxy.cpp",
35    "src/hisysevent_query_proxy.cpp",
36  ]
37
38  public_configs = [ "//base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager:hisyseventmanager_config" ]
39
40  deps = [ "//utils/native/base:utils" ]
41
42  external_deps = [
43    "hilog_native:libhilog",
44    "ipc:ipc_core",
45    "safwk:system_ability_fwk",
46    "samgr_standard:samgr_proxy",
47  ]
48}
49
50ohos_source_set("sys_event_service_gen_src_client") {
51  include_dirs = [
52    "include",
53    "//utils/native/base/include",
54    "//utils/system/safwk/native/include",
55  ]
56
57  sources = [
58    "src/query_sys_event_callback_proxy.cpp",
59    "src/query_sys_event_callback_stub.cpp",
60    "src/sys_event_callback_proxy.cpp",
61    "src/sys_event_callback_stub.cpp",
62    "src/sys_event_query_rule.cpp",
63    "src/sys_event_rule.cpp",
64    "src/sys_event_service_proxy.cpp",
65    "src/sys_event_service_stub.cpp",
66  ]
67
68  deps = [ "//utils/native/base:utils" ]
69
70  external_deps = [
71    "hilog_native:libhilog",
72    "ipc:ipc_core",
73    "safwk:system_ability_fwk",
74    "samgr_standard:samgr_proxy",
75  ]
76}
77