15f9996aaSopenharmony_ci# Copyright (c) 2020 Huawei Device Co., Ltd.
25f9996aaSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
35f9996aaSopenharmony_ci# you may not use this file except in compliance with the License.
45f9996aaSopenharmony_ci# You may obtain a copy of the License at
55f9996aaSopenharmony_ci#
65f9996aaSopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
75f9996aaSopenharmony_ci#
85f9996aaSopenharmony_ci# Unless required by applicable law or agreed to in writing, software
95f9996aaSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
105f9996aaSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
115f9996aaSopenharmony_ci# See the License for the specific language governing permissions and
125f9996aaSopenharmony_ci# limitations under the License.
135f9996aaSopenharmony_ci
145f9996aaSopenharmony_ciimport("//build/lite/config/component/lite_component.gni")
155f9996aaSopenharmony_ciimport("//build/lite/config/subsystem/lite_subsystem.gni")
165f9996aaSopenharmony_ci
175f9996aaSopenharmony_cigroup("hilog_ndk") {
185f9996aaSopenharmony_ci  if (ohos_kernel_type == "liteos_m") {
195f9996aaSopenharmony_ci    deps = [ "//base/hiviewdfx/hilog_lite/frameworks/mini:hilog_lite_ndk" ]
205f9996aaSopenharmony_ci  } else {
215f9996aaSopenharmony_ci    deps = [ "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_ndk" ]
225f9996aaSopenharmony_ci  }
235f9996aaSopenharmony_ci}
245f9996aaSopenharmony_ci
255f9996aaSopenharmony_cigenerate_notice_file("hiviewdfx_notice_file") {
265f9996aaSopenharmony_ci  module_name = "hiviewdfx"
275f9996aaSopenharmony_ci  module_source_dir_list = [
285f9996aaSopenharmony_ci    "//third_party/bounds_checking_function",
295f9996aaSopenharmony_ci    "//third_party/musl",
305f9996aaSopenharmony_ci    "//third_party/cJSON",
315f9996aaSopenharmony_ci    "//third_party/zlib",
325f9996aaSopenharmony_ci    "//third_party/mbedtls",
335f9996aaSopenharmony_ci  ]
345f9996aaSopenharmony_ci}
35