Skip to content

Commit 69c8a0d

Browse files
javachemeta-codesync[bot]
authored andcommitted
Flatten ReactCxxPlatform timer registry directory structure (#56536)
Summary: Pull Request resolved: #56536 Move `PlatformTimerRegistryImpl.{h,cpp}` from `platform/cxx/react/runtime/` to the top level of `ReactCxxPlatform/react/runtime/`. The `platform/cxx/` nesting was an artifact of the multi-platform build setup that is no longer needed since `:timer_registry` is a standalone target. - Remove dead `platform/cxx/react/runtime/*` glob patterns from `:runtime` BUCK target - Remove `platform/cxx/` include directory from CMakeLists.txt - Exported header path unchanged: `react/runtime/PlatformTimerRegistryImpl.h` Changelog: [Internal] Reviewed By: christophpurrer Differential Revision: D101811797
1 parent 089276a commit 69c8a0d

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

packages/react-native/ReactCxxPlatform/react/runtime/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@ set(CMAKE_VERBOSE_MAKEFILE on)
88

99
include(${REACT_COMMON_DIR}/cmake-utils/react-native-flags.cmake)
1010

11-
file(GLOB react_cxx_platform_react_runtime_SRC CONFIGURE_DEPENDS *.cpp platform/cxx/react/runtime/*.cpp)
11+
file(GLOB react_cxx_platform_react_runtime_SRC CONFIGURE_DEPENDS *.cpp)
1212
add_library(react_cxx_platform_react_runtime OBJECT ${react_cxx_platform_react_runtime_SRC})
1313

1414
target_include_directories(react_cxx_platform_react_runtime
1515
PUBLIC
16-
${REACT_CXX_PLATFORM_DIR}
17-
${CMAKE_CURRENT_SOURCE_DIR}/platform/cxx/)
16+
${REACT_CXX_PLATFORM_DIR})
1817

1918
target_link_libraries(react_cxx_platform_react_runtime
2019
bridgeless

packages/react-native/ReactCxxPlatform/react/runtime/platform/cxx/react/runtime/PlatformTimerRegistryImpl.cpp renamed to packages/react-native/ReactCxxPlatform/react/runtime/PlatformTimerRegistryImpl.cpp

File renamed without changes.

packages/react-native/ReactCxxPlatform/react/runtime/platform/cxx/react/runtime/PlatformTimerRegistryImpl.h renamed to packages/react-native/ReactCxxPlatform/react/runtime/PlatformTimerRegistryImpl.h

File renamed without changes.

0 commit comments

Comments
 (0)