react-native/React
rh389 6e216d2034 Include CSSLayout.h consistently with other project includes
Summary:
Include CSSLayout headers in the same way as other project headers, ie `#import <CSSLayout/CSSLayout.h>` becomes `#import "CSSLayout.h"`. CSSLayout is not a framework or system dependency, so shouldn't (AFAIK) be included with angle brackets. Doing so breaks framework builds, such as when RN is used as a pod in a swift project.

In combination with https://github.com/facebook/css-layout/pull/217 this fixes https://github.com/facebook/react-native/issues/9014 (specifically swift cocoapods projects). There is then no need for a separate CSSLayout pod subspec.

Tests run on the RN project in isolation (with changes inside `CSSLayout` itself also applied) and against a dummy swift project with RN included as a pod.

NB: This effectively reverts https://github.com/facebook/react-native/pull/9015 and may break non-swift cocoapods projects unless https://github.com/facebook/css-layout/pull/217 is merged and synced first.

Update: As discussed with alloy and emilsjolander, wrap these imports in a preprocess
Closes https://github.com/facebook/react-native/pull/9544

Differential Revision: D3821791

Pulled By: javache

fbshipit-source-id: d27ac8be9ce560d03479b43d3db740cd196c24da
2016-09-06 09:13:39 -07:00
..
Base Include CSSLayout.h consistently with other project includes 2016-09-06 09:13:39 -07:00
CSSLayout Fix sizing of absolutely positioned nodes inside overflow:hidden parent 2016-08-31 08:13:41 -07:00
Executors Remove last arg from RCTProfileEnd, make macro's function-like 2016-09-05 11:13:33 -07:00
Modules Include CSSLayout.h consistently with other project includes 2016-09-06 09:13:39 -07:00
Profiler Remove last arg from RCTProfileEnd, make macro's function-like 2016-09-05 11:13:33 -07:00
React.xcodeproj Fix some unsafe thread behavior 2016-09-01 19:58:58 -07:00
Views Include CSSLayout.h consistently with other project includes 2016-09-06 09:13:39 -07:00