• 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("//build/ohos.gni")
15import("//foundation/aafwk/standard/aafwk.gni")
16
17config("uiservice_manager_public_config") {
18  visibility = [ ":*" ]
19  include_dirs = [
20    "include/",
21    "//utils/native/base/include",
22    "//utils/system/safwk/native/include",
23    "//foundation/aafwk/standard/frameworks/kits/ability/native/include",
24    "//foundation/appexecfwk/standard/interfaces/innerkits/appexecfwk_base/include",
25    "//foundation/appexecfwk/standard/interfaces/innerkits/libeventhandler/include",
26    "//foundation/aafwk/standard/interfaces/innerkits/ability_manager/include/",
27    "//foundation/aafwk/standard/services/uiservicemgr/include",
28    "${innerkits_path}/want/include",
29    "//foundation/graphic/standard/rosen/modules/render_service_client/core",
30    "//foundation/graphic/standard/interfaces/innerkits/surface",
31    "//foundation/graphic/standard/interfaces/innerkits/common",
32    "//foundation/graphic/standard/utils/buffer_handle/export",
33    "//foundation/graphic/standard/rosen/modules/render_service_base/include",
34    "//drivers/peripheral/base",
35    "//third_party/icu/icu4c/source/common",
36    "//third_party/icu/icu4c/source/i18n",
37    "//third_party/icu/icu4c/source/ohos",
38    "//third_party/icu/icu4c/source",
39  ]
40  cflags = []
41  if (target_cpu == "arm") {
42    cflags += [ "-DBINDER_IPC_32BIT" ]
43  }
44}
45
46ohos_shared_library("ui_service_mgr") {
47  sources = [
48    "//foundation/ace/ace_engine/adapter/ohos/services/uiservice/src/dialog_callback_proxy.cpp",
49    "//foundation/ace/ace_engine/adapter/ohos/services/uiservice/src/dialog_callback_stub.cpp",
50    "//foundation/ace/ace_engine/adapter/ohos/services/uiservice/src/ui_service_mgr_client.cpp",
51    "//foundation/ace/ace_engine/adapter/ohos/services/uiservice/src/ui_service_mgr_proxy.cpp",
52    "//foundation/ace/ace_engine/adapter/ohos/services/uiservice/src/ui_service_proxy.cpp",
53    "//foundation/ace/ace_engine/adapter/ohos/services/uiservice/src/ui_service_stub.cpp",
54  ]
55
56  configs = [ "//utils/native/base:utils_config" ]
57
58  public_configs = [
59    ":uiservice_manager_public_config",
60    "//foundation/ace/ace_engine/adapter/ohos/services/uiservice:uiservicems_config",
61  ]
62
63  deps = [
64    "${innerkits_path}/want:want",
65    "//foundation/appexecfwk/standard/common:libappexecfwk_common",
66    "//foundation/appexecfwk/standard/interfaces/innerkits/libeventhandler:libeventhandler",
67    "//foundation/distributedschedule/dmsfwk/interfaces/innerkits/uri:zuri",
68    "//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy",
69    "//foundation/windowmanager/utils:libwmutil",
70    "//foundation/windowmanager/wm:libwm",
71    "//third_party/icu/icu4c:shared_icui18n",
72    "//third_party/icu/icu4c:shared_icuuc",
73    "//utils/native/base:utils",
74  ]
75
76  external_deps = [
77    "ability_runtime:ability_manager",
78    "hiviewdfx_hilog_native:libhilog",
79    "ipc:ipc_core",
80    "multimodalinput_base:libmmi-client",
81    "window_manager:libdm",
82  ]
83
84  subsystem_name = "ace"
85  part_name = "ace_engine_standard"
86}
87