folly refactorings to better support cross-platform
Summary:
I'm looking into pulling parts of folly (right now, dynamic,
json, and their dependencies) into fbandroid for use as part of xplat.
This diff includes a few kinds of changes: portability fixes for arm;
reduce the size of the code generated by moving non-templated
functions and methods into cpp files; refactoring header usages which
require extra compiler flags on android to cpp files; and slicing up
the libraries a bit differently to reduce dependencies. This should
all be backward-compatible, and do no harm to fbcode.
Test Plan: runtests, sandcastle
Reviewed By: njormrod@fb.com
Subscribers: darshan, davejwatson, tudorb, dancol, folly-diffs@, yfeldblum, chalfant
FB internal diff:
D2057797
Tasks:
7005344
Signature: t1:
2057797:
1432145435:
fa10f129fc669e682da5b4b207fc96986ca035fc