Add portability headers for GTest and GMock
authorChristopher Dykes <cdykes@fb.com>
Sat, 10 Sep 2016 00:43:59 +0000 (17:43 -0700)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Sat, 10 Sep 2016 00:56:01 +0000 (17:56 -0700)
commitaf5dbcc3755d005cdee04a376a11118935f3f579
treeaca1d3eac0c2ae5bc00a9e22c787575f572e8a7a
parentdbd70eed51804682cf2d6875bcbe580771688588
Add portability headers for GTest and GMock

Summary:
Both the gtest and gmock headers include `<io.h>` on Windows, which conflicts with how the portability headers include it, so a specific include order is required before either of those headers can be included. As that's brittle and messy, create a pair of portability headers for them instead, so that those can be included instead.

This only adds the headers. The switch to using them will be done in a later pair of diffs.

Reviewed By: mzlee

Differential Revision: D3837221

fbshipit-source-id: 82a273485cdd4536f1153d958c171bfe3ec32e0b
folly/Makefile.am
folly/portability/GMock.h [new file with mode: 0755]
folly/portability/GTest.h [new file with mode: 0755]