1209bc2fbSopenharmony_ci# Copyright (c) 2021 Huawei Device Co., Ltd.
2209bc2fbSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3209bc2fbSopenharmony_ci# you may not use this file except in compliance with the License.
4209bc2fbSopenharmony_ci# You may obtain a copy of the License at
5209bc2fbSopenharmony_ci#
6209bc2fbSopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7209bc2fbSopenharmony_ci#
8209bc2fbSopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9209bc2fbSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10209bc2fbSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11209bc2fbSopenharmony_ci# See the License for the specific language governing permissions and
12209bc2fbSopenharmony_ci# limitations under the License.
13209bc2fbSopenharmony_ci
14209bc2fbSopenharmony_ciimport("//build/ohos.gni")
15209bc2fbSopenharmony_ci
16209bc2fbSopenharmony_ciconfig("libhicollie_pub_config") {
17209bc2fbSopenharmony_ci  visibility = [ ":*" ]
18209bc2fbSopenharmony_ci  include_dirs = [ "include" ]
19209bc2fbSopenharmony_ci}
20209bc2fbSopenharmony_ci
21209bc2fbSopenharmony_ciohos_shared_library("libhicollie") {
22209bc2fbSopenharmony_ci  branch_protector_ret = "pac_ret"
23209bc2fbSopenharmony_ci  public_configs = [ ":libhicollie_pub_config" ]
24209bc2fbSopenharmony_ci  deps = [ "//base/hiviewdfx/hicollie/frameworks/native:libhicollie_source" ]
25209bc2fbSopenharmony_ci
26209bc2fbSopenharmony_ci  innerapi_tags = [
27209bc2fbSopenharmony_ci    "chipsetsdk",
28209bc2fbSopenharmony_ci    "platformsdk",
29209bc2fbSopenharmony_ci  ]
30209bc2fbSopenharmony_ci  external_deps = [ "hilog:libhilog" ]
31209bc2fbSopenharmony_ci  part_name = "hicollie"
32209bc2fbSopenharmony_ci  subsystem_name = "hiviewdfx"
33209bc2fbSopenharmony_ci  version_script = "libhicollie.map"
34209bc2fbSopenharmony_ci}
35