1# Copyright (c) 2021 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") 15ohos_static_library("libminui") { 16 sources = [ 17 "src/animation_label.cpp", 18 "src/frame.cpp", 19 "src/surface_dev.cpp", 20 "src/text_label.cpp", 21 "src/updater_ui.cpp", 22 "src/view.cpp", 23 ] 24 25 include_dirs = [ 26 "//third_party/libpng", 27 "//third_party/libdrm/include/drm", 28 "//third_party/libdrm", 29 "//drivers/framework/ability/sbuf/include", 30 "//drivers/framework/include/platform", 31 "//drivers/framework/include/core", 32 "//drivers/framework/include/osal", 33 "//drivers/framework/include/utils", 34 "//drivers/framework/include/config", 35 "//drivers/framework/include", 36 "//drivers/adapter/uhdf2/hdi", 37 "//drivers/adapter/uhdf2/osal/include", 38 "//base/hiviewdfx/hilog/interfaces/native/innerkits/include", 39 "//drivers/peripheral/input/hal/include", 40 "//drivers/peripheral/input/interfaces/include", 41 "//base/update/updater/utils/include", 42 "//base/update/updater/services", 43 "//base/update/updater/interfaces/kits/include", 44 "//base/powermgr/battery_manager/hdi/service/include", 45 "//base/powermgr/battery_manager/hdi/api/include", 46 "//drivers/framework/core/common/include/host", 47 "//third_party/jsoncpp/include", 48 "//base/powermgr/battery_manager/charger/vibrate", 49 "//base/powermgr/battery_manager/charger/backlight", 50 "//base/powermgr/battery_manager/charger/led", 51 "//base/powermgr/battery_manager/charger/include", 52 "//base/powermgr/battery_manager/charger/ui/include", 53 ] 54 55 deps = [ 56 "//base/update/updater/interfaces/kits/packages:libpackageExt", 57 "//base/update/updater/services/log:libupdaterlog", 58 "//base/update/updater/utils:libutils", 59 "//drivers/peripheral/input/hal:hdi_input", 60 "//third_party/bounds_checking_function:libsec_static", 61 "//third_party/libdrm:libdrm", 62 "//third_party/libpng:libpng", 63 ] 64 65 subsystem_name = "powermgr" 66 part_name = "battery_manager_native" 67} 68