Files
react-native/packages/react-native/third-party-podspecs/boost.podspec
Riccardo CipolleschiandFacebook GitHub Bot 62d4768984 Inhibit warning in 3p libraries (#46464)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/46464

React Native uses some 3P libraries that are emitting some warnings for which we can't do anything about.

This change suppress those warnings.

## Changelog:
[Internal] - Suppress 3p warnings

Reviewed By: cortinico

Differential Revision: D62582960

fbshipit-source-id: 79e8c28725177f5f47359da86f865e770dcf7c7b
2024-09-13 08:19:55 -07:00

35 lines
1.1 KiB
Ruby

# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
boost_config = get_boost_config()
boost_git_url = boost_config[:git]
Pod::Spec.new do |spec|
spec.name = 'boost'
spec.version = '1.84.0'
spec.license = { :type => 'Boost Software License', :file => "LICENSE_1_0.txt" }
spec.homepage = 'http://www.boost.org'
spec.summary = 'Boost provides free peer-reviewed portable C++ source libraries.'
spec.authors = 'Rene Rivera'
spec.source = { :git => boost_git_url,
:tag => "v1.84.0" }
# Pinning to the same version as React.podspec.
spec.platforms = min_supported_versions
spec.requires_arc = false
spec.source_files = 'boost/**/*.{hpp,cpp}'
spec.module_name = 'boost'
spec.header_dir = 'boost'
spec.preserve_path = 'boost'
spec.header_mappings_dir = 'boost/boost'
spec.resource_bundles = {'boost_privacy' => 'boost/PrivacyInfo.xcprivacy'}
spec.pod_target_xcconfig = {
"GCC_WARN_INHIBIT_ALL_WARNINGS" => "YES" # Disable warnings because we don't control this library
}
end