• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021-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("//base/hiviewdfx/hiappevent/hiappevent_aafwk.gni")
15import("//build/ohos.gni")
16
17config("libhiappevent_source_config") {
18  visibility = [ "*:*" ]
19  include_dirs = [
20    "include",
21    "../../../interfaces/native/kits/include",
22  ]
23}
24
25ohos_shared_library("libhiappevent_base") {
26  public_configs = [
27    ":libhiappevent_source_config",
28    "cache:hiappevent_cache_config",
29    "watcher:hiappevent_watcher_config",
30  ]
31
32  sources = [
33    "hiappevent_base.cpp",
34    "hiappevent_c.cpp",
35    "hiappevent_clean.cpp",
36    "hiappevent_config.cpp",
37    "hiappevent_read.cpp",
38    "hiappevent_verify.cpp",
39    "hiappevent_write.cpp",
40  ]
41
42  deps = [
43    "cache:hiappevent_cache",
44    "cleaner:hiappevent_cleaner",
45    "utility:hiappevent_utility",
46    "watcher:hiappevent_watcher",
47  ]
48
49  version_script = "libhiappevent_base.map"
50
51  external_deps = [
52    "ability_runtime:app_context",
53    "bundle_framework:appexecfwk_base",
54    "bundle_framework:appexecfwk_core",
55    "hilog:libhilog",
56    "hitrace:libhitracechain",
57    "relational_store:native_rdb",
58  ]
59
60  part_name = "hiappevent"
61  innerapi_tags = [ "platformsdk" ]
62  subsystem_name = "hiviewdfx"
63}
64