# Copyright (C) 2022 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import("//build/ohos.gni") config("screenlock_frameworks_innerkitsimpl_config") { visibility = [ ":*" ] include_dirs = [ "include", ] cflags_cc = [ "-fexceptions" ] } ohos_shared_library("screenlock_client") { sources = [ "src/screenlock_manager.cpp", "src/screenlock_app_manager.cpp", "src/screenlock_manager_proxy.cpp", "src/screenlock_system_ability_stub.cpp", ] public_configs = [ "//utils/native/base:utils_config", ":screenlock_frameworks_innerkitsimpl_config", ] include_dirs = [ "include", "//base/miscservices/screenlock/services/include", "//base/miscservices/screenlock/interfaces/innerkits/notify/native/include", "//base/miscservices/screenlock/frameworks/kitsimpl/include", "//utils/native/base/include", "//utils/system/safwk/native/include", ] deps = [ "//base/miscservices/screenlock/utils:screenlock_utils", "//utils/native/base:utils", "//foundation/distributedschedule/safwk/interfaces/innerkits/safwk:system_ability_fwk", "//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy", ] external_deps = [ "ability_base:base", "ipc:ipc_core", "hiviewdfx_hilog_native:libhilog", ] relative_install_dir = "module" subsystem_name = "miscservices" part_name = "screenlock" }