1d96309c9Sopenharmony_ci#
2d96309c9Sopenharmony_ci# Copyright (c) 2022 Huawei Device Co., Ltd.
3d96309c9Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
4d96309c9Sopenharmony_ci# you may not use this file except in compliance with the License.
5d96309c9Sopenharmony_ci# You may obtain a copy of the License at
6d96309c9Sopenharmony_ci#
7d96309c9Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
8d96309c9Sopenharmony_ci#
9d96309c9Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
10d96309c9Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
11d96309c9Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12d96309c9Sopenharmony_ci# See the License for the specific language governing permissions and
13d96309c9Sopenharmony_ci# limitations under the License.
14d96309c9Sopenharmony_ci#
15d96309c9Sopenharmony_ci
16d96309c9Sopenharmony_ciimport("//build/lite/config/subsystem/aafwk/path.gni")
17d96309c9Sopenharmony_ci
18d96309c9Sopenharmony_cishared_library("ace_kit_hilog") {
19d96309c9Sopenharmony_ci  sources = [
20d96309c9Sopenharmony_ci    "src/hilog_module.cpp",
21d96309c9Sopenharmony_ci    "src/hilog_realloc.cpp",
22d96309c9Sopenharmony_ci    "src/hilog_string.cpp",
23d96309c9Sopenharmony_ci    "src/hilog_vector.cpp",
24d96309c9Sopenharmony_ci  ]
25d96309c9Sopenharmony_ci  cflags = [ "-Wall" ]
26d96309c9Sopenharmony_ci  cflags_cc = cflags
27d96309c9Sopenharmony_ci
28d96309c9Sopenharmony_ci  include_dirs = [
29d96309c9Sopenharmony_ci    "include",
30d96309c9Sopenharmony_ci    "../common/include",
31d96309c9Sopenharmony_ci    "//third_party/bounds_checking_function/include",
32d96309c9Sopenharmony_ci    "//foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin",
33d96309c9Sopenharmony_ci    "//foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/base",
34d96309c9Sopenharmony_ci    "//foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/async",
35d96309c9Sopenharmony_ci    "${aafwk_lite_path}/interfaces/kits/ability_lite",
36d96309c9Sopenharmony_ci    "//base/powermgr/battery_lite/interfaces/kits",
37d96309c9Sopenharmony_ci    "//base/powermgr/battery_lite/frameworks/native/include",
38d96309c9Sopenharmony_ci  ]
39d96309c9Sopenharmony_ci  deps = [
40d96309c9Sopenharmony_ci    "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared",
41d96309c9Sopenharmony_ci    "//base/powermgr/battery_lite/frameworks:batterymgr",
42d96309c9Sopenharmony_ci    "//third_party/bounds_checking_function:libsec_shared",
43d96309c9Sopenharmony_ci  ]
44d96309c9Sopenharmony_ci}
45