1e01aa904Sopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd.
2e01aa904Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3e01aa904Sopenharmony_ci# you may not use this file except in compliance with the License.
4e01aa904Sopenharmony_ci# You may obtain a copy of the License at
5e01aa904Sopenharmony_ci#
6e01aa904Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7e01aa904Sopenharmony_ci#
8e01aa904Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9e01aa904Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10e01aa904Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11e01aa904Sopenharmony_ci# See the License for the specific language governing permissions and
12e01aa904Sopenharmony_ci# limitations under the License.
13e01aa904Sopenharmony_ci
14e01aa904Sopenharmony_ciimport("//build/ohos.gni")
15e01aa904Sopenharmony_ci
16e01aa904Sopenharmony_ciconfig("libabigail_defaults") {
17e01aa904Sopenharmony_ci  cflags_cc = [
18e01aa904Sopenharmony_ci    "-fexceptions",
19e01aa904Sopenharmony_ci    "-frtti",
20e01aa904Sopenharmony_ci  ]
21e01aa904Sopenharmony_ci}
22e01aa904Sopenharmony_ci
23e01aa904Sopenharmony_cigroup("libabigail-tools_host_toolchain") {
24e01aa904Sopenharmony_ci  deps = [
25e01aa904Sopenharmony_ci    "//third_party/libabigail/tools:abidiff($host_toolchain)",
26e01aa904Sopenharmony_ci    "//third_party/libabigail/tools:abidw($host_toolchain)",
27e01aa904Sopenharmony_ci  ]
28e01aa904Sopenharmony_ci}
29