mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Extend react/renderer/componentregistry module to compile in OSS
Summary: This diff extends react/renderer/componentregistry module to compile in OSS changelog: [internal] internal Reviewed By: fkgozali Differential Revision: D22908223 fbshipit-source-id: 6cc053262fbe2bb0f631ac40cd57959267ae95fa
This commit is contained in:
committed by
Facebook GitHub Bot
parent
cd372b1b06
commit
d2bb73d568
@@ -22,7 +22,7 @@ LOCAL_CFLAGS += -fexceptions -frtti -Wno-unused-lambda-capture
|
||||
LOCAL_LDLIBS += -landroid
|
||||
|
||||
# The dynamic libraries (.so files) that this module depends on.
|
||||
LOCAL_SHARED_LIBRARIES := libfolly_json libfb libfbjni libglog_init libyoga libreact_utils libreact_render_debug libreact_render_graphics libreact_render_core libreact_render_mapbuffer
|
||||
LOCAL_SHARED_LIBRARIES := libfolly_json libfb libfbjni libglog_init libyoga libreact_utils libreact_render_debug libreact_render_graphics libreact_render_core libreact_render_mapbuffer react_render_componentregistry
|
||||
|
||||
# The static libraries (.a files) that this module depends on.
|
||||
LOCAL_STATIC_LIBRARIES := libreactnative libcallinvokerholder libruntimeexecutor
|
||||
@@ -75,6 +75,7 @@ $(call import-module,runtimeexecutor)
|
||||
|
||||
# Fabric:
|
||||
$(call import-module,react/utils)
|
||||
$(call import-module,react/renderer/componentregistry)
|
||||
$(call import-module,react/renderer/core)
|
||||
$(call import-module,react/renderer/debug)
|
||||
$(call import-module,react/renderer/graphics)
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
# Copyright (c) Facebook, Inc. and its affiliates.
|
||||
#
|
||||
# This source code is licensed under the MIT license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := react_render_componentregistry
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libjsi libfolly_futures libfolly_json libreact_render_core libreact_render_debug libreact_utils libglog_init
|
||||
|
||||
LOCAL_CFLAGS := \
|
||||
-DLOG_TAG=\"Fabric\"
|
||||
|
||||
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
$(call import-module,fbgloginit)
|
||||
$(call import-module,folly)
|
||||
$(call import-module,jsi)
|
||||
$(call import-module,react/renderer/core)
|
||||
$(call import-module,react/renderer/debug)
|
||||
$(call import-module,react/utils)
|
||||
Reference in New Issue
Block a user