1cb69b360Sopenharmony_ci# Copyright (c) 2021 Huawei Device Co., Ltd. 2cb69b360Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3cb69b360Sopenharmony_ci# you may not use this file except in compliance with the License. 4cb69b360Sopenharmony_ci# You may obtain a copy of the License at 5cb69b360Sopenharmony_ci# 6cb69b360Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7cb69b360Sopenharmony_ci# 8cb69b360Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9cb69b360Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10cb69b360Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11cb69b360Sopenharmony_ci# See the License for the specific language governing permissions and 12cb69b360Sopenharmony_ci# limitations under the License. 13cb69b360Sopenharmony_ci 14cb69b360Sopenharmony_ciimport("//base/powermgr/powermgr_lite/powermgr.gni") 15cb69b360Sopenharmony_ciimport("//build/lite/config/component/lite_component.gni") 16cb69b360Sopenharmony_ci 17cb69b360Sopenharmony_cistatic_library("powermanage_impl") { 18cb69b360Sopenharmony_ci sources = [ "power_manage.c" ] 19cb69b360Sopenharmony_ci 20cb69b360Sopenharmony_ci include_dirs = [ 21cb69b360Sopenharmony_ci "${powermgr_frameworks_path}/include", 22cb69b360Sopenharmony_ci "${powermgr_frameworks_path}/include/${system_type}", 23cb69b360Sopenharmony_ci "${powermgr_innerkits_path}", 24cb69b360Sopenharmony_ci "${powermgr_kits_path}", 25cb69b360Sopenharmony_ci "//base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog_lite", 26cb69b360Sopenharmony_ci "//commonlibrary/utils_lite/include", 27cb69b360Sopenharmony_ci ] 28cb69b360Sopenharmony_ci 29cb69b360Sopenharmony_ci deps = [ "//foundation/systemabilitymgr/samgr_lite/samgr:samgr" ] 30cb69b360Sopenharmony_ci} 31cb69b360Sopenharmony_ci 32cb69b360Sopenharmony_cistatic_library("screensaver_impl") { 33cb69b360Sopenharmony_ci sources = [ "power_screen_saver.c" ] 34cb69b360Sopenharmony_ci 35cb69b360Sopenharmony_ci include_dirs = [ 36cb69b360Sopenharmony_ci "${powermgr_frameworks_path}/include", 37cb69b360Sopenharmony_ci "${powermgr_frameworks_path}/include/${system_type}", 38cb69b360Sopenharmony_ci "//base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog_lite", 39cb69b360Sopenharmony_ci "//commonlibrary/utils_lite/include", 40cb69b360Sopenharmony_ci ] 41cb69b360Sopenharmony_ci} 42