mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Changelog: [Internal] add this to the framework's resource bundle from the audit there was a callsite to fstat in our forked copy of glog, so use C617.1. callsites: - glog/src/logging.cc current problem with this method is that the required reasons are not currently be aggregated during app store review, so those need to live in the app's. but go ahead and add it here for now, i think apple will try to fix it. Reviewed By: cipolleschi Differential Revision: D55625116 fbshipit-source-id: b10ea2dad2238cc85b5fe30df56269a5808a35b5
44 lines
1.5 KiB
Ruby
44 lines
1.5 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.
|
|
|
|
Pod::Spec.new do |spec|
|
|
spec.name = 'glog'
|
|
spec.version = '0.3.5'
|
|
spec.license = { :type => 'Google', :file => 'COPYING' }
|
|
spec.homepage = 'https://github.com/google/glog'
|
|
spec.summary = 'Google logging module'
|
|
spec.authors = 'Google'
|
|
|
|
spec.prepare_command = File.read("../scripts/ios-configure-glog.sh")
|
|
spec.source = { :git => 'https://github.com/google/glog.git',
|
|
:tag => "v#{spec.version}" }
|
|
spec.module_name = 'glog'
|
|
spec.header_dir = 'glog'
|
|
spec.source_files = 'src/glog/*.h',
|
|
'src/demangle.cc',
|
|
'src/logging.cc',
|
|
'src/raw_logging.cc',
|
|
'src/signalhandler.cc',
|
|
'src/symbolize.cc',
|
|
'src/utilities.cc',
|
|
'src/vlog_is_on.cc'
|
|
# workaround for https://github.com/facebook/react-native/issues/14326
|
|
spec.preserve_paths = 'src/*.h',
|
|
'src/base/*.h'
|
|
spec.exclude_files = "src/windows/**/*"
|
|
spec.compiler_flags = '-Wno-shorten-64-to-32'
|
|
spec.resource_bundles = {'glog_privacy' => 'glog/PrivacyInfo.xcprivacy'}
|
|
|
|
spec.pod_target_xcconfig = {
|
|
"USE_HEADERMAP" => "NO",
|
|
"HEADER_SEARCH_PATHS" => "$(PODS_TARGET_SRCROOT)/src",
|
|
"DEFINES_MODULE" => "YES"
|
|
}
|
|
|
|
# Pinning to the same version as React.podspec.
|
|
spec.platforms = min_supported_versions
|
|
|
|
end
|