From 26a54169f2d1b954b1bb5b0232d7bdb16493fe5d Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Wed, 25 May 2022 07:54:06 -0700 Subject: [PATCH] Remove unused Makefiles from React Native core Summary: This diff cleans up several Android Makefiles which we're not using anymore as they've been replaced by CMake files. There are still 3 Makefiles left, which I'm aiming to remove in the near future. Changelog: [Internal] [Changed] - Remove unused Makefiles from React Native core Reviewed By: javache Differential Revision: D36660902 fbshipit-source-id: 8afffac74d493616b0f9414567821cd69f4ef803 --- .../hermes/instrumentation/Android.mk | 30 --- .../facebook/hermes/reactexecutor/Android.mk | 52 ------ .../react/common/mapbuffer/jni/Android.mk | 49 ----- .../com/facebook/react/fabric/jni/Android.mk | 105 ----------- .../com/facebook/react/jscexecutor/Android.mk | 26 --- .../react/modules/blob/jni/Android.mk | 26 --- .../react/reactperflogger/jni/Android.mk | 32 ---- .../react/turbomodule/core/jni/Android.mk | 64 ------- .../facebook/react/uimanager/jni/Android.mk | 45 ----- ReactAndroid/src/main/jni/Application.mk | 34 ---- .../src/main/jni/first-party/fb/Android.mk | 30 --- .../jni/first-party/fbgloginit/Android.mk | 23 --- .../main/jni/first-party/yogajni/Android.mk | 26 --- .../src/main/jni/react/jni/Android.mk | 176 ------------------ .../src/main/jni/third-party/boost/Android.mk | 15 -- .../third-party/double-conversion/Android.mk | 22 --- .../src/main/jni/third-party/fmt/Android.mk | 15 -- .../src/main/jni/third-party/folly/Android.mk | 128 ------------- .../src/main/jni/third-party/glog/Android.mk | 32 ---- .../src/main/jni/third-party/jsc/Android.mk | 6 - .../main/jni/third-party/libevent/Android.mk | 36 ---- ReactCommon/butter/Android.mk | 27 --- ReactCommon/callinvoker/Android.mk | 25 --- ReactCommon/cxxreact/Android.mk | 50 ----- ReactCommon/hermes/executor/Android.mk | 40 ---- ReactCommon/hermes/inspector/Android.mk | 35 ---- ReactCommon/jsi/Android.mk | 39 ---- ReactCommon/jsiexecutor/Android.mk | 22 --- ReactCommon/jsinspector/Android.mk | 19 -- ReactCommon/logger/Android.mk | 24 --- ReactCommon/react/bridging/Android.mk | 27 --- ReactCommon/react/config/Android.mk | 26 --- ReactCommon/react/debug/Android.mk | 30 --- .../react/nativemodule/core/Android.mk | 40 ---- .../react/renderer/animations/Android.mk | 58 ------ .../renderer/attributedstring/Android.mk | 53 ------ .../renderer/componentregistry/Android.mk | 42 ----- .../componentregistry/native/Android.mk | 37 ---- .../renderer/components/image/Android.mk | 51 ----- .../renderer/components/modal/Android.mk | 55 ------ .../components/progressbar/Android.mk | 53 ------ .../react/renderer/components/root/Android.mk | 46 ----- .../renderer/components/scrollview/Android.mk | 49 ----- .../renderer/components/slider/Android.mk | 59 ------ .../renderer/components/switch/Android.mk | 53 ------ .../react/renderer/components/text/Android.mk | 59 ------ .../renderer/components/textinput/Android.mk | 67 ------- .../components/unimplementedview/Android.mk | 47 ----- .../react/renderer/components/view/Android.mk | 47 ----- ReactCommon/react/renderer/core/Android.mk | 41 ---- ReactCommon/react/renderer/debug/Android.mk | 28 --- .../react/renderer/graphics/Android.mk | 39 ---- .../react/renderer/imagemanager/Android.mk | 44 ----- .../react/renderer/leakchecker/Android.mk | 33 ---- .../react/renderer/mapbuffer/Android.mk | 34 ---- .../react/renderer/mounting/Android.mk | 55 ------ .../renderer/runtimescheduler/Android.mk | 34 ---- .../react/renderer/scheduler/Android.mk | 62 ------ .../react/renderer/telemetry/Android.mk | 43 ----- .../renderer/templateprocessor/Android.mk | 46 ----- .../renderer/textlayoutmanager/Android.mk | 63 ------- .../react/renderer/uimanager/Android.mk | 58 ------ ReactCommon/react/utils/Android.mk | 33 ---- ReactCommon/reactperflogger/Android.mk | 26 --- ReactCommon/runtimeexecutor/Android.mk | 19 -- ReactCommon/yoga/Android.mk | 20 -- 66 files changed, 2830 deletions(-) delete mode 100644 ReactAndroid/src/main/java/com/facebook/hermes/instrumentation/Android.mk delete mode 100644 ReactAndroid/src/main/java/com/facebook/hermes/reactexecutor/Android.mk delete mode 100644 ReactAndroid/src/main/java/com/facebook/react/common/mapbuffer/jni/Android.mk delete mode 100644 ReactAndroid/src/main/java/com/facebook/react/fabric/jni/Android.mk delete mode 100644 ReactAndroid/src/main/java/com/facebook/react/jscexecutor/Android.mk delete mode 100644 ReactAndroid/src/main/java/com/facebook/react/modules/blob/jni/Android.mk delete mode 100644 ReactAndroid/src/main/java/com/facebook/react/reactperflogger/jni/Android.mk delete mode 100644 ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/jni/Android.mk delete mode 100644 ReactAndroid/src/main/java/com/facebook/react/uimanager/jni/Android.mk delete mode 100644 ReactAndroid/src/main/jni/Application.mk delete mode 100644 ReactAndroid/src/main/jni/first-party/fb/Android.mk delete mode 100644 ReactAndroid/src/main/jni/first-party/fbgloginit/Android.mk delete mode 100644 ReactAndroid/src/main/jni/first-party/yogajni/Android.mk delete mode 100644 ReactAndroid/src/main/jni/react/jni/Android.mk delete mode 100644 ReactAndroid/src/main/jni/third-party/boost/Android.mk delete mode 100644 ReactAndroid/src/main/jni/third-party/double-conversion/Android.mk delete mode 100644 ReactAndroid/src/main/jni/third-party/fmt/Android.mk delete mode 100644 ReactAndroid/src/main/jni/third-party/folly/Android.mk delete mode 100644 ReactAndroid/src/main/jni/third-party/glog/Android.mk delete mode 100644 ReactAndroid/src/main/jni/third-party/jsc/Android.mk delete mode 100644 ReactAndroid/src/main/jni/third-party/libevent/Android.mk delete mode 100644 ReactCommon/butter/Android.mk delete mode 100644 ReactCommon/callinvoker/Android.mk delete mode 100644 ReactCommon/cxxreact/Android.mk delete mode 100644 ReactCommon/hermes/executor/Android.mk delete mode 100644 ReactCommon/hermes/inspector/Android.mk delete mode 100644 ReactCommon/jsi/Android.mk delete mode 100644 ReactCommon/jsiexecutor/Android.mk delete mode 100644 ReactCommon/jsinspector/Android.mk delete mode 100644 ReactCommon/logger/Android.mk delete mode 100644 ReactCommon/react/bridging/Android.mk delete mode 100644 ReactCommon/react/config/Android.mk delete mode 100644 ReactCommon/react/debug/Android.mk delete mode 100644 ReactCommon/react/nativemodule/core/Android.mk delete mode 100644 ReactCommon/react/renderer/animations/Android.mk delete mode 100644 ReactCommon/react/renderer/attributedstring/Android.mk delete mode 100644 ReactCommon/react/renderer/componentregistry/Android.mk delete mode 100644 ReactCommon/react/renderer/componentregistry/native/Android.mk delete mode 100644 ReactCommon/react/renderer/components/image/Android.mk delete mode 100644 ReactCommon/react/renderer/components/modal/Android.mk delete mode 100644 ReactCommon/react/renderer/components/progressbar/Android.mk delete mode 100644 ReactCommon/react/renderer/components/root/Android.mk delete mode 100644 ReactCommon/react/renderer/components/scrollview/Android.mk delete mode 100644 ReactCommon/react/renderer/components/slider/Android.mk delete mode 100644 ReactCommon/react/renderer/components/switch/Android.mk delete mode 100644 ReactCommon/react/renderer/components/text/Android.mk delete mode 100644 ReactCommon/react/renderer/components/textinput/Android.mk delete mode 100644 ReactCommon/react/renderer/components/unimplementedview/Android.mk delete mode 100644 ReactCommon/react/renderer/components/view/Android.mk delete mode 100644 ReactCommon/react/renderer/core/Android.mk delete mode 100644 ReactCommon/react/renderer/debug/Android.mk delete mode 100644 ReactCommon/react/renderer/graphics/Android.mk delete mode 100644 ReactCommon/react/renderer/imagemanager/Android.mk delete mode 100644 ReactCommon/react/renderer/leakchecker/Android.mk delete mode 100644 ReactCommon/react/renderer/mapbuffer/Android.mk delete mode 100644 ReactCommon/react/renderer/mounting/Android.mk delete mode 100644 ReactCommon/react/renderer/runtimescheduler/Android.mk delete mode 100644 ReactCommon/react/renderer/scheduler/Android.mk delete mode 100644 ReactCommon/react/renderer/telemetry/Android.mk delete mode 100644 ReactCommon/react/renderer/templateprocessor/Android.mk delete mode 100644 ReactCommon/react/renderer/textlayoutmanager/Android.mk delete mode 100644 ReactCommon/react/renderer/uimanager/Android.mk delete mode 100644 ReactCommon/react/utils/Android.mk delete mode 100644 ReactCommon/reactperflogger/Android.mk delete mode 100644 ReactCommon/runtimeexecutor/Android.mk delete mode 100644 ReactCommon/yoga/Android.mk diff --git a/ReactAndroid/src/main/java/com/facebook/hermes/instrumentation/Android.mk b/ReactAndroid/src/main/java/com/facebook/hermes/instrumentation/Android.mk deleted file mode 100644 index 32f5844a453457..00000000000000 --- a/ReactAndroid/src/main/java/com/facebook/hermes/instrumentation/Android.mk +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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) -REACT_NATIVE := $(LOCAL_PATH)/../../../../../../../.. - -include $(CLEAR_VARS) - -LOCAL_MODULE := jsijniprofiler - -LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) - -LOCAL_C_INCLUDES := $(LOCAL_PATH) $(REACT_NATIVE)/ReactCommon/jsi - -LOCAL_CPP_FEATURES := exceptions - -LOCAL_STATIC_LIBRARIES := libjsireact -LOCAL_SHARED_LIBRARIES := \ - libfb \ - libfbjni \ - libfolly_runtime \ - libhermes \ - libjsi \ - libreactnativejni - -include $(BUILD_SHARED_LIBRARY) - diff --git a/ReactAndroid/src/main/java/com/facebook/hermes/reactexecutor/Android.mk b/ReactAndroid/src/main/java/com/facebook/hermes/reactexecutor/Android.mk deleted file mode 100644 index be0d150037e2fc..00000000000000 --- a/ReactAndroid/src/main/java/com/facebook/hermes/reactexecutor/Android.mk +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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) -REACT_NATIVE := $(LOCAL_PATH)/../../../../../../../.. - -ifeq ($(APP_OPTIM),debug) - include $(CLEAR_VARS) - - LOCAL_MODULE := hermes-executor-debug - LOCAL_CFLAGS := -DHERMES_ENABLE_DEBUGGER=1 - - LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) - - LOCAL_C_INCLUDES := $(LOCAL_PATH) $(REACT_NATIVE)/ReactCommon/jsi - - LOCAL_CPP_FEATURES := exceptions - - LOCAL_STATIC_LIBRARIES := libjsireact libhermes-executor-common-debug - LOCAL_SHARED_LIBRARIES := \ - libfb \ - libfbjni \ - libfolly_runtime \ - libhermes \ - libjsi \ - libreactnativejni - - include $(BUILD_SHARED_LIBRARY) -else - include $(CLEAR_VARS) - - LOCAL_MODULE := hermes-executor-release - - LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) - - LOCAL_C_INCLUDES := $(LOCAL_PATH) $(REACT_NATIVE)/ReactCommon/jsi - - LOCAL_CPP_FEATURES := exceptions - - LOCAL_STATIC_LIBRARIES := libjsireact libhermes-executor-common-release - LOCAL_SHARED_LIBRARIES := \ - libfb \ - libfbjni \ - libfolly_runtime \ - libhermes \ - libjsi \ - libreactnativejni - - include $(BUILD_SHARED_LIBRARY) -endif diff --git a/ReactAndroid/src/main/java/com/facebook/react/common/mapbuffer/jni/Android.mk b/ReactAndroid/src/main/java/com/facebook/react/common/mapbuffer/jni/Android.mk deleted file mode 100644 index 48f83b0da7dbf3..00000000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/common/mapbuffer/jni/Android.mk +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := mapbufferjni - -LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/react/common/mapbuffer/*.cpp) -LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES)) - -LOCAL_SHARED_LIBRARIES := \ - libfb \ - libfbjni \ - libglog \ - libglog_init \ - libreact_debug \ - libreact_render_mapbuffer \ - libreact_utils \ - libreact_config \ - libyoga - -LOCAL_STATIC_LIBRARIES := - -LOCAL_C_INCLUDES := $(LOCAL_PATH)/ - -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,fbgloginit) -$(call import-module,folly) -$(call import-module,fb) -$(call import-module,fbjni) -$(call import-module,yogajni) -$(call import-module,glog) - -$(call import-module,react/utils) -$(call import-module,react/debug) -$(call import-module,react/config) -$(call import-module,react/renderer/mapbuffer) diff --git a/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/Android.mk b/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/Android.mk deleted file mode 100644 index a32e9e10d1d5b8..00000000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/Android.mk +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := fabricjni - -LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) -LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES)) - -LOCAL_SHARED_LIBRARIES := \ - libbutter \ - libfb \ - libfbjni \ - libfolly_runtime \ - libglog \ - libglog_init \ - libjsi \ - libmapbufferjni \ - libreact_codegen_rncore \ - libreact_debug \ - libreact_render_animations \ - libreact_render_attributedstring \ - libreact_render_core \ - libreact_render_debug \ - libreact_render_graphics \ - libreact_render_imagemanager \ - libreact_render_mapbuffer \ - libreact_render_mounting \ - libreact_render_runtimescheduler \ - libreact_render_scheduler \ - libreact_render_telemetry \ - libreact_render_templateprocessor \ - libreact_render_textlayoutmanager \ - libreact_render_uimanager \ - libreact_utils \ - libreact_config \ - libreactnativeutilsjni \ - librrc_image \ - librrc_root \ - librrc_unimplementedview \ - librrc_view \ - libyoga \ - react_render_componentregistry \ - rrc_text - -LOCAL_STATIC_LIBRARIES := \ - librrc_slider \ - librrc_progressbar \ - librrc_switch \ - librrc_modal \ - librrc_scrollview \ - librrc_textinput - -LOCAL_C_INCLUDES := $(LOCAL_PATH)/ - -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,fbgloginit) -$(call import-module,folly) -$(call import-module,fb) -$(call import-module,fbjni) -$(call import-module,yogajni) -$(call import-module,glog) - -$(call import-module,react/utils) -$(call import-module,react/debug) -$(call import-module,react/config) -$(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/modal) -$(call import-module,react/renderer/components/root) -$(call import-module,react/renderer/components/progressbar) -$(call import-module,react/renderer/components/scrollview) -$(call import-module,react/renderer/components/slider) -$(call import-module,react/renderer/components/switch) -$(call import-module,react/renderer/components/text) -$(call import-module,react/renderer/components/textinput) -$(call import-module,react/renderer/components/unimplementedview) -$(call import-module,react/renderer/components/view) -$(call import-module,react/renderer/debug) -$(call import-module,react/renderer/graphics) -$(call import-module,react/renderer/imagemanager) -$(call import-module,react/renderer/mapbuffer) -$(call import-module,react/renderer/mounting) -$(call import-module,react/renderer/runtimescheduler) -$(call import-module,react/renderer/scheduler) -$(call import-module,react/renderer/templateprocessor) -$(call import-module,react/renderer/textlayoutmanager) -$(call import-module,react/renderer/uimanager) -$(call import-module,react/renderer/telemetry) diff --git a/ReactAndroid/src/main/java/com/facebook/react/jscexecutor/Android.mk b/ReactAndroid/src/main/java/com/facebook/react/jscexecutor/Android.mk deleted file mode 100644 index bb426b20829231..00000000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/jscexecutor/Android.mk +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := jscexecutor - -LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) - -LOCAL_C_INCLUDES := $(LOCAL_PATH) - -LOCAL_CFLAGS += -fvisibility=hidden -fexceptions -frtti - -LOCAL_STATIC_LIBRARIES := libjsireact jscruntime -LOCAL_SHARED_LIBRARIES := \ - libfb \ - libfbjni \ - libfolly_runtime \ - libjsi \ - libreactnativejni - -include $(BUILD_SHARED_LIBRARY) diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/blob/jni/Android.mk b/ReactAndroid/src/main/java/com/facebook/react/modules/blob/jni/Android.mk deleted file mode 100644 index df00d67b191aa1..00000000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/blob/jni/Android.mk +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := reactnativeblob - -LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) - -LOCAL_C_INCLUDES := $(LOCAL_PATH) - -LOCAL_CFLAGS += -fvisibility=hidden -fexceptions -frtti - -LOCAL_STATIC_LIBRARIES := libjsireact -LOCAL_SHARED_LIBRARIES := \ - libfb \ - libfbjni \ - libfolly_runtime \ - libjsi \ - libreactnativejni - -include $(BUILD_SHARED_LIBRARY) diff --git a/ReactAndroid/src/main/java/com/facebook/react/reactperflogger/jni/Android.mk b/ReactAndroid/src/main/java/com/facebook/react/reactperflogger/jni/Android.mk deleted file mode 100644 index 04ab85dc02546d..00000000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/reactperflogger/jni/Android.mk +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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) - -# Header search path for all source files in this module. -LOCAL_C_INCLUDES := $(LOCAL_PATH)/reactperflogger - -# Header search path for modules that depend on this module -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_LDLIBS += -landroid - -LOCAL_STATIC_LIBRARIES = libreactperflogger - -LOCAL_SHARED_LIBRARIES = libfb libfbjni - -# Name of this module. -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) diff --git a/ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/jni/Android.mk b/ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/jni/Android.mk deleted file mode 100644 index 1fd20f0bdc8a40..00000000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/jni/Android.mk +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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) - -######################### -### callinvokerholder ### -######################### - -include $(CLEAR_VARS) - -# Header search path for all source files in this module. -LOCAL_C_INCLUDES := $(LOCAL_PATH)/ReactCommon - -# Header search path for modules that depend on this module -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_SHARED_LIBRARIES = libfb libfbjni libreactnativeutilsjni libruntimeexecutor - -LOCAL_STATIC_LIBRARIES = libcallinvoker libreactperfloggerjni - -# Name of this module. -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) - -################################## -### react_nativemodule_manager ### -################################## - -include $(CLEAR_VARS) - -# Name of this module. -# TODO: rename to react_nativemodule_manager -LOCAL_MODULE := turbomodulejsijni - -# Header search path for all source files in this module. -LOCAL_C_INCLUDES := $(LOCAL_PATH)/ReactCommon - -# Header search path for modules that depend on this module -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_SHARED_LIBRARIES = libfb libfbjni libreact_nativemodule_core libjsi - -LOCAL_STATIC_LIBRARIES = libcallinvokerholder libreactperfloggerjni - -# Compile all local c++ files -LOCAL_SRC_FILES := $(LOCAL_PATH)/ReactCommon/CompositeTurboModuleManagerDelegate.cpp $(LOCAL_PATH)/ReactCommon/OnLoad.cpp $(LOCAL_PATH)/ReactCommon/TurboModuleManager.cpp -LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES)) - - -# Build the files in this directory as a shared library -include $(BUILD_SHARED_LIBRARY) diff --git a/ReactAndroid/src/main/java/com/facebook/react/uimanager/jni/Android.mk b/ReactAndroid/src/main/java/com/facebook/react/uimanager/jni/Android.mk deleted file mode 100644 index 109b4a917cffbf..00000000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/uimanager/jni/Android.mk +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := uimanagerjni - -LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) -LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES)) - -LOCAL_SHARED_LIBRARIES := \ - libfb \ - libfbjni \ - libglog \ - libglog_init \ - librrc_native \ - libyoga \ - react_render_componentregistry - -LOCAL_STATIC_LIBRARIES := - -LOCAL_C_INCLUDES := $(LOCAL_PATH)/ - -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"ReacTNative\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,fbgloginit) -$(call import-module,folly) -$(call import-module,fb) -$(call import-module,fbjni) -$(call import-module,yogajni) -$(call import-module,glog) - -$(call import-module,react/renderer/componentregistry) -$(call import-module,react/renderer/componentregistry/native) diff --git a/ReactAndroid/src/main/jni/Application.mk b/ReactAndroid/src/main/jni/Application.mk deleted file mode 100644 index 40ff08e84acbe2..00000000000000 --- a/ReactAndroid/src/main/jni/Application.mk +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -APP_BUILD_SCRIPT := Android.mk - -APP_ABI := armeabi-v7a x86 arm64-v8a x86_64 -APP_PLATFORM := android-21 - -APP_MK_DIR := $(dir $(lastword $(MAKEFILE_LIST))) - -# What is NDK_MODULE_PATH? -# This is comparable to the PATH environment variable in Linux. The purpose -# of NDK_MODULE_PATH is to provide a list of directories that contain modules -# we want ndk-build to compile. -# -# What is HOST_DIRSEP? -# In PATH, the directories are separated by a ':'. -# In NDK_MODULE_PATH, the directories are separated by $(HOST_DIRSEP). -# -# Where are APP_MK_DIR, THIRD_PARTY_NDK_DIR, etc. defined? -# The directories inside NDK_MODULE_PATH (ex: APP_MK_DIR, THIRD_PARTY_NDK_DIR, -# etc.) are defined inside build.gradle. -NDK_MODULE_PATH := $(APP_MK_DIR)$(HOST_DIRSEP)$(THIRD_PARTY_NDK_DIR)$(HOST_DIRSEP)$(REACT_COMMON_DIR)$(HOST_DIRSEP)$(APP_MK_DIR)first-party$(HOST_DIRSEP)$(REACT_SRC_DIR)$(HOST_DIRSEP)$(REACT_GENERATED_SRC_DIR) - -APP_STL := c++_shared - -APP_CFLAGS := -Wall -Werror -fexceptions -frtti -DWITH_INSPECTOR=1 -APP_CPPFLAGS := -std=c++1y -# Make sure every shared lib includes a .note.gnu.build-id header -APP_LDFLAGS := -Wl,--build-id - -NDK_TOOLCHAIN_VERSION := clang diff --git a/ReactAndroid/src/main/jni/first-party/fb/Android.mk b/ReactAndroid/src/main/jni/first-party/fb/Android.mk deleted file mode 100644 index b43c52c620b191..00000000000000 --- a/ReactAndroid/src/main/jni/first-party/fb/Android.mk +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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_SRC_FILES:= \ - assert.cpp \ - log.cpp \ - -LOCAL_C_INCLUDES := $(LOCAL_PATH)/include -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include - -LOCAL_CFLAGS := -DLOG_TAG=\"libfb\" -DDISABLE_CPUCAP -DDISABLE_XPLAT -fexceptions -frtti -# include/utils/threads.h has unused parameters -LOCAL_CFLAGS += -Wno-unused-parameter -ifeq ($(TOOLCHAIN_PERMISSIVE),true) - LOCAL_CFLAGS += -Wno-error=unused-but-set-variable -endif -LOCAL_CFLAGS += -DHAVE_POSIX_CLOCKS - -LOCAL_LDLIBS := -llog -ldl -landroid -LOCAL_EXPORT_LDLIBS := -llog -LOCAL_MODULE := libfb - -include $(BUILD_SHARED_LIBRARY) - diff --git a/ReactAndroid/src/main/jni/first-party/fbgloginit/Android.mk b/ReactAndroid/src/main/jni/first-party/fbgloginit/Android.mk deleted file mode 100644 index 357332be368b8f..00000000000000 --- a/ReactAndroid/src/main/jni/first-party/fbgloginit/Android.mk +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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_SRC_FILES:= \ - glog_init.cpp - -LOCAL_C_INCLUDES := $(LOCAL_PATH) -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) - -LOCAL_CFLAGS := -fexceptions -fno-omit-frame-pointer - -LOCAL_LDLIBS := -llog - -LOCAL_SHARED_LIBRARIES := libglog - -LOCAL_MODULE := libglog_init - -include $(BUILD_SHARED_LIBRARY) diff --git a/ReactAndroid/src/main/jni/first-party/yogajni/Android.mk b/ReactAndroid/src/main/jni/first-party/yogajni/Android.mk deleted file mode 100644 index c12312d2ea3402..00000000000000 --- a/ReactAndroid/src/main/jni/first-party/yogajni/Android.mk +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := yoga - -LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/jni/*.cpp) - -LOCAL_C_INCLUDES := $(LOCAL_PATH)/jni - -LOCAL_CFLAGS += -fvisibility=hidden -fexceptions -frtti -O3 - -LOCAL_LDLIBS += -landroid -llog -LOCAL_STATIC_LIBRARIES := libyogacore -LOCAL_SHARED_LIBRARIES := libfb libfbjni - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,yoga) -$(call import-module,fb) -$(call import-module,fbjni) diff --git a/ReactAndroid/src/main/jni/react/jni/Android.mk b/ReactAndroid/src/main/jni/react/jni/Android.mk deleted file mode 100644 index f07858762685de..00000000000000 --- a/ReactAndroid/src/main/jni/react/jni/Android.mk +++ /dev/null @@ -1,176 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - - -########################## -### React Native Utils ### -########################## - -LOCAL_PATH := $(call my-dir) - -include $(CLEAR_VARS) - -# Include . in the header search path for all source files in this module. -LOCAL_C_INCLUDES := $(LOCAL_PATH) - -# Include ./../../ in the header search path for modules that depend on -# reactnativejni. This will allow external modules to require this module's -# headers using #include .h>, assuming: -# . == jni -# ./../ == react -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../.. - -LOCAL_CFLAGS += -fexceptions -frtti -Wno-unused-lambda-capture -std=c++17 - -LOCAL_LDLIBS += -landroid - -# The dynamic libraries (.so files) that this module depends on. -LOCAL_SHARED_LIBRARIES := \ - libfb \ - libfbjni \ - libfolly_runtime \ - libglog_init \ - libreact_render_runtimescheduler \ - libruntimeexecutor \ - libyoga - -# The static libraries (.a files) that this module depends on. -LOCAL_STATIC_LIBRARIES := libreactnative libcallinvokerholder - -# Name of this module. -# -# Other modules can depend on this one by adding libreactnativejni to their -# LOCAL_SHARED_LIBRARIES variable. -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. - # Note that this will apply to all shared libraries, - # i.e. shared libraries will NOT be stripped - # even though we override it in this Android.mk - cmd-strip := -endif - -# Build the files in this directory as a shared library -include $(BUILD_SHARED_LIBRARY) - - - - - -###################### -### reactnativejni ### -###################### - -include $(CLEAR_VARS) - -# Include . in the header search path for all source files in this module. -LOCAL_C_INCLUDES := $(LOCAL_PATH) - -# Include ./../../ in the header search path for modules that depend on -# reactnativejni. This will allow external modules to require this module's -# headers using #include .h>, assuming: -# . == jni -# ./../ == react -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../.. - -LOCAL_CFLAGS += -fexceptions -frtti -Wno-unused-lambda-capture -std=c++17 - -LOCAL_LDLIBS += -landroid - -# The dynamic libraries (.so files) that this module depends on. -LOCAL_SHARED_LIBRARIES := \ - libfb \ - libfbjni \ - libfolly_runtime \ - libglog_init \ - libreact_render_runtimescheduler \ - libreactnativeutilsjni \ - libruntimeexecutor \ - libyoga \ - logger - -# The static libraries (.a files) that this module depends on. -LOCAL_STATIC_LIBRARIES := libreactnative libcallinvokerholder - -# Name of this module. -# -# Other modules can depend on this one by adding libreactnativejni to their -# LOCAL_SHARED_LIBRARIES variable. -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. - # Note that this will apply to all shared libraries, - # i.e. shared libraries will NOT be stripped - # even though we override it in this Android.mk - cmd-strip := -endif - -# Build the files in this directory as a shared library -include $(BUILD_SHARED_LIBRARY) - -# Compile the c++ dependencies required for ReactAndroid -# -# How does the import-module function work? -# For each $(call import-module,), you search the directories in -# NDK_MODULE_PATH. (This variable is defined in Application.mk). If you find a -# /Android.mk you in a directory , you run: -# include //Android.mk -# -# What does it mean to include an Android.mk file? -# Whenever you encounter an include //Android.mk, you -# tell andorid-ndk to compile the module in / according -# to the specification inside //Android.mk. -$(call import-module,butter) -$(call import-module,folly) -$(call import-module,fb) -$(call import-module,fbjni) -$(call import-module,jsc) -$(call import-module,fbgloginit) -$(call import-module,yogajni) -$(call import-module,cxxreact) -$(call import-module,jsi) -$(call import-module,jsiexecutor) -$(call import-module,logger) -$(call import-module,callinvoker) -$(call import-module,reactperflogger) -$(call import-module,runtimeexecutor) -$(call import-module,react/renderer/runtimescheduler) -$(call import-module,react/nativemodule/core) - -# This block is needed only because we build the project on NDK r17 internally. -ifneq ($(call ndk-major-at-least,21),true) - $(call import-add-path,$(NDK_GRADLE_INJECTED_IMPORT_PATH)) -endif - -$(call import-module,prefab/hermes-engine) - - -include $(REACT_SRC_DIR)/reactperflogger/jni/Android.mk -# TODO (T48588859): Restructure this target to align with dir structure: "react/nativemodule/..." -# Note: Update this only when ready to minimize breaking changes. -include $(REACT_SRC_DIR)/turbomodule/core/jni/Android.mk -include $(REACT_SRC_DIR)/fabric/jni/Android.mk -include $(REACT_SRC_DIR)/common/mapbuffer/jni/Android.mk - -# TODO(ramanpreet): -# Why doesn't this import-module call generate a jscexecutor.so file? -# $(call import-module,jscexecutor) - -include $(REACT_SRC_DIR)/jscexecutor/Android.mk -include $(REACT_SRC_DIR)/../hermes/reactexecutor/Android.mk -include $(REACT_SRC_DIR)/../hermes/instrumentation/Android.mk -include $(REACT_SRC_DIR)/modules/blob/jni/Android.mk - -include $(REACT_GENERATED_SRC_DIR)/codegen/jni/Android.mk diff --git a/ReactAndroid/src/main/jni/third-party/boost/Android.mk b/ReactAndroid/src/main/jni/third-party/boost/Android.mk deleted file mode 100644 index 9560de94eda528..00000000000000 --- a/ReactAndroid/src/main/jni/third-party/boost/Android.mk +++ /dev/null @@ -1,15 +0,0 @@ -LOCAL_PATH := $(call my-dir) -include $(CLEAR_VARS) - -# These ASM files are picked from the boost release separately, -# 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 - -LOCAL_MODULE := boost - -include $(BUILD_STATIC_LIBRARY) diff --git a/ReactAndroid/src/main/jni/third-party/double-conversion/Android.mk b/ReactAndroid/src/main/jni/third-party/double-conversion/Android.mk deleted file mode 100644 index 64f7e67e8ad51f..00000000000000 --- a/ReactAndroid/src/main/jni/third-party/double-conversion/Android.mk +++ /dev/null @@ -1,22 +0,0 @@ -LOCAL_PATH:= $(call my-dir) - -include $(CLEAR_VARS) - -LOCAL_MODULE := double-conversion - -LOCAL_SRC_FILES := \ - double-conversion/bignum.cc \ - double-conversion/bignum-dtoa.cc \ - double-conversion/cached-powers.cc \ - double-conversion/diy-fp.cc \ - double-conversion/double-conversion.cc \ - double-conversion/fast-dtoa.cc \ - double-conversion/fixed-dtoa.cc \ - double-conversion/strtod.cc - -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) - -CXX11_FLAGS := -Wno-unused-variable -Wno-unused-local-typedefs -LOCAL_CFLAGS += $(CXX11_FLAGS) - -include $(BUILD_STATIC_LIBRARY) diff --git a/ReactAndroid/src/main/jni/third-party/fmt/Android.mk b/ReactAndroid/src/main/jni/third-party/fmt/Android.mk deleted file mode 100644 index 11d070286749aa..00000000000000 --- a/ReactAndroid/src/main/jni/third-party/fmt/Android.mk +++ /dev/null @@ -1,15 +0,0 @@ -LOCAL_PATH := $(call my-dir) - -include $(CLEAR_VARS) - -LOCAL_MODULE := fmt - -LOCAL_SRC_FILES := \ - src/format.cc - -LOCAL_C_INCLUDES := $(LOCAL_PATH)/include/ -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include/ - -LOCAL_CFLAGS += -std=c++11 -fexceptions - -include $(BUILD_STATIC_LIBRARY) diff --git a/ReactAndroid/src/main/jni/third-party/folly/Android.mk b/ReactAndroid/src/main/jni/third-party/folly/Android.mk deleted file mode 100644 index 59b721767c1611..00000000000000 --- a/ReactAndroid/src/main/jni/third-party/folly/Android.mk +++ /dev/null @@ -1,128 +0,0 @@ -LOCAL_PATH:= $(call my-dir) - -FOLLY_FLAGS := \ - -DFOLLY_NO_CONFIG=1 \ - -DFOLLY_HAVE_CLOCK_GETTIME=1 \ - -DFOLLY_USE_LIBCPP=1 \ - -DFOLLY_MOBILE=1 \ - -DFOLLY_HAVE_RECVMMSG=1 \ - -DFOLLY_HAVE_PTHREAD=1 - -# If APP_PLATFORM in Application.mk targets android-23 above, please comment this line. -# NDK uses GNU style stderror_r() after API 23. -FOLLY_FLAGS += -DFOLLY_HAVE_XSI_STRERROR_R=1 - -include $(CLEAR_VARS) - -LOCAL_SRC_FILES := \ - folly/SharedMutex.cpp \ - folly/concurrency/CacheLocality.cpp \ - folly/detail/Futex.cpp \ - folly/lang/SafeAssert.cpp \ - folly/lang/ToAscii.cpp \ - folly/synchronization/ParkingLot.cpp \ - folly/system/ThreadId.cpp \ - folly/system/ThreadName.cpp \ - folly/json.cpp \ - folly/Unicode.cpp \ - folly/Conv.cpp \ - folly/Demangle.cpp \ - folly/memory/detail/MallocImpl.cpp \ - folly/String.cpp \ - folly/dynamic.cpp \ - folly/FileUtil.cpp \ - folly/Format.cpp \ - folly/net/NetOps.cpp \ - folly/json_pointer.cpp \ - folly/lang/CString.cpp \ - folly/detail/UniqueInstance.cpp \ - folly/hash/SpookyHashV2.cpp \ - folly/container/detail/F14Table.cpp \ - folly/ScopeGuard.cpp \ - folly/portability/SysUio.cpp - -ifeq ($(APP_OPTIM),debug) - LOCAL_SRC_FILES += \ - folly/lang/Assume.cpp -endif - -LOCAL_C_INCLUDES := $(LOCAL_PATH) -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) - -LOCAL_CFLAGS += -fexceptions -fno-omit-frame-pointer -frtti -Wno-sign-compare -Wno-unused-variable -LOCAL_CFLAGS += $(FOLLY_FLAGS) -LOCAL_EXPORT_CPPFLAGS := $(FOLLY_FLAGS) - -LOCAL_MODULE := folly_runtime - -LOCAL_SHARED_LIBRARIES := libglog -LOCAL_STATIC_LIBRARIES := libboost libfmt libdouble-conversion - -include $(BUILD_SHARED_LIBRARY) - -include $(CLEAR_VARS) - -LOCAL_SRC_FILES := \ - folly/ExceptionWrapper.cpp \ - folly/ExceptionString.cpp \ - folly/Executor.cpp \ - folly/Singleton.cpp \ - folly/Try.cpp \ - folly/concurrency/CacheLocality.cpp \ - folly/detail/AsyncTrace.cpp \ - folly/detail/AtFork.cpp \ - folly/detail/MemoryIdler.cpp \ - folly/detail/SingletonStackTrace.cpp \ - folly/detail/StaticSingletonManager.cpp \ - folly/detail/ThreadLocalDetail.cpp \ - folly/fibers/Baton.cpp \ - folly/fibers/FiberManager.cpp \ - folly/fibers/Fiber.cpp \ - folly/fibers/GuardPageAllocator.cpp \ - folly/futures/detail/Core.cpp \ - folly/futures/Future.cpp \ - folly/futures/ThreadWheelTimekeeper.cpp \ - folly/executors/ExecutorWithPriority.cpp \ - folly/executors/InlineExecutor.cpp \ - folly/executors/TimedDrivableExecutor.cpp \ - folly/executors/QueuedImmediateExecutor.cpp \ - folly/io/async/AsyncTimeout.cpp \ - folly/io/async/EventBase.cpp \ - folly/io/async/EventBaseBackendBase.cpp \ - folly/io/async/EventBaseLocal.cpp \ - folly/io/async/EventHandler.cpp \ - folly/io/async/HHWheelTimer.cpp \ - folly/io/async/Request.cpp \ - folly/io/async/TimeoutManager.cpp \ - folly/io/async/VirtualEventBase.cpp \ - folly/lang/Exception.cpp \ - folly/memory/MallctlHelper.cpp \ - folly/portability/SysMembarrier.cpp \ - folly/synchronization/AsymmetricMemoryBarrier.cpp \ - folly/synchronization/Hazptr.cpp \ - folly/synchronization/WaitOptions.cpp \ - folly/synchronization/detail/Sleeper.cpp \ - folly/system/Pid.cpp - - -LOCAL_C_INCLUDES := $(LOCAL_PATH) -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) - -LOCAL_CFLAGS += -fexceptions -fno-omit-frame-pointer -frtti -Wno-sign-compare -Wno-unused-variable - -LOCAL_CFLAGS += $(FOLLY_FLAGS) - -LOCAL_EXPORT_CPPFLAGS := $(FOLLY_FLAGS) - -LOCAL_MODULE := libfolly_futures - -LOCAL_SHARED_LIBRARIES := libglog libfolly_runtime -LOCAL_STATIC_LIBRARIES := libboost libevent libfmt libdouble-conversion - -include $(BUILD_STATIC_LIBRARY) - -$(call import-module,libevent) -$(call import-module,glog) -$(call import-module,double-conversion) -$(call import-module,boost) -$(call import-module,fmt) diff --git a/ReactAndroid/src/main/jni/third-party/glog/Android.mk b/ReactAndroid/src/main/jni/third-party/glog/Android.mk deleted file mode 100644 index 33ea07c9a26ab2..00000000000000 --- a/ReactAndroid/src/main/jni/third-party/glog/Android.mk +++ /dev/null @@ -1,32 +0,0 @@ -LOCAL_PATH:= $(call my-dir) - -include $(CLEAR_VARS) - -LOCAL_SRC_FILES := \ - glog-0.3.5/src/demangle.cc \ - glog-0.3.5/src/logging.cc \ - glog-0.3.5/src/raw_logging.cc \ - glog-0.3.5/src/signalhandler.cc \ - glog-0.3.5/src/symbolize.cc \ - glog-0.3.5/src/utilities.cc \ - glog-0.3.5/src/vlog_is_on.cc - -LOCAL_C_INCLUDES += $(LOCAL_PATH) $(LOCAL_PATH)/.. $(LOCAL_PATH)/glog-0.3.5/src/ - -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/exported - -LOCAL_CFLAGS += \ - -Wwrite-strings \ - -Woverloaded-virtual \ - -Wno-sign-compare \ - -DNDEBUG \ - -g \ - -O2 \ - -D_START_GOOGLE_NAMESPACE_="namespace google {" \ - -D_END_GOOGLE_NAMESPACE_="}" \ - -DHAVE_PREAD=1 - - -LOCAL_MODULE := glog - -include $(BUILD_SHARED_LIBRARY) diff --git a/ReactAndroid/src/main/jni/third-party/jsc/Android.mk b/ReactAndroid/src/main/jni/third-party/jsc/Android.mk deleted file mode 100644 index 25462a614df5d3..00000000000000 --- a/ReactAndroid/src/main/jni/third-party/jsc/Android.mk +++ /dev/null @@ -1,6 +0,0 @@ -LOCAL_PATH:= $(call my-dir) -include $(CLEAR_VARS) -LOCAL_MODULE:= jsc -LOCAL_SRC_FILES := jni/$(TARGET_ARCH_ABI)/libjsc.so -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) -include $(PREBUILT_SHARED_LIBRARY) \ No newline at end of file diff --git a/ReactAndroid/src/main/jni/third-party/libevent/Android.mk b/ReactAndroid/src/main/jni/third-party/libevent/Android.mk deleted file mode 100644 index e546d1b711f466..00000000000000 --- a/ReactAndroid/src/main/jni/third-party/libevent/Android.mk +++ /dev/null @@ -1,36 +0,0 @@ -LOCAL_PATH := $(call my-dir) - -include $(CLEAR_VARS) - -LOCAL_MODULE := libevent - -LOCAL_SRC_FILES := event.c \ - buffer.c \ - bufferevent.c \ - bufferevent_filter.c \ - bufferevent_pair.c \ - bufferevent_ratelim.c \ - bufferevent_sock.c \ - epoll.c \ - evmap.c \ - evthread.c \ - evthread_pthread.c \ - evutil.c \ - evutil_rand.c \ - evutil_time.c \ - listener.c \ - log.c \ - poll.c \ - signal.c \ - strlcpy.c \ - select.c - -LOCAL_CFLAGS := -DNDEBUG -O2 -Wno-unused-function -Wno-unneeded-internal-declaration -std=c11 - -LOCAL_C_INCLUDES := $(LOCAL_PATH)/include/ -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include/ - -# link against libc as well -LOCAL_EXPORT_LDLIBS := -lc - -include $(BUILD_STATIC_LIBRARY) diff --git a/ReactCommon/butter/Android.mk b/ReactCommon/butter/Android.mk deleted file mode 100644 index 36cf73b114cc4e..00000000000000 --- a/ReactCommon/butter/Android.mk +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := 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)/ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Butter\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_SHARED_LIBRARIES := glog - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,glog) diff --git a/ReactCommon/callinvoker/Android.mk b/ReactCommon/callinvoker/Android.mk deleted file mode 100644 index 0d6b90955f41aa..00000000000000 --- a/ReactCommon/callinvoker/Android.mk +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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) - -# Header search path for all source files in this module. -LOCAL_C_INCLUDES := $(LOCAL_PATH)/ReactCommon - -# Header search path for modules that depend on this module -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -# Name of this module. -LOCAL_MODULE := callinvoker - -# Compile all local c++ files under ./ReactCommon -LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/ReactCommon/*.cpp) - -# Build the files in this directory as a shared library -include $(BUILD_STATIC_LIBRARY) diff --git a/ReactCommon/cxxreact/Android.mk b/ReactCommon/cxxreact/Android.mk deleted file mode 100644 index 4ff838da45af8e..00000000000000 --- a/ReactCommon/cxxreact/Android.mk +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := reactnative - -LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) - -LOCAL_C_INCLUDES := $(LOCAL_PATH)/.. -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES) - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"ReactNative\" - -LOCAL_CFLAGS += -fexceptions -frtti -Wno-unused-lambda-capture - -LOCAL_STATIC_LIBRARIES := \ - boost \ - callinvoker \ - jsi \ - reactperflogger - -LOCAL_SHARED_LIBRARIES := \ - glog \ - jsinspector \ - libfolly_runtime \ - libruntimeexecutor \ - logger - -include $(BUILD_STATIC_LIBRARY) - -$(call import-module,fb) -$(call import-module,folly) -$(call import-module,callinvoker) -$(call import-module,reactperflogger) -$(call import-module,jsc) -$(call import-module,glog) -$(call import-module,jsi) -$(call import-module,jsinspector) -$(call import-module,hermes/executor) -$(call import-module,logger) - -ifeq ($(APP_OPTIM),debug) - $(call import-module,hermes/inspector) -endif diff --git a/ReactCommon/hermes/executor/Android.mk b/ReactCommon/hermes/executor/Android.mk deleted file mode 100644 index a0e00a11a6e1c6..00000000000000 --- a/ReactCommon/hermes/executor/Android.mk +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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) -REACT_NATIVE := $(LOCAL_PATH)/../../.. - -ifeq ($(APP_OPTIM),debug) - include $(CLEAR_VARS) - - LOCAL_MODULE := hermes-executor-common-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) - - LOCAL_STATIC_LIBRARIES := libjsireact libhermes-inspector - LOCAL_SHARED_LIBRARIES := libhermes libjsi - - include $(BUILD_STATIC_LIBRARY) -else - include $(CLEAR_VARS) - - LOCAL_MODULE := hermes-executor-common-release - - 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) - - LOCAL_STATIC_LIBRARIES := libjsireact - LOCAL_SHARED_LIBRARIES := libhermes libjsi - - include $(BUILD_STATIC_LIBRARY) -endif diff --git a/ReactCommon/hermes/inspector/Android.mk b/ReactCommon/hermes/inspector/Android.mk deleted file mode 100644 index a5e95b0f05fbd9..00000000000000 --- a/ReactCommon/hermes/inspector/Android.mk +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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) -REACT_NATIVE := $(LOCAL_PATH)/../../.. - -include $(CLEAR_VARS) - -LOCAL_MODULE := hermes-inspector - -LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp $(LOCAL_PATH)/detail/*.cpp $(LOCAL_PATH)/chrome/*.cpp) - -LOCAL_C_ROOT := $(LOCAL_PATH)/../.. - -LOCAL_CFLAGS := -DHERMES_ENABLE_DEBUGGER=1 -DHERMES_INSPECTOR_FOLLY_KLUDGE=1 -LOCAL_C_INCLUDES := $(LOCAL_C_ROOT) $(REACT_NATIVE)/ReactCommon/jsi -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_ROOT) - -LOCAL_CPP_FEATURES := exceptions - -LOCAL_SHARED_LIBRARIES := \ - jsinspector \ - libfb \ - libfbjni \ - libfolly_runtime \ - libglog \ - libhermes \ - libjsi - -LOCAL_STATIC_LIBRARIES := \ - libfolly_futures - -include $(BUILD_STATIC_LIBRARY) diff --git a/ReactCommon/jsi/Android.mk b/ReactCommon/jsi/Android.mk deleted file mode 100644 index f75a528e7467d5..00000000000000 --- a/ReactCommon/jsi/Android.mk +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := jsi - -LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/jsi/*.cpp) - -LOCAL_C_INCLUDES := $(LOCAL_PATH) -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) - -LOCAL_CFLAGS := -fexceptions -frtti -O3 -LOCAL_SHARED_LIBRARIES := libfolly_runtime glog - -include $(BUILD_SHARED_LIBRARY) - - -include $(CLEAR_VARS) - -LOCAL_MODULE := jscruntime - -LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) - -LOCAL_C_INCLUDES := $(LOCAL_PATH) -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) - -LOCAL_CFLAGS := -fexceptions -frtti -O3 -LOCAL_SHARED_LIBRARIES := libfolly_runtime libjsc glog - -# TODO: Remove this flag when ready. -# Android has this enabled by default, but the flag is still needed for iOS. -LOCAL_CFLAGS += -DRN_FABRIC_ENABLED - -include $(BUILD_STATIC_LIBRARY) diff --git a/ReactCommon/jsiexecutor/Android.mk b/ReactCommon/jsiexecutor/Android.mk deleted file mode 100644 index 9749ca7a36f27c..00000000000000 --- a/ReactCommon/jsiexecutor/Android.mk +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := jsireact - -LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/jsireact/*.cpp) - -LOCAL_C_INCLUDES := $(LOCAL_PATH) -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES) - -LOCAL_CFLAGS := -fexceptions -frtti -O3 - -LOCAL_STATIC_LIBRARIES := reactnative reactperflogger -LOCAL_SHARED_LIBRARIES := libfolly_runtime glog libjsi - -include $(BUILD_STATIC_LIBRARY) diff --git a/ReactCommon/jsinspector/Android.mk b/ReactCommon/jsinspector/Android.mk deleted file mode 100644 index 64fdbd0e635136..00000000000000 --- a/ReactCommon/jsinspector/Android.mk +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := jsinspector - -LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) - -LOCAL_C_INCLUDES := $(LOCAL_PATH)/.. -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES) - -LOCAL_CFLAGS += -fexceptions - -include $(BUILD_SHARED_LIBRARY) diff --git a/ReactCommon/logger/Android.mk b/ReactCommon/logger/Android.mk deleted file mode 100644 index ca78f12e42ace3..00000000000000 --- a/ReactCommon/logger/Android.mk +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := 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) - -LOCAL_CFLAGS += -fexceptions - -LOCAL_SHARED_LIBRARIES := glog - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,glog) diff --git a/ReactCommon/react/bridging/Android.mk b/ReactCommon/react/bridging/Android.mk deleted file mode 100644 index 63ffe3603b3b29..00000000000000 --- a/ReactCommon/react/bridging/Android.mk +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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_bridging - -LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) - -LOCAL_C_INCLUDES := $(LOCAL_PATH) -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../ - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_STATIC_LIBRARIES := - -LOCAL_SHARED_LIBRARIES := jsi - -include $(BUILD_STATIC_LIBRARY) - -$(call import-module,butter) -$(call import-module,folly) -$(call import-module,jsi) diff --git a/ReactCommon/react/config/Android.mk b/ReactCommon/react/config/Android.mk deleted file mode 100644 index c4c2a409c70996..00000000000000 --- a/ReactCommon/react/config/Android.mk +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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_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)/../../ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_STATIC_LIBRARIES := -LOCAL_SHARED_LIBRARIES := - -include $(BUILD_SHARED_LIBRARY) diff --git a/ReactCommon/react/debug/Android.mk b/ReactCommon/react/debug/Android.mk deleted file mode 100644 index 09e3f381e05afe..00000000000000 --- a/ReactCommon/react/debug/Android.mk +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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_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)/../../../ - -LOCAL_SHARED_LIBRARIES := libfolly_runtime - -LOCAL_LDLIBS := -llog - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall -llog - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,folly) diff --git a/ReactCommon/react/nativemodule/core/Android.mk b/ReactCommon/react/nativemodule/core/Android.mk deleted file mode 100644 index 5a08467b2e962e..00000000000000 --- a/ReactCommon/react/nativemodule/core/Android.mk +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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_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/ - -LOCAL_SHARED_LIBRARIES := \ - libfbjni \ - libfolly_runtime \ - libjsi \ - libreact_debug \ - libreactnativejni - -LOCAL_STATIC_LIBRARIES := \ - libreact_bridging \ - libreactperflogger - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"ReactNative\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,folly) -$(call import-module,jsi) -$(call import-module,reactperflogger) -$(call import-module,react/bridging) diff --git a/ReactCommon/react/renderer/animations/Android.mk b/ReactCommon/react/renderer/animations/Android.mk deleted file mode 100644 index c5168c4e0be853..00000000000000 --- a/ReactCommon/react/renderer/animations/Android.mk +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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_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)/../../../ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_STATIC_LIBRARIES := - -LOCAL_SHARED_LIBRARIES := \ - glog \ - libfolly_runtime \ - libglog_init \ - libjsi \ - libreact_debug \ - libreact_render_componentregistry \ - libreact_render_core \ - libreact_render_debug \ - libreact_render_graphics \ - libreact_render_mounting \ - libreact_render_uimanager \ - libreact_config \ - librrc_view \ - libruntimeexecutor \ - libyoga - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,fbgloginit) -$(call import-module,glog) -$(call import-module,jsi) -$(call import-module,folly) -$(call import-module,react/config) -$(call import-module,react/renderer/components/view) -$(call import-module,react/renderer/componentregistry) -$(call import-module,react/renderer/core) -$(call import-module,react/renderer/graphics) -$(call import-module,react/renderer/debug) -$(call import-module,react/renderer/mounting) -$(call import-module,react/renderer/uimanager) -$(call import-module,yogajni) -$(call import-module,runtimeexecutor) -$(call import-module,react/debug) diff --git a/ReactCommon/react/renderer/attributedstring/Android.mk b/ReactCommon/react/renderer/attributedstring/Android.mk deleted file mode 100644 index 687a29d580d4b8..00000000000000 --- a/ReactCommon/react/renderer/attributedstring/Android.mk +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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_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)/../../../ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_STATIC_LIBRARIES := - -LOCAL_SHARED_LIBRARIES := \ - glog \ - libbutter \ - libfolly_runtime \ - libglog_init \ - libreact_debug \ - libreact_render_core \ - libreact_render_debug \ - libreact_render_graphics \ - libreact_render_mapbuffer \ - libreact_utils \ - librrc_view \ - libyoga - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,butter) -$(call import-module,glog) -$(call import-module,folly) -$(call import-module,fbgloginit) -$(call import-module,react/renderer/components/root) -$(call import-module,react/renderer/components/view) -$(call import-module,react/renderer/core) -$(call import-module,react/renderer/debug) -$(call import-module,react/renderer/graphics) -$(call import-module,react/utils) -$(call import-module,react/debug) -$(call import-module,yogajni) -$(call import-module,react/renderer/mapbuffer) diff --git a/ReactCommon/react/renderer/componentregistry/Android.mk b/ReactCommon/react/renderer/componentregistry/Android.mk deleted file mode 100644 index 4be170a8b27e2f..00000000000000 --- a/ReactCommon/react/renderer/componentregistry/Android.mk +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES)) - -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../ - -LOCAL_SHARED_LIBRARIES := \ - libfolly_runtime \ - libglog_init \ - libjsi \ - libreact_debug \ - libreact_render_core \ - libreact_render_debug \ - libreact_utils - - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -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) -$(call import-module,react/debug) diff --git a/ReactCommon/react/renderer/componentregistry/native/Android.mk b/ReactCommon/react/renderer/componentregistry/native/Android.mk deleted file mode 100644 index a4fdc90c41950e..00000000000000 --- a/ReactCommon/react/renderer/componentregistry/native/Android.mk +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := 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)/../../../../ - -LOCAL_SHARED_LIBRARIES := \ - libfolly_runtime \ - libglog_init \ - libjsi \ - libreact_debug \ - libreact_render_core \ - libreact_render_debug \ - libreact_utils - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,fbgloginit) -$(call import-module,folly) -$(call import-module,jsi) diff --git a/ReactCommon/react/renderer/components/image/Android.mk b/ReactCommon/react/renderer/components/image/Android.mk deleted file mode 100644 index b67ca0d1673f5f..00000000000000 --- a/ReactCommon/react/renderer/components/image/Android.mk +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := 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)/../../../../ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_STATIC_LIBRARIES := - -LOCAL_SHARED_LIBRARIES := \ - glog \ - libfolly_runtime \ - libglog_init \ - libjsi \ - libreact_debug \ - libreact_render_core \ - libreact_render_debug \ - libreact_render_graphics \ - libreact_render_imagemanager \ - libreact_render_mapbuffer \ - librrc_view \ - libyoga - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,glog) -$(call import-module,folly) -$(call import-module,fbgloginit) -$(call import-module,react/renderer/core) -$(call import-module,react/renderer/debug) -$(call import-module,react/renderer/graphics) -$(call import-module,react/renderer/imagemanager) -$(call import-module,react/renderer/components/view) -$(call import-module,yogajni) -$(call import-module,react/debug) -$(call import-module,react/renderer/mapbuffer) diff --git a/ReactCommon/react/renderer/components/modal/Android.mk b/ReactCommon/react/renderer/components/modal/Android.mk deleted file mode 100644 index 6506921bb6565f..00000000000000 --- a/ReactCommon/react/renderer/components/modal/Android.mk +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := 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)/../../../../ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_STATIC_LIBRARIES := - -LOCAL_SHARED_LIBRARIES := \ - glog \ - libfolly_runtime \ - libglog_init \ - libreact_codegen_rncore \ - libreact_render_componentregistry \ - libreact_render_core \ - libreact_render_debug \ - libreact_render_graphics \ - libreact_render_imagemanager \ - libreact_render_mapbuffer \ - libreact_render_uimanager \ - librrc_image \ - librrc_view \ - libyoga - -include $(BUILD_STATIC_LIBRARY) - -$(call import-module,glog) -$(call import-module,folly) -$(call import-module,fbgloginit) -$(call import-module,react/renderer/core) -$(call import-module,react/renderer/componentregistry) -$(call import-module,react/renderer/debug) -$(call import-module,react/renderer/graphics) -$(call import-module,react/renderer/imagemanager) -$(call import-module,react/renderer/uimanager) -$(call import-module,react/renderer/components/image) -$(call import-module,react/renderer/components/view) -$(call import-module,yogajni) -$(call import-module,react/renderer/mapbuffer) diff --git a/ReactCommon/react/renderer/components/progressbar/Android.mk b/ReactCommon/react/renderer/components/progressbar/Android.mk deleted file mode 100644 index 329a616717acb2..00000000000000 --- a/ReactCommon/react/renderer/components/progressbar/Android.mk +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := 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/ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_STATIC_LIBRARIES := - -LOCAL_SHARED_LIBRARIES := \ - glog \ - libfbjni \ - libfolly_runtime \ - libglog_init \ - libreact_codegen_rncore \ - libreact_debug \ - libreact_render_componentregistry \ - libreact_render_core \ - libreact_render_debug \ - libreact_render_graphics \ - libreact_render_uimanager \ - libreactnativeutilsjni \ - librrc_view \ - libyoga - -include $(BUILD_STATIC_LIBRARY) - -$(call import-module,fbjni) -$(call import-module,folly) -$(call import-module,fbgloginit) -$(call import-module,glog) -$(call import-module,react/renderer/componentregistry) -$(call import-module,react/renderer/core) -$(call import-module,react/renderer/debug) -$(call import-module,react/renderer/graphics) -$(call import-module,react/renderer/components/view) -$(call import-module,react/renderer/uimanager) -$(call import-module,yogajni) diff --git a/ReactCommon/react/renderer/components/root/Android.mk b/ReactCommon/react/renderer/components/root/Android.mk deleted file mode 100644 index 2fef31ee3a78ff..00000000000000 --- a/ReactCommon/react/renderer/components/root/Android.mk +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := 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)/../../../../ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_STATIC_LIBRARIES := - -LOCAL_SHARED_LIBRARIES := \ - glog \ - libfolly_runtime \ - libglog_init \ - libreact_debug \ - libreact_render_core \ - libreact_render_debug \ - libreact_render_graphics \ - librrc_view \ - libyoga - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,glog) -$(call import-module,folly) -$(call import-module,fbgloginit) -$(call import-module,react/renderer/components/view) -$(call import-module,react/renderer/core) -$(call import-module,react/renderer/debug) -$(call import-module,react/renderer/graphics) -$(call import-module,react/debug) -$(call import-module,yogajni) diff --git a/ReactCommon/react/renderer/components/scrollview/Android.mk b/ReactCommon/react/renderer/components/scrollview/Android.mk deleted file mode 100644 index 1183e69d2d929d..00000000000000 --- a/ReactCommon/react/renderer/components/scrollview/Android.mk +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := 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)/../../../../ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_STATIC_LIBRARIES := - -LOCAL_SHARED_LIBRARIES := \ - glog \ - libfolly_runtime \ - libglog_init \ - libjsi \ - libreact_debug \ - libreact_render_core \ - libreact_render_debug \ - libreact_render_graphics \ - libreact_render_mapbuffer \ - librrc_view \ - libyoga - -include $(BUILD_STATIC_LIBRARY) - -$(call import-module,glog) -$(call import-module,folly) -$(call import-module,fbgloginit) -$(call import-module,react/renderer/components/view) -$(call import-module,react/renderer/core) -$(call import-module,react/renderer/debug) -$(call import-module,react/renderer/graphics) -$(call import-module,react/debug) -$(call import-module,yogajni) -$(call import-module,react/renderer/mapbuffer) diff --git a/ReactCommon/react/renderer/components/slider/Android.mk b/ReactCommon/react/renderer/components/slider/Android.mk deleted file mode 100644 index f4ea402f1788ed..00000000000000 --- a/ReactCommon/react/renderer/components/slider/Android.mk +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := 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/ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_STATIC_LIBRARIES := - -LOCAL_SHARED_LIBRARIES := \ - glog \ - libfbjni \ - libfolly_runtime \ - libglog_init \ - libreact_codegen_rncore \ - libreact_debug \ - libreact_render_componentregistry \ - libreact_render_core \ - libreact_render_debug \ - libreact_render_graphics \ - libreact_render_imagemanager \ - libreact_render_mapbuffer \ - libreact_render_uimanager \ - libreactnativeutilsjni \ - librrc_image \ - librrc_view \ - libyoga - -include $(BUILD_STATIC_LIBRARY) - -$(call import-module,fbjni) -$(call import-module,folly) -$(call import-module,fbgloginit) -$(call import-module,glog) -$(call import-module,react/renderer/componentregistry) -$(call import-module,react/renderer/core) -$(call import-module,react/renderer/debug) -$(call import-module,react/renderer/graphics) -$(call import-module,react/renderer/imagemanager) -$(call import-module,react/renderer/components/image) -$(call import-module,react/renderer/components/view) -$(call import-module,react/renderer/uimanager) -$(call import-module,yogajni) -$(call import-module,react/renderer/mapbuffer) diff --git a/ReactCommon/react/renderer/components/switch/Android.mk b/ReactCommon/react/renderer/components/switch/Android.mk deleted file mode 100644 index 5595fc08a0ee16..00000000000000 --- a/ReactCommon/react/renderer/components/switch/Android.mk +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := 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/ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_STATIC_LIBRARIES := - -LOCAL_SHARED_LIBRARIES := \ - glog \ - libfbjni \ - libfolly_runtime \ - libglog_init \ - libreact_codegen_rncore \ - libreact_debug \ - libreact_render_componentregistry \ - libreact_render_core \ - libreact_render_debug \ - libreact_render_graphics \ - libreact_render_uimanager \ - libreactnativeutilsjni \ - librrc_view \ - libyoga - -include $(BUILD_STATIC_LIBRARY) - -$(call import-module,fbjni) -$(call import-module,folly) -$(call import-module,fbgloginit) -$(call import-module,glog) -$(call import-module,react/renderer/componentregistry) -$(call import-module,react/renderer/core) -$(call import-module,react/renderer/debug) -$(call import-module,react/renderer/graphics) -$(call import-module,react/renderer/components/view) -$(call import-module,react/renderer/uimanager) -$(call import-module,yogajni) diff --git a/ReactCommon/react/renderer/components/text/Android.mk b/ReactCommon/react/renderer/components/text/Android.mk deleted file mode 100644 index fb849bfbcb8731..00000000000000 --- a/ReactCommon/react/renderer/components/text/Android.mk +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := 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)/../../../../ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_STATIC_LIBRARIES := - -LOCAL_SHARED_LIBRARIES := \ - glog \ - libfolly_runtime \ - libglog_init \ - libjsi \ - libreact_debug \ - libreact_render_attributedstring \ - libreact_render_core \ - libreact_render_debug \ - libreact_render_graphics \ - libreact_render_mapbuffer \ - libreact_render_mounting \ - libreact_render_textlayoutmanager \ - libreact_render_uimanager \ - libreact_utils \ - librrc_view \ - libyoga - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,glog) -$(call import-module,folly) -$(call import-module,fbgloginit) -$(call import-module,react/renderer/attributedstring) -$(call import-module,react/renderer/core) -$(call import-module,react/renderer/debug) -$(call import-module,react/renderer/graphics) -$(call import-module,react/renderer/mounting) -$(call import-module,react/renderer/textlayoutmanager) -$(call import-module,react/renderer/uimanager) -$(call import-module,react/renderer/components/view) -$(call import-module,react/utils) -$(call import-module,react/debug) -$(call import-module,react/renderer/mapbuffer) -$(call import-module,yogajni) diff --git a/ReactCommon/react/renderer/components/textinput/Android.mk b/ReactCommon/react/renderer/components/textinput/Android.mk deleted file mode 100644 index 55bcbf7333f811..00000000000000 --- a/ReactCommon/react/renderer/components/textinput/Android.mk +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := 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/ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_STATIC_LIBRARIES := - -LOCAL_SHARED_LIBRARIES := \ - glog \ - libfolly_runtime \ - libglog_init \ - libjsi \ - libreact_debug \ - libreact_render_attributedstring \ - libreact_render_componentregistry \ - libreact_render_core \ - libreact_render_debug \ - libreact_render_graphics \ - libreact_render_imagemanager \ - libreact_render_mapbuffer \ - libreact_render_mounting \ - libreact_render_textlayoutmanager \ - libreact_render_uimanager \ - libreact_utils \ - librrc_image \ - librrc_text \ - librrc_view \ - libyoga - -include $(BUILD_STATIC_LIBRARY) - -$(call import-module,glog) -$(call import-module,folly) -$(call import-module,fbgloginit) -$(call import-module,react/renderer/attributedstring) -$(call import-module,react/renderer/componentregistry) -$(call import-module,react/renderer/core) -$(call import-module,react/renderer/debug) -$(call import-module,react/renderer/graphics) -$(call import-module,react/renderer/imagemanager) -$(call import-module,react/renderer/mounting) -$(call import-module,react/renderer/textlayoutmanager) -$(call import-module,react/renderer/uimanager) -$(call import-module,react/renderer/components/image) -$(call import-module,react/renderer/components/view) -$(call import-module,react/renderer/components/text) -$(call import-module,react/utils) -$(call import-module,react/debug) -$(call import-module,yogajni) -$(call import-module,react/renderer/mapbuffer) diff --git a/ReactCommon/react/renderer/components/unimplementedview/Android.mk b/ReactCommon/react/renderer/components/unimplementedview/Android.mk deleted file mode 100644 index 4b2790193eb333..00000000000000 --- a/ReactCommon/react/renderer/components/unimplementedview/Android.mk +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := 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)/../../../../ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_STATIC_LIBRARIES := - -LOCAL_SHARED_LIBRARIES := \ - glog \ - libfolly_runtime \ - libglog_init \ - libjsi \ - libreact_debug \ - libreact_render_core \ - libreact_render_debug \ - libreact_render_graphics \ - librrc_view \ - libyoga - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,glog) -$(call import-module,folly) -$(call import-module,fbgloginit) -$(call import-module,react/renderer/components/view) -$(call import-module,react/renderer/core) -$(call import-module,react/renderer/debug) -$(call import-module,react/renderer/graphics) -$(call import-module,yogajni) -$(call import-module,react/debug) diff --git a/ReactCommon/react/renderer/components/view/Android.mk b/ReactCommon/react/renderer/components/view/Android.mk deleted file mode 100644 index a72ada8f493dec..00000000000000 --- a/ReactCommon/react/renderer/components/view/Android.mk +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := 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)/../../../../ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_STATIC_LIBRARIES := - -LOCAL_SHARED_LIBRARIES := \ - glog \ - libfolly_runtime \ - libglog_init \ - libjsi \ - libreact_debug \ - libreact_render_core \ - libreact_render_debug \ - libreact_render_graphics \ - libyoga \ - logger \ - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,glog) -$(call import-module,folly) -$(call import-module,fbgloginit) -$(call import-module,react/renderer/core) -$(call import-module,react/renderer/debug) -$(call import-module,react/renderer/graphics) -$(call import-module,logger) -$(call import-module,yogajni) -$(call import-module,react/debug) diff --git a/ReactCommon/react/renderer/core/Android.mk b/ReactCommon/react/renderer/core/Android.mk deleted file mode 100644 index 0a632e9c5de6a5..00000000000000 --- a/ReactCommon/react/renderer/core/Android.mk +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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_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)/../../../ - -LOCAL_SHARED_LIBRARIES := \ - libfolly_runtime \ - libglog \ - libjsi \ - libreact_debug \ - libreact_render_debug \ - libreact_render_graphics \ - libreact_utils - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,folly) -$(call import-module,jsi) -$(call import-module,react/utils) -$(call import-module,react/debug) -$(call import-module,react/renderer/debug) -$(call import-module,react/renderer/graphics) -$(call import-module,react/renderer/mapbuffer) diff --git a/ReactCommon/react/renderer/debug/Android.mk b/ReactCommon/react/renderer/debug/Android.mk deleted file mode 100644 index 03197646d6773c..00000000000000 --- a/ReactCommon/react/renderer/debug/Android.mk +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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_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)/../../../ - -LOCAL_SHARED_LIBRARIES := libfolly_runtime - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,folly) diff --git a/ReactCommon/react/renderer/graphics/Android.mk b/ReactCommon/react/renderer/graphics/Android.mk deleted file mode 100644 index 72031a2ab8ae76..00000000000000 --- a/ReactCommon/react/renderer/graphics/Android.mk +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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_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 \ - libfb \ - libfbjni \ - libfolly_runtime \ - libreact_debug - -LOCAL_STATIC_LIBRARIES := - -LOCAL_C_INCLUDES := $(LOCAL_PATH)/ $(LOCAL_PATH)/../../../ $(LOCAL_PATH)/platform/cxx/ - -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../ $(LOCAL_PATH)/platform/cxx/ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,glog) -$(call import-module,fbjni) -$(call import-module,fb) -$(call import-module,folly) -$(call import-module,react/debug) diff --git a/ReactCommon/react/renderer/imagemanager/Android.mk b/ReactCommon/react/renderer/imagemanager/Android.mk deleted file mode 100644 index d7cff3c77defa0..00000000000000 --- a/ReactCommon/react/renderer/imagemanager/Android.mk +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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_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 \ - libreact_debug \ - libreact_render_core \ - libreact_render_debug \ - libreact_render_graphics \ - libreact_render_mounting \ - libyoga - -LOCAL_STATIC_LIBRARIES := - -LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../ $(LOCAL_PATH)/platform/cxx/ - -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../ $(LOCAL_PATH)/platform/cxx/ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,glog) -$(call import-module,folly) -$(call import-module,react/renderer/core) -$(call import-module,react/renderer/debug) -$(call import-module,react/renderer/graphics) -$(call import-module,react/renderer/mounting) -$(call import-module,react/debug) -$(call import-module,yogajni) diff --git a/ReactCommon/react/renderer/leakchecker/Android.mk b/ReactCommon/react/renderer/leakchecker/Android.mk deleted file mode 100644 index 31dceaf7bebcce..00000000000000 --- a/ReactCommon/react/renderer/leakchecker/Android.mk +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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_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)/../../../ - -LOCAL_SHARED_LIBRARIES := \ - glog \ - libreact_render_core \ - libruntimeexecutor - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,react/renderer/core) -$(call import-module,glog) -$(call import-module,runtimeexecutor) diff --git a/ReactCommon/react/renderer/mapbuffer/Android.mk b/ReactCommon/react/renderer/mapbuffer/Android.mk deleted file mode 100644 index 7b9250cf357ee4..00000000000000 --- a/ReactCommon/react/renderer/mapbuffer/Android.mk +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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_mapbuffer - -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)/../../../ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_STATIC_LIBRARIES := - -LOCAL_SHARED_LIBRARIES := \ - glog \ - libglog_init \ - libreact_debug - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,glog) -$(call import-module,fbgloginit) -$(call import-module,react/debug) diff --git a/ReactCommon/react/renderer/mounting/Android.mk b/ReactCommon/react/renderer/mounting/Android.mk deleted file mode 100644 index 432d11160aa481..00000000000000 --- a/ReactCommon/react/renderer/mounting/Android.mk +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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_mounting - -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)/../../../ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_STATIC_LIBRARIES := - -LOCAL_SHARED_LIBRARIES := \ - glog \ - libbutter \ - libfolly_runtime \ - libglog_init \ - libjsi \ - libreact_debug \ - libreact_render_core \ - libreact_render_debug \ - libreact_render_graphics \ - libreact_render_telemetry \ - libreact_utils \ - librrc_root \ - librrc_view \ - libyoga - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,butter) -$(call import-module,glog) -$(call import-module,folly) -$(call import-module,fbgloginit) -$(call import-module,react/renderer/components/root) -$(call import-module,react/renderer/components/view) -$(call import-module,react/renderer/core) -$(call import-module,react/renderer/debug) -$(call import-module,react/utils) -$(call import-module,react/debug) -$(call import-module,yogajni) -$(call import-module,react/renderer/graphics) -$(call import-module,react/renderer/telemetry) diff --git a/ReactCommon/react/renderer/runtimescheduler/Android.mk b/ReactCommon/react/renderer/runtimescheduler/Android.mk deleted file mode 100644 index 59aa098484ba7b..00000000000000 --- a/ReactCommon/react/renderer/runtimescheduler/Android.mk +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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_runtimescheduler - -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)/../../../ - -LOCAL_SHARED_LIBRARIES := \ - callinvoker \ - libjsi \ - libreact_debug \ - libreact_render_core \ - libruntimeexecutor \ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,runtimeexecutor) -$(call import-module,callinvoker) diff --git a/ReactCommon/react/renderer/scheduler/Android.mk b/ReactCommon/react/renderer/scheduler/Android.mk deleted file mode 100644 index 0eec52d2568bc0..00000000000000 --- a/ReactCommon/react/renderer/scheduler/Android.mk +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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_scheduler - -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)/../../../ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_STATIC_LIBRARIES := - -LOCAL_SHARED_LIBRARIES := \ - glog \ - libfolly_runtime \ - libjsi \ - libreact_debug \ - libreact_render_componentregistry \ - libreact_render_core \ - libreact_render_debug \ - libreact_render_graphics \ - libreact_render_mounting \ - libreact_render_runtimescheduler \ - libreact_render_templateprocessor \ - libreact_render_uimanager \ - libreact_utils \ - libreact_config \ - librrc_root \ - librrc_view \ - libyoga - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,glog) -$(call import-module,jsi) -$(call import-module,folly) -$(call import-module,react/config) -$(call import-module,react/renderer/components/root) -$(call import-module,react/renderer/components/view) -$(call import-module,react/renderer/componentregistry) -$(call import-module,react/renderer/core) -$(call import-module,react/renderer/debug) -$(call import-module,react/renderer/graphics) -$(call import-module,react/renderer/mounting) -$(call import-module,react/renderer/uimanager) -$(call import-module,react/renderer/runtimescheduler) -$(call import-module,react/renderer/templateprocessor) -$(call import-module,react/utils) -$(call import-module,react/debug) -$(call import-module,yogajni) diff --git a/ReactCommon/react/renderer/telemetry/Android.mk b/ReactCommon/react/renderer/telemetry/Android.mk deleted file mode 100644 index 9ca9c7868d89f6..00000000000000 --- a/ReactCommon/react/renderer/telemetry/Android.mk +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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_telemetry - -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)/../../../ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_STATIC_LIBRARIES := - -LOCAL_SHARED_LIBRARIES := \ - glog \ - libbutter \ - libfolly_runtime \ - libglog_init \ - libreact_debug \ - libreact_render_core \ - libreact_render_debug \ - libreact_utils \ - librrc_root \ - librrc_view \ - libyoga - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,butter) -$(call import-module,glog) -$(call import-module,folly) -$(call import-module,react/utils) diff --git a/ReactCommon/react/renderer/templateprocessor/Android.mk b/ReactCommon/react/renderer/templateprocessor/Android.mk deleted file mode 100644 index c810ecdaa098f4..00000000000000 --- a/ReactCommon/react/renderer/templateprocessor/Android.mk +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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_templateprocessor - -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)/../../../ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_STATIC_LIBRARIES := - -LOCAL_SHARED_LIBRARIES := \ - glog \ - libfolly_runtime \ - libjsi \ - libreact_render_componentregistry \ - libreact_render_core \ - libreact_render_debug \ - libreact_utils \ - libreact_config \ - react_render_uimanager - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,glog) -$(call import-module,jsi) -$(call import-module,folly) -$(call import-module,react/config) -$(call import-module,react/renderer/core) -$(call import-module,react/renderer/debug) -$(call import-module,react/renderer/uimanager) -$(call import-module,react/utils) -$(call import-module,react/renderer/componentregistry) diff --git a/ReactCommon/react/renderer/textlayoutmanager/Android.mk b/ReactCommon/react/renderer/textlayoutmanager/Android.mk deleted file mode 100644 index a57d0eee6f06ce..00000000000000 --- a/ReactCommon/react/renderer/textlayoutmanager/Android.mk +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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_textlayoutmanager - -LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp $(LOCAL_PATH)/platform/android/react/renderer/textlayoutmanager/*.cpp) -LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES)) - -LOCAL_SHARED_LIBRARIES := \ - glog \ - libfb \ - libfbjni \ - libfolly_runtime \ - libglog_init \ - libmapbufferjni \ - libreact_debug \ - libreact_render_attributedstring \ - libreact_render_componentregistry \ - libreact_render_core \ - libreact_render_debug \ - libreact_render_graphics \ - libreact_render_mapbuffer \ - libreact_render_mounting \ - libreact_render_telemetry \ - libreact_render_uimanager \ - libreact_utils \ - libreactnativeutilsjni \ - libyoga - -LOCAL_STATIC_LIBRARIES := - -LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../ $(LOCAL_PATH)/platform/android/ - -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../ $(LOCAL_PATH)/platform/android/ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,glog) -$(call import-module,fbjni) -$(call import-module,fb) -$(call import-module,folly) -$(call import-module,react/renderer/componentregistry) -$(call import-module,react/renderer/core) -$(call import-module,react/renderer/attributedstring) -$(call import-module,react/renderer/debug) -$(call import-module,react/renderer/mounting) -$(call import-module,react/renderer/graphics) -$(call import-module,react/renderer/uimanager) -$(call import-module,react/utils) -$(call import-module,yogajni) -$(call import-module,react/renderer/mapbuffer) -$(call import-module,react/renderer/telemetry) diff --git a/ReactCommon/react/renderer/uimanager/Android.mk b/ReactCommon/react/renderer/uimanager/Android.mk deleted file mode 100644 index caf9cd09a7599e..00000000000000 --- a/ReactCommon/react/renderer/uimanager/Android.mk +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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_uimanager - -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)/../../../ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_STATIC_LIBRARIES := - -LOCAL_SHARED_LIBRARIES := \ - glog \ - libfolly_runtime \ - libjsi \ - libreact_debug \ - libreact_render_componentregistry \ - libreact_render_core \ - libreact_render_debug \ - libreact_render_graphics \ - libreact_render_leakchecker \ - libreact_render_runtimescheduler \ - libreact_render_mounting \ - libreact_config \ - librrc_root \ - librrc_view \ - libruntimeexecutor - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,glog) -$(call import-module,jsi) -$(call import-module,folly) -$(call import-module,react/config) -$(call import-module,react/renderer/components/root) -$(call import-module,react/renderer/components/view) -$(call import-module,react/renderer/componentregistry) -$(call import-module,react/renderer/core) -$(call import-module,react/renderer/leakchecker) -$(call import-module,react/renderer/runtimescheduler) -$(call import-module,react/renderer/debug) -$(call import-module,react/renderer/graphics) -$(call import-module,react/renderer/mounting) -$(call import-module,react/debug) -$(call import-module,runtimeexecutor) diff --git a/ReactCommon/react/utils/Android.mk b/ReactCommon/react/utils/Android.mk deleted file mode 100644 index 625a8f54e25608..00000000000000 --- a/ReactCommon/react/utils/Android.mk +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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_utils - -LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) -LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(LOCAL_SRC_FILES)) - -LOCAL_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/../../ -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../ - -LOCAL_CFLAGS := \ - -DLOG_TAG=\"Fabric\" - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -LOCAL_STATIC_LIBRARIES := -LOCAL_SHARED_LIBRARIES := \ - libglog \ - libglog_init \ - libreact_debug - -include $(BUILD_SHARED_LIBRARY) - -$(call import-module,react/debug) -$(call import-module,fbgloginit) -$(call import-module,glog) diff --git a/ReactCommon/reactperflogger/Android.mk b/ReactCommon/reactperflogger/Android.mk deleted file mode 100644 index 863a865a25d2b8..00000000000000 --- a/ReactCommon/reactperflogger/Android.mk +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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) - -# Header search path for all source files in this module. -LOCAL_C_INCLUDES := $(LOCAL_PATH)/reactperflogger - -# Header search path for modules that depend on this module -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -# Name of this module. -LOCAL_MODULE := reactperflogger - -# Compile all local c++ files under ./ReactCommon -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_STATIC_LIBRARY) diff --git a/ReactCommon/runtimeexecutor/Android.mk b/ReactCommon/runtimeexecutor/Android.mk deleted file mode 100644 index 147b1b2034a9c1..00000000000000 --- a/ReactCommon/runtimeexecutor/Android.mk +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := runtimeexecutor - -LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/ReactCommon/*.cpp) - -LOCAL_C_INCLUDES := $(LOCAL_PATH)/ReactCommon -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) - -LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall - -include $(BUILD_SHARED_LIBRARY) diff --git a/ReactCommon/yoga/Android.mk b/ReactCommon/yoga/Android.mk deleted file mode 100644 index 23231fa32979b7..00000000000000 --- a/ReactCommon/yoga/Android.mk +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and 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 := yogacore - -LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/yoga/*.cpp) -LOCAL_SRC_FILES += $(wildcard $(LOCAL_PATH)/yoga/*/*.cpp) - -LOCAL_C_INCLUDES := $(LOCAL_PATH) -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES) - -LOCAL_CFLAGS := -fexceptions -frtti -O3 - -include $(BUILD_STATIC_LIBRARY)