1# Copyright (c) 2023 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") 15import( 16 "//foundation/resourceschedule/device_standby/standby_service.gni") 17 18config("standby_innerkits_public_config") { 19 include_dirs = [ "include" ] 20} 21 22ohos_shared_library("standby_innerkits") { 23 sources = [ 24 "src/allow_info.cpp", 25 "src/allow_type.cpp", 26 "src/resourcce_request.cpp", 27 "src/standby_service_client.cpp", 28 "src/standby_service_subscriber_stub.cpp", 29 ] 30 31 public_configs = [ ":standby_innerkits_public_config" ] 32 33 public_deps = [ 34 "${standby_service_frameworks_path}:standby_fwk", 35 "${standby_utils_common_path}:standby_utils_common", 36 ] 37 38 external_deps = [ 39 "c_utils:utils", 40 "hilog:libhilog", 41 "ipc:ipc_single", 42 "samgr:samgr_proxy", 43 ] 44 45 innerapi_tags = [ "platformsdk" ] 46 subsystem_name = "resourceschedule" 47 part_name = "${standby_service_part_name}" 48 49 version_script = "libstandby_innerkits.versionscript" 50} 51