1d96309c9Sopenharmony_ci# Copyright (c) 2020 Huawei Device Co., Ltd.
2d96309c9Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3d96309c9Sopenharmony_ci# you may not use this file except in compliance with the License.
4d96309c9Sopenharmony_ci# You may obtain a copy of the License at
5d96309c9Sopenharmony_ci#
6d96309c9Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7d96309c9Sopenharmony_ci#
8d96309c9Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9d96309c9Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10d96309c9Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11d96309c9Sopenharmony_ci# See the License for the specific language governing permissions and
12d96309c9Sopenharmony_ci# limitations under the License.
13d96309c9Sopenharmony_ci
14d96309c9Sopenharmony_ciimport("//build/lite/config/component/lite_component.gni")
15d96309c9Sopenharmony_ci
16d96309c9Sopenharmony_ciconfig("hilog_command_config") {
17d96309c9Sopenharmony_ci  include_dirs = [ "//base/hiviewdfx/hilog_lite/command" ]
18d96309c9Sopenharmony_ci}
19d96309c9Sopenharmony_ci
20d96309c9Sopenharmony_cilite_library("hilog_command_static") {
21d96309c9Sopenharmony_ci  target_type = "static_library"
22d96309c9Sopenharmony_ci  sources = [ "hilog_command.c" ]
23d96309c9Sopenharmony_ci  public_configs = [
24d96309c9Sopenharmony_ci    ":hilog_command_config",
25d96309c9Sopenharmony_ci    "//base/hiviewdfx/hilog_lite/services/apphilogcat:apphilogcat_config",
26d96309c9Sopenharmony_ci  ]
27d96309c9Sopenharmony_ci  deps = [
28d96309c9Sopenharmony_ci    "//base//hiviewdfx/hilog_lite/frameworks/featured:hilog_shared",
29d96309c9Sopenharmony_ci    "//third_party/bounds_checking_function:libsec_shared",
30d96309c9Sopenharmony_ci  ]
31d96309c9Sopenharmony_ci}
32d96309c9Sopenharmony_ci
33d96309c9Sopenharmony_cilite_library("hilog_command_shared") {
34d96309c9Sopenharmony_ci  target_type = "shared_library"
35d96309c9Sopenharmony_ci  sources = [ "hilog_command.c" ]
36d96309c9Sopenharmony_ci  public_configs = [
37d96309c9Sopenharmony_ci    ":hilog_command_config",
38d96309c9Sopenharmony_ci    "//base/hiviewdfx/hilog_lite/services/apphilogcat:apphilogcat_config",
39d96309c9Sopenharmony_ci  ]
40d96309c9Sopenharmony_ci  deps = [
41d96309c9Sopenharmony_ci    "//base//hiviewdfx/hilog_lite/frameworks/featured:hilog_shared",
42d96309c9Sopenharmony_ci    "//third_party/bounds_checking_function:libsec_shared",
43d96309c9Sopenharmony_ci  ]
44d96309c9Sopenharmony_ci}
45