diff --git a/React/CoreModules/CoreModulesPlugins.h b/React/CoreModules/CoreModulesPlugins.h index c61c198167..87f945cbc1 100644 --- a/React/CoreModules/CoreModulesPlugins.h +++ b/React/CoreModules/CoreModulesPlugins.h @@ -3,6 +3,8 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by an internal plugin build system */ #ifdef RN_DISABLE_OSS_PLUGIN_HEADER @@ -12,7 +14,7 @@ #else -// OSS-compatibility layer: manually define these for github. +// OSS-compatibility layer #import @@ -26,8 +28,7 @@ extern "C" { // RCTTurboModuleManagerDelegate should call this to resolve module classes. Class RCTCoreModulesClassProvider(const char *name); -// NOTE: Sync these with FB internal version. - +// Lookup functions Class RCTPlatformCls(void); #ifdef __cplusplus diff --git a/React/CoreModules/CoreModulesPlugins.mm b/React/CoreModules/CoreModulesPlugins.mm index c6dce4cad9..02d5b7f152 100644 --- a/React/CoreModules/CoreModulesPlugins.mm +++ b/React/CoreModules/CoreModulesPlugins.mm @@ -3,12 +3,13 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by an internal plugin build system */ #ifndef RN_DISABLE_OSS_PLUGIN_HEADER -// OSS-compatibility layer: manually define these for github. -// TODO: This should be codegen'ed +// OSS-compatibility layer #import "CoreModulesPlugins.h" @@ -16,7 +17,6 @@ #import static std::unordered_map sCoreModuleClassMap = { - // NOTE: Sync these with FB internal plugin definitions. {"PlatformConstants", RCTPlatformCls}, };