folly refactorings to better support cross-platform
authorMarc Horowitz <mhorowitz@fb.com>
Fri, 17 Apr 2015 01:03:39 +0000 (18:03 -0700)
committerwoo <woo@fb.com>
Tue, 26 May 2015 18:31:44 +0000 (11:31 -0700)
commit3b4d7b6a8e7c001af8ff7fc4a55229d58b2114db
tree37b6f8655a6000d45b733b55a703347112bc7c60
parentcaf6cdc0cba48d747b8fa9ff5e3e93d3504d2439
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
12 files changed:
folly/Conv.cpp
folly/Conv.h
folly/Format-inl.h
folly/Format.cpp
folly/Format.h
folly/Makefile.am
folly/Portability.h
folly/String.cpp
folly/String.h
folly/StringBase.cpp [new file with mode: 0644]
folly/dynamic-inl.h
folly/dynamic.cpp