mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
[Main][Windows] Working around Long paths limitation on Windows (#33707)
Co-authored-by: Aleš Pergl <alespergl@users.noreply.github.com> Co-authored-by: Ales Pergl <alpergl@microsoft.com>
This commit is contained in:
co-authored by
Aleš Pergl
Ales Pergl
parent
a862d9294b
commit
7b76abc0d3
@@ -12,6 +12,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := jsijniprofiler
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(REACT_NATIVE)/ReactCommon/jsi
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ ifeq ($(APP_OPTIM),debug)
|
||||
LOCAL_CFLAGS := -DHERMES_ENABLE_DEBUGGER=1
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(REACT_NATIVE)/ReactCommon/jsi
|
||||
|
||||
@@ -38,6 +39,8 @@ else
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(REACT_NATIVE)/ReactCommon/jsi
|
||||
|
||||
LOCAL_CPP_FEATURES := exceptions
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := libjsireact libhermes-executor-common-release
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := mapbufferjni
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/react/common/mapbuffer/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libfb \
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := fabricjni
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libbutter \
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := jscexecutor
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := reactnativeblob
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@ LOCAL_MODULE := reactperfloggerjni
|
||||
|
||||
# Compile all local c++ files
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/reactperflogger/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
# Build the files in this directory as a shared library
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
@@ -28,6 +28,7 @@ LOCAL_MODULE := callinvokerholder
|
||||
|
||||
# Compile all local c++ files
|
||||
LOCAL_SRC_FILES := $(LOCAL_PATH)/ReactCommon/CallInvokerHolder.cpp
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
# Build the files in this directory as a shared library
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
@@ -56,6 +57,7 @@ LOCAL_STATIC_LIBRARIES = libcallinvokerholder libreactperfloggerjni
|
||||
|
||||
# Compile all local c++ files
|
||||
LOCAL_SRC_FILES := $(LOCAL_PATH)/ReactCommon/TurboModuleManager.cpp $(LOCAL_PATH)/ReactCommon/OnLoad.cpp
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
# Build the files in this directory as a shared library
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := uimanagerjni
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libfb \
|
||||
|
||||
@@ -10,6 +10,7 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := yoga
|
||||
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/jni/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/jni
|
||||
|
||||
|
||||
@@ -47,6 +47,7 @@ LOCAL_MODULE := reactnativeutilsjni
|
||||
|
||||
# Compile all local c++ files.
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
ifeq ($(APP_OPTIM),debug)
|
||||
# Keep symbols by overriding the strip command invoked by ndk-build.
|
||||
@@ -106,6 +107,7 @@ LOCAL_MODULE := reactnativejni
|
||||
|
||||
# Compile all local c++ files.
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
ifeq ($(APP_OPTIM),debug)
|
||||
# Keep symbols by overriding the strip command invoked by ndk-build.
|
||||
|
||||
@@ -5,6 +5,7 @@ include $(CLEAR_VARS)
|
||||
# because the react native version does not include anything outside of headers.
|
||||
# They are required for Folly futures to compile successfully.
|
||||
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/asm/$(TARGET_ARCH_ABI)/*.S)
|
||||
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/boost_1_76_0
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/boost_1_76_0
|
||||
|
||||
Reference in New Issue
Block a user