From b5e4fea86ef9df1ed0edb438f918dfc8330f649c Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Wed, 15 Feb 2023 04:17:06 -0800 Subject: [PATCH] Move graphics' platform/ios files to graphics/platform/ios/react/renderer/graphics folder structure Summary: To Properly setup the Header Search Paths for `use_frameworks!`, we need to move the files that are in the `react/renderer/graphics/platform/ios` folder into the `react/renderer/graphics/platform/ios/react/renderer/graphics` folder. This mimic the same folder structure we have also in `cxx` and `android` ## Changelog: [iOS][Changed] - Moved the files from `.../platform/ios` to `.../platform/ios/react/renderer/graphics` Reviewed By: sshic Differential Revision: D43082032 fbshipit-source-id: 519d2e12eb7edd50b5f71bac5b1c618c6bf89919 --- ReactCommon/react/renderer/graphics/BUCK | 4 +++- .../platform/ios/{ => react/renderer/graphics}/Float.h | 0 .../ios/{ => react/renderer/graphics}/PlatformColorParser.h | 0 .../ios/{ => react/renderer/graphics}/RCTPlatformColorUtils.h | 0 .../{ => react/renderer/graphics}/RCTPlatformColorUtils.mm | 0 5 files changed, 3 insertions(+), 1 deletion(-) rename ReactCommon/react/renderer/graphics/platform/ios/{ => react/renderer/graphics}/Float.h (100%) rename ReactCommon/react/renderer/graphics/platform/ios/{ => react/renderer/graphics}/PlatformColorParser.h (100%) rename ReactCommon/react/renderer/graphics/platform/ios/{ => react/renderer/graphics}/RCTPlatformColorUtils.h (100%) rename ReactCommon/react/renderer/graphics/platform/ios/{ => react/renderer/graphics}/RCTPlatformColorUtils.mm (100%) diff --git a/ReactCommon/react/renderer/graphics/BUCK b/ReactCommon/react/renderer/graphics/BUCK index c41482d5a464e1..5c103d48d3fe82 100644 --- a/ReactCommon/react/renderer/graphics/BUCK +++ b/ReactCommon/react/renderer/graphics/BUCK @@ -14,6 +14,8 @@ load( "subdir_glob", ) +oncall("react_native") + APPLE_COMPILER_FLAGS = get_apple_compiler_flags() rn_xplat_cxx_library( @@ -67,7 +69,7 @@ rn_xplat_cxx_library( fbobjc_compiler_flags = APPLE_COMPILER_FLAGS, fbobjc_exported_headers = subdir_glob( [ - ("platform/ios", "*.h"), + ("platform/ios/react/renderer/graphics", "*.h"), ], prefix = "react/renderer/graphics", ), diff --git a/ReactCommon/react/renderer/graphics/platform/ios/Float.h b/ReactCommon/react/renderer/graphics/platform/ios/react/renderer/graphics/Float.h similarity index 100% rename from ReactCommon/react/renderer/graphics/platform/ios/Float.h rename to ReactCommon/react/renderer/graphics/platform/ios/react/renderer/graphics/Float.h diff --git a/ReactCommon/react/renderer/graphics/platform/ios/PlatformColorParser.h b/ReactCommon/react/renderer/graphics/platform/ios/react/renderer/graphics/PlatformColorParser.h similarity index 100% rename from ReactCommon/react/renderer/graphics/platform/ios/PlatformColorParser.h rename to ReactCommon/react/renderer/graphics/platform/ios/react/renderer/graphics/PlatformColorParser.h diff --git a/ReactCommon/react/renderer/graphics/platform/ios/RCTPlatformColorUtils.h b/ReactCommon/react/renderer/graphics/platform/ios/react/renderer/graphics/RCTPlatformColorUtils.h similarity index 100% rename from ReactCommon/react/renderer/graphics/platform/ios/RCTPlatformColorUtils.h rename to ReactCommon/react/renderer/graphics/platform/ios/react/renderer/graphics/RCTPlatformColorUtils.h diff --git a/ReactCommon/react/renderer/graphics/platform/ios/RCTPlatformColorUtils.mm b/ReactCommon/react/renderer/graphics/platform/ios/react/renderer/graphics/RCTPlatformColorUtils.mm similarity index 100% rename from ReactCommon/react/renderer/graphics/platform/ios/RCTPlatformColorUtils.mm rename to ReactCommon/react/renderer/graphics/platform/ios/react/renderer/graphics/RCTPlatformColorUtils.mm