diff --git a/packages/react-native/ReactCommon/react/renderer/graphics/Geometry.h b/packages/react-native/ReactCommon/react/renderer/graphics/Geometry.h deleted file mode 100644 index a80206099457..000000000000 --- a/packages/react-native/ReactCommon/react/renderer/graphics/Geometry.h +++ /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. - */ - -#pragma once - -#include -#include -#include -#include -#include -#include -#include - -#warning \ - "The Geometry.h file is deprecated and will be removed in the next version of React Native. Please update your #include and #import statements to use the specific files. For example, if you imported Geometry.h to use Float.h, replase the #include with #include " diff --git a/packages/react-native/ReactCommon/react/renderer/graphics/conversions.h b/packages/react-native/ReactCommon/react/renderer/graphics/conversions.h deleted file mode 100644 index e8a016d8958c..000000000000 --- a/packages/react-native/ReactCommon/react/renderer/graphics/conversions.h +++ /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. - */ - -#pragma once - -#include - -// This file belongs to the React-graphics module. -// This file also used to have a reference to two files that are located in the -// react/renderer/core folder. That folder belongs to a module that is called -// React-Fabric. -// The React-Fabric module declares an explicit dependency on -// React-graphics. Including those files in a React-graphics' file created a -// circular dependency because React-Fabric was explicitly depending on -// React-graphics, which was implicitly depending on React-Fabric. We break that -// dependency by moving the old `graphics/conversions.h` file to the -// React-Fabric module and renaming it `core/graphicsConversions.h`. - -#warning \ - "[DEPRECATION] `graphics/conversions.h` is deprecated and will be removed in the future. \ - If this warning appears due to a library, please open an issue in that library, and ask for an update. \ - Please, replace the `#include ` statements \ - with `#include `."