• 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_frameworks_innerkitsimpl_config") {
17  visibility = [ ":*" ]
18  include_dirs = [
19    "include",
20  ]
21
22  cflags_cc = [ "-fexceptions" ]
23}
24
25ohos_shared_library("screenlock_client") {
26  sources = [
27    "src/screenlock_manager.cpp",
28    "src/screenlock_app_manager.cpp",
29    "src/screenlock_manager_proxy.cpp",
30    "src/screenlock_system_ability_stub.cpp",
31  ]
32
33  public_configs = [
34    "//utils/native/base:utils_config",
35    ":screenlock_frameworks_innerkitsimpl_config",
36  ]
37   include_dirs = [
38    "include",
39    "//base/miscservices/screenlock/services/include",
40    "//base/miscservices/screenlock/interfaces/innerkits/notify/native/include",
41    "//base/miscservices/screenlock/frameworks/kitsimpl/include",
42    "//utils/native/base/include",
43    "//utils/system/safwk/native/include",
44  ]
45  deps = [
46    "//base/miscservices/screenlock/utils:screenlock_utils",
47    "//utils/native/base:utils",
48    "//foundation/distributedschedule/safwk/interfaces/innerkits/safwk:system_ability_fwk",
49    "//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy",
50  ]
51  external_deps = [
52    "ability_base:base",
53    "ipc:ipc_core",
54    "hiviewdfx_hilog_native:libhilog",
55  ]
56  relative_install_dir = "module"
57  subsystem_name = "miscservices"
58  part_name = "screenlock"
59}
60