Fabric: Debug Pretty-printing is now debug only feature

Summary: That should save us some app size kilobytes.

Reviewed By: mdvacca

Differential Revision: D10081499

fbshipit-source-id: 2b950768c609b412f9be332c22b6b1e96657e5ea
This commit is contained in:
Valentin Shergin authored and Facebook Github Bot committed 2018-09-28 10:32:06 -07:00
1 parent 02ad56f541
commit e3b61f53bd
39 files changed
+102 -31

No files matched your search

@@ -10,6 +10,8 @@
namespace facebook {
namespace react {
#if RN_DEBUG_STRING_CONVERTIBLE
std::string DebugStringConvertible::getDebugChildrenDescription(DebugStringConvertibleOptions options, int depth) const {
if (depth >= options.maximumDepth) {
return "";
@@ -86,5 +88,7 @@ SharedDebugStringConvertibleList DebugStringConvertible::getDebugProps() const {
return SharedDebugStringConvertibleList();
}
#endif
} // namespace react
} // namespace facebook