12498b56bSopenharmony_ci# Copyright (c) 2021 Huawei Device Co., Ltd. 22498b56bSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 32498b56bSopenharmony_ci# you may not use this file except in compliance with the License. 42498b56bSopenharmony_ci# You may obtain a copy of the License at 52498b56bSopenharmony_ci# 62498b56bSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 72498b56bSopenharmony_ci# 82498b56bSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 92498b56bSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 102498b56bSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 112498b56bSopenharmony_ci# See the License for the specific language governing permissions and 122498b56bSopenharmony_ci# limitations under the License. 132498b56bSopenharmony_ci 142498b56bSopenharmony_ciimport("//build/ohos.gni") 152498b56bSopenharmony_ci 162498b56bSopenharmony_ciconfig("hilog_config") { 172498b56bSopenharmony_ci visibility = [ ":*" ] 182498b56bSopenharmony_ci 192498b56bSopenharmony_ci include_dirs = [ "include" ] 202498b56bSopenharmony_ci} 212498b56bSopenharmony_ci 222498b56bSopenharmony_ciohos_executable("hilog") { 232498b56bSopenharmony_ci sources = [ 242498b56bSopenharmony_ci "log_display.cpp", 252498b56bSopenharmony_ci "main.cpp", 262498b56bSopenharmony_ci ] 272498b56bSopenharmony_ci 282498b56bSopenharmony_ci configs = [ 292498b56bSopenharmony_ci ":hilog_config", 302498b56bSopenharmony_ci "//base/hiviewdfx/hilog/frameworks/libhilog:libhilog_config", 312498b56bSopenharmony_ci ] 322498b56bSopenharmony_ci 332498b56bSopenharmony_ci deps = [ "../../interfaces/native/innerkits:libhilog" ] 342498b56bSopenharmony_ci 352498b56bSopenharmony_ci external_deps = [ 362498b56bSopenharmony_ci "bounds_checking_function:libsec_shared", 372498b56bSopenharmony_ci "c_utils:utils", 382498b56bSopenharmony_ci "zlib:shared_libz", 392498b56bSopenharmony_ci ] 402498b56bSopenharmony_ci install_images = [ 412498b56bSopenharmony_ci "system", 422498b56bSopenharmony_ci "updater", 432498b56bSopenharmony_ci ] 442498b56bSopenharmony_ci install_enable = true 452498b56bSopenharmony_ci part_name = "hilog" 462498b56bSopenharmony_ci subsystem_name = "hiviewdfx" 472498b56bSopenharmony_ci} 48