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