Add a way to selectively enable TurboModules

Summary:
Added a flag that checks if TurboModules are enabled, don't expose them to JS via the old module system.
All TurboModules needs to implement TurboModule interface.

Reviewed By: mdvacca

Differential Revision: D13648332

fbshipit-source-id: f22506fe029ac82d56075f5b6962ff2df2e7eaa4
This commit is contained in:
Ram N authored and Facebook Github Bot committed 2019-01-16 19:24:42 -08:00
1 parent c93edb5ffd
commit aa19fa02e9
8 files changed
+58 -4

No files matched your search

@@ -37,6 +37,7 @@ rn_android_library(
react_native_target("java/com/facebook/react/uimanager:uimanager"),
react_native_target("java/com/facebook/react/module/annotations:annotations"),
react_native_target("java/com/facebook/react/views/imagehelper:imagehelper"),
react_native_target("java/com/facebook/react/config:config"),
],
exported_deps = [
react_native_target("java/com/facebook/react/packagerconnection:packagerconnection"),