Skip to content

Commit

Permalink
[Main][Windows] Working around Long paths limitation on Windows (#33707)
Browse files Browse the repository at this point in the history
Co-authored-by: Aleš Pergl <[email protected]>
Co-authored-by: Ales Pergl <[email protected]>
  • Loading branch information
3 people authored and cortinico committed May 11, 2022
1 parent a862d92 commit 7b76abc
Show file tree
Hide file tree
Showing 59 changed files with 73 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 := \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
1 change: 1 addition & 0 deletions ReactAndroid/src/main/jni/first-party/yogajni/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions ReactAndroid/src/main/jni/react/jni/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions ReactAndroid/src/main/jni/third-party/boost/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions ReactCommon/butter/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := butter

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_C_INCLUDES := $(LOCAL_PATH)/
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/
Expand Down
1 change: 1 addition & 0 deletions ReactCommon/cxxreact/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := reactnative

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
Expand Down
3 changes: 3 additions & 0 deletions ReactCommon/hermes/executor/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
Expand All @@ -30,6 +31,8 @@ else

LOCAL_C_INCLUDES := $(LOCAL_PATH) $(REACT_NATIVE)/ReactCommon/jsi
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_STATIC_LIBRARIES := libjsireact
LOCAL_SHARED_LIBRARIES := libhermes libjsi
Expand Down
1 change: 1 addition & 0 deletions ReactCommon/hermes/inspector/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := hermes-inspector

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp $(LOCAL_PATH)/detail/*.cpp $(LOCAL_PATH)/chrome/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_C_ROOT := $(LOCAL_PATH)/../..

Expand Down
2 changes: 2 additions & 0 deletions ReactCommon/jsi/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := jsi

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/jsi/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_C_INCLUDES := $(LOCAL_PATH)
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
Expand All @@ -25,6 +26,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := jscruntime

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_C_INCLUDES := $(LOCAL_PATH)
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
Expand Down
1 change: 1 addition & 0 deletions ReactCommon/jsiexecutor/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := jsireact

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/jsireact/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_C_INCLUDES := $(LOCAL_PATH)
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
Expand Down
1 change: 1 addition & 0 deletions ReactCommon/jsinspector/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := jsinspector

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
Expand Down
1 change: 1 addition & 0 deletions ReactCommon/logger/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := logger

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
Expand Down
1 change: 1 addition & 0 deletions ReactCommon/react/config/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := react_config

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_C_INCLUDES := $(LOCAL_PATH)
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../
Expand Down
1 change: 1 addition & 0 deletions ReactCommon/react/debug/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ LOCAL_MODULE := react_debug
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../

Expand Down
1 change: 1 addition & 0 deletions ReactCommon/react/nativemodule/core/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ LOCAL_MODULE := react_nativemodule_core
LOCAL_C_INCLUDES := $(LOCAL_PATH)/ReactCommon $(LOCAL_PATH)/platform/android/ReactCommon

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/ReactCommon/*.cpp) $(wildcard $(LOCAL_PATH)/platform/android/ReactCommon/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../ $(LOCAL_PATH) $(LOCAL_PATH)/platform/android/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := sampleturbomodule
LOCAL_C_INCLUDES := $(LOCAL_PATH)
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/ReactCommon/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
LOCAL_SHARED_LIBRARIES := \
libfbjni \
Expand Down
1 change: 1 addition & 0 deletions ReactCommon/react/renderer/animations/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := react_render_animations

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_C_INCLUDES := $(LOCAL_PATH)/
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
Expand Down
1 change: 1 addition & 0 deletions ReactCommon/react/renderer/attributedstring/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := react_render_attributedstring

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_C_INCLUDES := $(LOCAL_PATH)/
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
Expand Down
1 change: 1 addition & 0 deletions ReactCommon/react/renderer/componentregistry/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ LOCAL_MODULE := react_render_componentregistry
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ LOCAL_MODULE := rrc_native
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../

Expand Down
1 change: 1 addition & 0 deletions ReactCommon/react/renderer/components/image/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := rrc_image

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_C_INCLUDES := $(LOCAL_PATH)/
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../
Expand Down
1 change: 1 addition & 0 deletions ReactCommon/react/renderer/components/modal/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := rrc_modal

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_C_INCLUDES := $(LOCAL_PATH)/
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := rrc_progressbar

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/android/react/renderer/components/progressbar/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_C_INCLUDES := $(LOCAL_PATH)/android/
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/android/
Expand Down
1 change: 1 addition & 0 deletions ReactCommon/react/renderer/components/root/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := rrc_root

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_C_INCLUDES := $(LOCAL_PATH)/
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := rrc_scrollview

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_C_INCLUDES := $(LOCAL_PATH)/
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../
Expand Down
1 change: 1 addition & 0 deletions ReactCommon/react/renderer/components/slider/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := rrc_slider

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) $(wildcard $(LOCAL_PATH)/platform/android/react/renderer/components/slider/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_C_INCLUDES := $(LOCAL_PATH)/ $(LOCAL_PATH)/platform/android/
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../ $(LOCAL_PATH)/platform/android/
Expand Down
1 change: 1 addition & 0 deletions ReactCommon/react/renderer/components/switch/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := rrc_switch

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/androidswitch/react/renderer/components/androidswitch/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_C_INCLUDES := $(LOCAL_PATH)/androidswitch/
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/androidswitch/
Expand Down
1 change: 1 addition & 0 deletions ReactCommon/react/renderer/components/text/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := rrc_text

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_C_INCLUDES := $(LOCAL_PATH)/
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../
Expand Down
1 change: 1 addition & 0 deletions ReactCommon/react/renderer/components/textinput/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := rrc_textinput

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/androidtextinput/react/renderer/components/androidtextinput/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_C_INCLUDES := $(LOCAL_PATH)/androidtextinput/react/renderer/components/androidtextinput/
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/androidtextinput/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := rrc_unimplementedview

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_C_INCLUDES := $(LOCAL_PATH)/
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../
Expand Down
1 change: 1 addition & 0 deletions ReactCommon/react/renderer/components/view/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := rrc_view

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../
Expand Down
1 change: 1 addition & 0 deletions ReactCommon/react/renderer/core/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ LOCAL_MODULE := react_render_core
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../

Expand Down
1 change: 1 addition & 0 deletions ReactCommon/react/renderer/debug/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ LOCAL_MODULE := react_render_debug
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../

Expand Down
1 change: 1 addition & 0 deletions ReactCommon/react/renderer/graphics/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := react_render_graphics

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp $(LOCAL_PATH)/platform/cxx/react/renderer/graphics/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_SHARED_LIBRARIES := \
glog \
Expand Down
1 change: 1 addition & 0 deletions ReactCommon/react/renderer/imagemanager/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := react_render_imagemanager

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp $(LOCAL_PATH)/platform/cxx/react/renderer/imagemanager/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_SHARED_LIBRARIES := \
libfolly_runtime \
Expand Down
1 change: 1 addition & 0 deletions ReactCommon/react/renderer/leakchecker/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ LOCAL_MODULE := react_render_leakchecker
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../

LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES))

LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../

Expand Down
Loading

0 comments on commit 7b76abc

Please sign in to comment.