165042b18Sopenharmony_ci# Copyright (c) 2022 Huawei Device Co., Ltd. 265042b18Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 365042b18Sopenharmony_ci# you may not use this file except in compliance with the License. 465042b18Sopenharmony_ci# You may obtain a copy of the License at 565042b18Sopenharmony_ci# 665042b18Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 765042b18Sopenharmony_ci# 865042b18Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 965042b18Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 1065042b18Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1165042b18Sopenharmony_ci# See the License for the specific language governing permissions and 1265042b18Sopenharmony_ci# limitations under the License. 1365042b18Sopenharmony_ci 1465042b18Sopenharmony_ciimport("//build/ohos.gni") 1565042b18Sopenharmony_ci 1665042b18Sopenharmony_ciconfig("elfio_public_config") { 1765042b18Sopenharmony_ci include_dirs = [ "//third_party/elfio/elfio" ] 1865042b18Sopenharmony_ci} 1965042b18Sopenharmony_ci 2065042b18Sopenharmony_ciohos_shared_library("elfio") { 2165042b18Sopenharmony_ci sources = [ 2265042b18Sopenharmony_ci "./c_wrapper/elfio_c_wrapper.cpp", 2365042b18Sopenharmony_ci "//third_party/elfio/elfio/elfio_demo.cpp", 2465042b18Sopenharmony_ci ] 2565042b18Sopenharmony_ci 2665042b18Sopenharmony_ci include_dirs = [ 2765042b18Sopenharmony_ci "//third_party/elfio", 2865042b18Sopenharmony_ci "./c_wrapper/", 2965042b18Sopenharmony_ci "./elfio/", 3065042b18Sopenharmony_ci "./", 3165042b18Sopenharmony_ci ] 3265042b18Sopenharmony_ci 3365042b18Sopenharmony_ci public_configs = [ ":elfio_public_config" ] 3465042b18Sopenharmony_ci 3565042b18Sopenharmony_ci license_file = "//third_party/elfio/LICENSE.txt" 3665042b18Sopenharmony_ci 3765042b18Sopenharmony_ci subsystem_name = "thirdparty" 3865042b18Sopenharmony_ci part_name = "elfio" 3965042b18Sopenharmony_ci} 40