diff --git a/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/BUCK b/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/BUCK index 8652fd3f9ce..ad42ac54a61 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/BUCK @@ -28,7 +28,7 @@ rn_xplat_cxx_library( visibility = ["PUBLIC"], deps = [ react_native_xplat_target("better:better"), - react_native_xplat_target("config:config"), + react_native_xplat_target("react/config:config"), react_native_xplat_target("react/renderer/animations:animations"), react_native_xplat_target("react/renderer/uimanager:uimanager"), react_native_xplat_target("react/renderer/scheduler:scheduler"), diff --git a/ReactCommon/config/.clang-tidy b/ReactCommon/react/config/.clang-tidy similarity index 100% rename from ReactCommon/config/.clang-tidy rename to ReactCommon/react/config/.clang-tidy diff --git a/ReactCommon/react/config/Android.mk b/ReactCommon/react/config/Android.mk new file mode 100644 index 00000000000..ace2aa69ddf --- /dev/null +++ b/ReactCommon/react/config/Android.mk @@ -0,0 +1,25 @@ +# Copyright (c) Facebook, Inc. and its affiliates. +# +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this source tree. + +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) + +LOCAL_MODULE := reactconfig + +LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) + +LOCAL_C_INCLUDES := $(LOCAL_PATH) +LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../ + +LOCAL_CFLAGS := \ + -DLOG_TAG=\"Fabric\" + +LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall + +LOCAL_STATIC_LIBRARIES := +LOCAL_SHARED_LIBRARIES := + +include $(BUILD_SHARED_LIBRARY) diff --git a/ReactCommon/config/BUCK b/ReactCommon/react/config/BUCK similarity index 100% rename from ReactCommon/config/BUCK rename to ReactCommon/react/config/BUCK diff --git a/ReactCommon/config/ReactNativeConfig.cpp b/ReactCommon/react/config/ReactNativeConfig.cpp similarity index 100% rename from ReactCommon/config/ReactNativeConfig.cpp rename to ReactCommon/react/config/ReactNativeConfig.cpp diff --git a/ReactCommon/config/ReactNativeConfig.h b/ReactCommon/react/config/ReactNativeConfig.h similarity index 100% rename from ReactCommon/config/ReactNativeConfig.h rename to ReactCommon/react/config/ReactNativeConfig.h diff --git a/ReactCommon/react/renderer/animations/BUCK b/ReactCommon/react/renderer/animations/BUCK index 93bc2e7ef3f..fa32109a75d 100644 --- a/ReactCommon/react/renderer/animations/BUCK +++ b/ReactCommon/react/renderer/animations/BUCK @@ -58,7 +58,7 @@ rn_xplat_cxx_library( "//xplat/folly:molly", "//xplat/jsi:JSIDynamic", "//xplat/jsi:jsi", - react_native_xplat_target("config:config"), + react_native_xplat_target("react/config:config"), react_native_xplat_target("react/renderer/componentregistry:componentregistry"), react_native_xplat_target("react/renderer/components/view:view"), react_native_xplat_target("react/renderer/core:core"), @@ -85,7 +85,7 @@ fb_xplat_cxx_test( ":animations", "//xplat/folly:molly", "//xplat/third-party/gmock:gtest", - react_native_xplat_target("config:config"), + react_native_xplat_target("react/config:config"), react_native_xplat_target("react/renderer/components/activityindicator:activityindicator"), react_native_xplat_target("react/renderer/components/image:image"), react_native_xplat_target("react/renderer/components/root:root"), diff --git a/ReactCommon/react/renderer/scheduler/BUCK b/ReactCommon/react/renderer/scheduler/BUCK index 87f147704f5..915a5e64e9c 100644 --- a/ReactCommon/react/renderer/scheduler/BUCK +++ b/ReactCommon/react/renderer/scheduler/BUCK @@ -59,7 +59,7 @@ rn_xplat_cxx_library( react_native_xplat_target("react/renderer/mounting:mounting"), react_native_xplat_target("react/renderer/uimanager:uimanager"), react_native_xplat_target("react/renderer/templateprocessor:templateprocessor"), - react_native_xplat_target("config:config"), + react_native_xplat_target("react/config:config"), react_native_xplat_target("react/renderer/componentregistry:componentregistry"), react_native_xplat_target("react/renderer/debug:debug"), react_native_xplat_target("react/renderer/components/root:root"), diff --git a/ReactCommon/react/renderer/templateprocessor/BUCK b/ReactCommon/react/renderer/templateprocessor/BUCK index b4562085b1e..4cd1046e913 100644 --- a/ReactCommon/react/renderer/templateprocessor/BUCK +++ b/ReactCommon/react/renderer/templateprocessor/BUCK @@ -61,7 +61,7 @@ rn_xplat_cxx_library( react_native_xplat_target("react/renderer/uimanager:uimanager"), react_native_xplat_target("react/renderer/componentregistry:componentregistry"), react_native_xplat_target("react/renderer/debug:debug"), - react_native_xplat_target("config:config"), + react_native_xplat_target("react/config:config"), react_native_xplat_target("utils:utils"), ], ) @@ -82,7 +82,7 @@ fb_xplat_cxx_test( ":templateprocessor", "//xplat/folly:molly", "//xplat/third-party/gmock:gtest", - react_native_xplat_target("config:config"), + react_native_xplat_target("react/config:config"), react_native_xplat_target("react/renderer/components/activityindicator:activityindicator"), react_native_xplat_target("react/renderer/components/image:image"), react_native_xplat_target("react/renderer/components/root:root"), diff --git a/ReactCommon/react/renderer/uimanager/BUCK b/ReactCommon/react/renderer/uimanager/BUCK index 6cddfe741ab..a5959609aac 100644 --- a/ReactCommon/react/renderer/uimanager/BUCK +++ b/ReactCommon/react/renderer/uimanager/BUCK @@ -57,7 +57,7 @@ rn_xplat_cxx_library( "//xplat/folly:molly", "//xplat/jsi:JSIDynamic", "//xplat/jsi:jsi", - react_native_xplat_target("config:config"), + react_native_xplat_target("react/config:config"), react_native_xplat_target("react/renderer/components/view:view"), react_native_xplat_target("react/renderer/mounting:mounting"), react_native_xplat_target("react/renderer/core:core"), @@ -83,7 +83,7 @@ fb_xplat_cxx_test( ":uimanager", "//xplat/folly:molly", "//xplat/third-party/gmock:gtest", - react_native_xplat_target("config:config"), + react_native_xplat_target("react/config:config"), react_native_xplat_target("react/renderer/components/activityindicator:activityindicator"), react_native_xplat_target("react/renderer/components/image:image"), react_native_xplat_target("react/renderer/components/root:root"),