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