From 95bd4a0a9e073cd11d0e686422a0482aa7a14be2 Mon Sep 17 00:00:00 2001 From: Valentin Shergin Date: Sun, 15 Jul 2018 16:46:33 -0700 Subject: [PATCH] Fabric: `activityindicator` module was moved to `components` subdirectory Summary: @public Trivial. We move all components into `/components/` subdirectory. Reviewed By: mdvacca Differential Revision: D8757015 fbshipit-source-id: 9b676728bf1aa4aa14345fa11a5b4a1f9f7ed472 --- .../RCTActivityIndicatorViewComponentView.mm | 2 +- .../ActivityIndicatorViewComponentDescriptor.h | 2 +- .../activityindicator/ActivityIndicatorViewProps.cpp | 4 ++-- .../activityindicator/ActivityIndicatorViewProps.h | 2 +- .../activityindicator/ActivityIndicatorViewShadowNode.cpp | 2 +- .../activityindicator/ActivityIndicatorViewShadowNode.h | 2 +- ReactCommon/fabric/{ => components}/activityindicator/BUCK | 2 +- .../fabric/{ => components}/activityindicator/conversions.h | 2 +- .../fabric/{ => components}/activityindicator/primitives.h | 0 .../activityindicator/tests/ActivityIndicatorViewTest.cpp | 0 10 files changed, 9 insertions(+), 9 deletions(-) rename ReactCommon/fabric/{ => components}/activityindicator/ActivityIndicatorViewComponentDescriptor.h (84%) rename ReactCommon/fabric/{ => components}/activityindicator/ActivityIndicatorViewProps.cpp (84%) rename ReactCommon/fabric/{ => components}/activityindicator/ActivityIndicatorViewProps.h (93%) rename ReactCommon/fabric/{ => components}/activityindicator/ActivityIndicatorViewShadowNode.cpp (83%) rename ReactCommon/fabric/{ => components}/activityindicator/ActivityIndicatorViewShadowNode.h (89%) rename ReactCommon/fabric/{ => components}/activityindicator/BUCK (97%) rename ReactCommon/fabric/{ => components}/activityindicator/conversions.h (93%) rename ReactCommon/fabric/{ => components}/activityindicator/primitives.h (100%) rename ReactCommon/fabric/{ => components}/activityindicator/tests/ActivityIndicatorViewTest.cpp (100%) diff --git a/React/Fabric/Mounting/ComponentViews/ActivityIndicator/RCTActivityIndicatorViewComponentView.mm b/React/Fabric/Mounting/ComponentViews/ActivityIndicator/RCTActivityIndicatorViewComponentView.mm index e275169a1..2e883cb0c 100644 --- a/React/Fabric/Mounting/ComponentViews/ActivityIndicator/RCTActivityIndicatorViewComponentView.mm +++ b/React/Fabric/Mounting/ComponentViews/ActivityIndicator/RCTActivityIndicatorViewComponentView.mm @@ -7,7 +7,7 @@ #import "RCTActivityIndicatorViewComponentView.h" -#import +#import using namespace facebook::react; diff --git a/ReactCommon/fabric/activityindicator/ActivityIndicatorViewComponentDescriptor.h b/ReactCommon/fabric/components/activityindicator/ActivityIndicatorViewComponentDescriptor.h similarity index 84% rename from ReactCommon/fabric/activityindicator/ActivityIndicatorViewComponentDescriptor.h rename to ReactCommon/fabric/components/activityindicator/ActivityIndicatorViewComponentDescriptor.h index 933b8ad59..81ce66cac 100644 --- a/ReactCommon/fabric/activityindicator/ActivityIndicatorViewComponentDescriptor.h +++ b/ReactCommon/fabric/components/activityindicator/ActivityIndicatorViewComponentDescriptor.h @@ -7,7 +7,7 @@ #pragma once -#include +#include #include namespace facebook { diff --git a/ReactCommon/fabric/activityindicator/ActivityIndicatorViewProps.cpp b/ReactCommon/fabric/components/activityindicator/ActivityIndicatorViewProps.cpp similarity index 84% rename from ReactCommon/fabric/activityindicator/ActivityIndicatorViewProps.cpp rename to ReactCommon/fabric/components/activityindicator/ActivityIndicatorViewProps.cpp index cfe19d0ee..5f0441f3b 100644 --- a/ReactCommon/fabric/activityindicator/ActivityIndicatorViewProps.cpp +++ b/ReactCommon/fabric/components/activityindicator/ActivityIndicatorViewProps.cpp @@ -5,8 +5,8 @@ * LICENSE file in the root directory of this source tree. */ -#include -#include +#include +#include #include namespace facebook { diff --git a/ReactCommon/fabric/activityindicator/ActivityIndicatorViewProps.h b/ReactCommon/fabric/components/activityindicator/ActivityIndicatorViewProps.h similarity index 93% rename from ReactCommon/fabric/activityindicator/ActivityIndicatorViewProps.h rename to ReactCommon/fabric/components/activityindicator/ActivityIndicatorViewProps.h index 7b128b308..5a960642e 100644 --- a/ReactCommon/fabric/activityindicator/ActivityIndicatorViewProps.h +++ b/ReactCommon/fabric/components/activityindicator/ActivityIndicatorViewProps.h @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -#include +#include #include #include diff --git a/ReactCommon/fabric/activityindicator/ActivityIndicatorViewShadowNode.cpp b/ReactCommon/fabric/components/activityindicator/ActivityIndicatorViewShadowNode.cpp similarity index 83% rename from ReactCommon/fabric/activityindicator/ActivityIndicatorViewShadowNode.cpp rename to ReactCommon/fabric/components/activityindicator/ActivityIndicatorViewShadowNode.cpp index d6a512930..a19b2f717 100644 --- a/ReactCommon/fabric/activityindicator/ActivityIndicatorViewShadowNode.cpp +++ b/ReactCommon/fabric/components/activityindicator/ActivityIndicatorViewShadowNode.cpp @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -#include +#include namespace facebook { namespace react { diff --git a/ReactCommon/fabric/activityindicator/ActivityIndicatorViewShadowNode.h b/ReactCommon/fabric/components/activityindicator/ActivityIndicatorViewShadowNode.h similarity index 89% rename from ReactCommon/fabric/activityindicator/ActivityIndicatorViewShadowNode.h rename to ReactCommon/fabric/components/activityindicator/ActivityIndicatorViewShadowNode.h index 0e57b37f7..c93462d84 100644 --- a/ReactCommon/fabric/activityindicator/ActivityIndicatorViewShadowNode.h +++ b/ReactCommon/fabric/components/activityindicator/ActivityIndicatorViewShadowNode.h @@ -7,7 +7,7 @@ #pragma once -#include +#include #include namespace facebook { diff --git a/ReactCommon/fabric/activityindicator/BUCK b/ReactCommon/fabric/components/activityindicator/BUCK similarity index 97% rename from ReactCommon/fabric/activityindicator/BUCK rename to ReactCommon/fabric/components/activityindicator/BUCK index 3131363a7..279f207d8 100644 --- a/ReactCommon/fabric/activityindicator/BUCK +++ b/ReactCommon/fabric/components/activityindicator/BUCK @@ -15,7 +15,7 @@ rn_xplat_cxx_library( [ ("", "*.h"), ], - prefix = "fabric/activityindicator", + prefix = "fabric/components/activityindicator", ), compiler_flags = [ "-fexceptions", diff --git a/ReactCommon/fabric/activityindicator/conversions.h b/ReactCommon/fabric/components/activityindicator/conversions.h similarity index 93% rename from ReactCommon/fabric/activityindicator/conversions.h rename to ReactCommon/fabric/components/activityindicator/conversions.h index 33b56b05f..6d04cca31 100644 --- a/ReactCommon/fabric/activityindicator/conversions.h +++ b/ReactCommon/fabric/components/activityindicator/conversions.h @@ -7,7 +7,7 @@ #pragma once -#include +#include #include namespace facebook { diff --git a/ReactCommon/fabric/activityindicator/primitives.h b/ReactCommon/fabric/components/activityindicator/primitives.h similarity index 100% rename from ReactCommon/fabric/activityindicator/primitives.h rename to ReactCommon/fabric/components/activityindicator/primitives.h diff --git a/ReactCommon/fabric/activityindicator/tests/ActivityIndicatorViewTest.cpp b/ReactCommon/fabric/components/activityindicator/tests/ActivityIndicatorViewTest.cpp similarity index 100% rename from ReactCommon/fabric/activityindicator/tests/ActivityIndicatorViewTest.cpp rename to ReactCommon/fabric/components/activityindicator/tests/ActivityIndicatorViewTest.cpp