GLog fix on case sensitive APFS macOS

Summary:
<!--
Thank you for sending the PR! We appreciate you spending the time to work on these changes.

Help us understand your motivation by explaining why you decided to make this change.

You can learn more about contributing to React Native here: http://facebook.github.io/react-native/docs/contributing.html

Happy contributing!

-->

This will fix compile error on case sensitive APFS(Apple File System) macs.

Integrate  RN on case sensitive formatted macOS via cocoa pods you will get compile errors on the include lines something like :
```
         ^~~~~~~~~~~~~~~~
1 error generated.
** BUILD FAILED **
```

If you change `#include <glog/logging.h>` into `#include <GLog/logging.h>` (replace `glog` with `GLog`) it will fix the build error. After fixing this you will get same kind of errors on a few other places.

[IOS] [BUGFIX] [Framework] - `GLog` fix on case sensitive APFS macOS
Closes https://github.com/facebook/react-native/pull/17697

Differential Revision: D6832740

Pulled By: shergin

fbshipit-source-id: 0c7a01f33fde35dbc8004c5bb6e5b22f8f0ea369
This commit is contained in:
hovox 2018-01-28 22:12:19 -08:00 committed by Facebook Github Bot
parent be7037fd8e
commit 2fef1bafc8
3 changed files with 3 additions and 3 deletions

View File

@ -65,7 +65,7 @@ process() {
cd "$ROOT/third-party-podspecs" cd "$ROOT/third-party-podspecs"
push Folly.podspec push Folly.podspec
push DoubleConversion.podspec push DoubleConversion.podspec
push GLog.podspec push glog.podspec
process "$ROOT/ReactCommon/yoga" process "$ROOT/ReactCommon/yoga"
process "$ROOT" _ignore_me_subspec_for_linting_ process "$ROOT" _ignore_me_subspec_for_linting_

View File

@ -10,7 +10,7 @@ Pod::Spec.new do |spec|
spec.module_name = 'folly' spec.module_name = 'folly'
spec.dependency 'boost-for-react-native' spec.dependency 'boost-for-react-native'
spec.dependency 'DoubleConversion' spec.dependency 'DoubleConversion'
spec.dependency 'GLog' spec.dependency 'glog'
spec.compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1' spec.compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1'
spec.source_files = 'folly/Bits.cpp', spec.source_files = 'folly/Bits.cpp',
'folly/Conv.cpp', 'folly/Conv.cpp',

View File

@ -1,5 +1,5 @@
Pod::Spec.new do |spec| Pod::Spec.new do |spec|
spec.name = 'GLog' spec.name = 'glog'
spec.version = '0.3.4' spec.version = '0.3.4'
spec.license = { :type => 'Google', :file => 'COPYING' } spec.license = { :type => 'Google', :file => 'COPYING' }
spec.homepage = 'https://github.com/google/glog' spec.homepage = 'https://github.com/google/glog'