1413470f0Sopenharmony_ci#
2413470f0Sopenharmony_ci# Copyright (c) 2020-2022 Huawei Device Co., Ltd.
3413470f0Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
4413470f0Sopenharmony_ci# you may not use this file except in compliance with the License.
5413470f0Sopenharmony_ci# You may obtain a copy of the License at
6413470f0Sopenharmony_ci#
7413470f0Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
8413470f0Sopenharmony_ci#
9413470f0Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
10413470f0Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
11413470f0Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12413470f0Sopenharmony_ci# See the License for the specific language governing permissions and
13413470f0Sopenharmony_ci# limitations under the License.
14413470f0Sopenharmony_ci#
15413470f0Sopenharmony_ci
16413470f0Sopenharmony_ciimport("//build/lite/config/subsystem/aafwk/path.gni")
17413470f0Sopenharmony_ci
18413470f0Sopenharmony_cishared_library("ace_kit_battery") {
19413470f0Sopenharmony_ci  sources = [
20413470f0Sopenharmony_ci    "src/battery_impl.c",
21413470f0Sopenharmony_ci    "src/battery_module.cpp",
22413470f0Sopenharmony_ci  ]
23413470f0Sopenharmony_ci  cflags = [ "-Wall" ]
24413470f0Sopenharmony_ci  cflags_cc = cflags
25413470f0Sopenharmony_ci
26413470f0Sopenharmony_ci  include_dirs = [
27413470f0Sopenharmony_ci    "include",
28413470f0Sopenharmony_ci    "../common/include",
29413470f0Sopenharmony_ci    "//third_party/bounds_checking_function/include",
30413470f0Sopenharmony_ci    "//foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin",
31413470f0Sopenharmony_ci    "//foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/base",
32413470f0Sopenharmony_ci    "//foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/async",
33413470f0Sopenharmony_ci    "${aafwk_lite_path}/interfaces/kits/ability_lite",
34413470f0Sopenharmony_ci    "//base/powermgr/battery_lite/interfaces/kits",
35413470f0Sopenharmony_ci    "//base/powermgr/battery_lite/frameworks/native/include",
36413470f0Sopenharmony_ci  ]
37413470f0Sopenharmony_ci  deps = [
38413470f0Sopenharmony_ci    "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared",
39413470f0Sopenharmony_ci    "//base/powermgr/battery_lite/frameworks:batterymgr",
40413470f0Sopenharmony_ci    "//third_party/bounds_checking_function:libsec_shared",
41413470f0Sopenharmony_ci  ]
42413470f0Sopenharmony_ci}
43