• 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("hiview_service_ability_config") {
18  visibility = [ "*:*" ]
19
20  include_dirs = [
21    "include",
22    "$hiview_service",
23    "$hiview_base/utility/include",
24  ]
25}
26
27ohos_source_set("hiview_service_impl") {
28  public_configs = [ ":hiview_service_ability_config" ]
29
30  include_dirs = [
31    "$hiview_base/include",
32    "$hiview_service",
33    "include",
34  ]
35
36  sources = [
37    "src/hiview_service_ability.cpp",
38    "src/hiview_service_ability_proxy.cpp",
39    "src/hiview_service_ability_stub.cpp",
40  ]
41
42  deps = [
43    "$hiview_base:hiviewbase",
44    "//utils/native/base:utils",
45  ]
46
47  external_deps = [
48    "hilog_native:libhilog",
49    "ipc:ipc_core",
50    "safwk:system_ability_fwk",
51    "samgr_standard:samgr_proxy",
52  ]
53  part_name = "hiview"
54  subsystem_name = "hiviewdfx"
55}
56