• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2022 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")
15
16config("screenlock_mgr_service_config") {
17  visibility = [ ":*" ]
18  include_dirs = [ "include" ]
19
20  cflags_cc = []
21}
22
23ohos_shared_library("screenlock_server") {
24  sources = [
25    "src/command.cpp",
26    "src/dump_helper.cpp",
27    "src/screenlock_get_info_callback.cpp",
28    "src/screenlock_manager_stub.cpp",
29    "src/screenlock_system_ability.cpp",
30    "src/screenlock_system_ability_proxy.cpp",
31  ]
32
33  public_configs = [
34    "//commonlibrary/c_utils/base:utils_config",
35    ":screenlock_mgr_service_config",
36  ]
37  include_dirs = [
38    "//commonlibrary/c_utils/base/include",
39    "//utils/system/safwk/native/include",
40    "//base/telephony/core_service/utils/log/include",
41    "//base/telephony/core_service/interfaces/innerkits/include",
42    "//base/theme/screenlock_mgr/frameworks/kitsimpl/include",
43    "//base/user_idm/interfaces/innerkits/include",
44    "//third_party/json/include",
45    "//base/theme/screenlock_mgr/utils/include",
46  ]
47  deps = [ "//base/theme/screenlock_mgr/utils:screenlock_utils" ]
48  external_deps = [
49    "ability_base:want",
50    "ability_runtime:ability_manager",
51    "c_utils:utils",
52    "eventhandler:libeventhandler",
53    "hitrace_native:hitrace_meter",
54    "hiviewdfx_hilog_native:libhilog",
55    "init:libbegetutil",
56    "ipc:ipc_core",
57    "os_account:os_account_innerkits",
58    "safwk:system_ability_fwk",
59    "samgr:samgr_proxy",
60    "user_auth_framework:userauth_client",
61    "window_manager:libdm",
62    "bundle_framework:appexecfwk_core",
63  ]
64  subsystem_name = "theme"
65  part_name = "screenlock_mgr"
66}
67