mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Integrate Image Fabric component into OSS
Summary: This diff integrates image Fabric component into RN Tester app changelog: [internal] internal Reviewed By: fkgozali Differential Revision: D23177896 fbshipit-source-id: 008e86e82a262827a31b9df74a50b58a97f2e1b7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
50af304b3f
commit
2e88b25242
@@ -11,7 +11,7 @@ LOCAL_MODULE := fabricjni
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libreactconfig libyoga libglog libfb libfbjni libglog_init libfolly_json libfolly_futures libreact_render_mounting libreactnativeutilsjni libreact_utils libreact_render_debug libreact_render_graphics libreact_render_core libreact_render_mapbuffer react_render_componentregistry libreact_render_components_view libreact_render_components_unimplementedview libreact_render_components_root libreact_render_components_scrollview libbetter libreact_render_attributedstring libreact_render_uimanager libreact_render_templateprocessor libreact_render_scheduler libreact_render_animations libreact_render_imagemanager libreact_render_textlayoutmanager libreact_render_viewmanagers react_render_components_text
|
||||
LOCAL_SHARED_LIBRARIES := libreactconfig libyoga libglog libfb libfbjni libglog_init libfolly_json libfolly_futures libreact_render_mounting libreactnativeutilsjni libreact_utils libreact_render_debug libreact_render_graphics libreact_render_core libreact_render_mapbuffer react_render_componentregistry libreact_render_components_view libreact_render_components_unimplementedview libreact_render_components_root libreact_render_components_scrollview libbetter libreact_render_attributedstring libreact_render_uimanager libreact_render_templateprocessor libreact_render_scheduler libreact_render_animations libreact_render_imagemanager libreact_render_textlayoutmanager libreact_render_viewmanagers react_render_components_text libreact_render_components_image
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
@@ -39,6 +39,7 @@ $(call import-module,react/renderer/animations)
|
||||
$(call import-module,react/renderer/attributedstring)
|
||||
$(call import-module,react/renderer/componentregistry)
|
||||
$(call import-module,react/renderer/core)
|
||||
$(call import-module,react/renderer/components/image)
|
||||
$(call import-module,react/renderer/components/root)
|
||||
$(call import-module,react/renderer/components/scrollview)
|
||||
$(call import-module,react/renderer/components/unimplementedview)
|
||||
|
||||
@@ -45,6 +45,7 @@ rn_xplat_cxx_library(
|
||||
# TODO T71316899: Extract CoreComponentsRegistry out of this module
|
||||
# The following dependencies are required by CoreComponentsRegistry
|
||||
"//xplat/js/react-native-github:generated_components-rncore",
|
||||
react_native_xplat_target("react/renderer/components/image:image"),
|
||||
react_native_xplat_target("react/renderer/components/text:text"),
|
||||
],
|
||||
)
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <fbjni/fbjni.h>
|
||||
|
||||
#include <react/renderer/componentregistry/ComponentDescriptorRegistry.h>
|
||||
#include <react/renderer/components/image/ImageComponentDescriptor.h>
|
||||
#include <react/renderer/components/rncore/ComponentDescriptors.h>
|
||||
#include <react/renderer/components/text/ParagraphComponentDescriptor.h>
|
||||
#include <react/renderer/components/text/RawTextComponentDescriptor.h>
|
||||
@@ -33,6 +34,8 @@ CoreComponentsRegistry::sharedProviderRegistry() {
|
||||
|
||||
providerRegistry->add(
|
||||
concreteComponentDescriptorProvider<ViewComponentDescriptor>());
|
||||
providerRegistry->add(
|
||||
concreteComponentDescriptorProvider<ImageComponentDescriptor>());
|
||||
providerRegistry->add(
|
||||
concreteComponentDescriptorProvider<TextComponentDescriptor>());
|
||||
providerRegistry->add(
|
||||
|
||||
Reference in New Issue
Block a user