Release glog and DoubleConversion with different names
Summary: This releases glog and DoubleConversion under "Flipper" preappended name as it solves the issues with Flipper integration with RN under use_frameworks! keyword. Reviewed By: passy Differential Revision: D19392941 fbshipit-source-id: ebdcdc23fcce45cec9bfc6d4f18c14a734caf24f
This commit is contained in:
committed by
Facebook Github Bot
parent
a96931c43f
commit
4530eb9235
38
iOS/Podspecs/Flipper-Glog.podspec
Normal file
38
iOS/Podspecs/Flipper-Glog.podspec
Normal file
@@ -0,0 +1,38 @@
|
||||
# Copyright (c) Facebook, Inc. and its 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 = 'Flipper-Glog'
|
||||
spec.version = '0.3.6'
|
||||
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 => "v0.3.5" }
|
||||
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.libraries = "stdc++"
|
||||
spec.compiler_flags = '-Wno-shorten-64-to-32'
|
||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
||||
"HEADER_SEARCH_PATHS" => "$(PODS_TARGET_SRCROOT)/src" }
|
||||
|
||||
spec.platforms = { :ios => "8.0", :tvos => "8.0" }
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user