• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) Huawei Technologies Co., Ltd. 2022. All rights reserved.
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")
15import("//build/ohos/ace/ace.gni")
16import("//developtools/profiler/hidebug/hidebug.gni")
17
18ohos_shared_library("hidebug") {
19  include_dirs = [
20    "util",
21    "$hidebug_path/frameworks/native/include",
22    "$hidebug_path/interfaces/native/kits/include",
23  ]
24
25  sources = [
26    "napi_hidebug.cpp",
27    "napi_hidebug_dump.cpp",
28    "napi_hidebug_gc.cpp",
29    "napi_hidebug_init.cpp",
30    "util/hiappevent_util.cpp",
31    "util/napi_util.cpp",
32  ]
33
34  deps = [ "$hidebug_path/frameworks/native:hidebug_native" ]
35
36  external_deps = [
37    "ability_base:configuration",
38    "ability_base:want",
39    "ability_runtime:app_context",
40    "bundle_framework:appexecfwk_base",
41    "bundle_framework:appexecfwk_core",
42    "c_utils:utils",
43    "ffrt:libffrt",
44    "hiappevent:hiappevent_innerapi",
45    "hidumper:lib_dump_usage",
46    "hilog:libhilog",
47    "hisysevent:libhisysevent",
48    "hitrace:hitrace_meter",
49    "hiview:libucollection_utility",
50    "init:libbegetutil",
51    "ipc:ipc_core",
52    "napi:ace_napi",
53    "samgr:samgr_proxy",
54    "storage_service:storage_manager_acl",
55  ]
56
57  relative_install_dir = "module"
58
59  part_name = "hiprofiler"
60  subsystem_name = "developtools"
61}
62