mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
fix cmake empty spaces and naming (#52186)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52186 Changelog: [Internal] Minor fixes to spacing in cmake files and naming inconsistency Reviewed By: cortinico Differential Revision: D77141854 fbshipit-source-id: d1e12e571dbc0f7630d9d38faad7b22d0833dd2f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9612d2e225
commit
7b7b538d6b
+2
-2
@@ -8,8 +8,8 @@ set(CMAKE_VERBOSE_MAKEFILE on)
|
||||
|
||||
include(${REACT_COMMON_DIR}/cmake-utils/react-native-flags.cmake)
|
||||
|
||||
file(GLOB react_nativemodule_webperformance_SRC CONFIGURE_DEPENDS *.cpp internal/*.cpp)
|
||||
add_library(react_nativemodule_fantomspecificmethods OBJECT ${react_nativemodule_webperformance_SRC})
|
||||
file(GLOB react_nativemodule_fantomspecificmethods_SRC CONFIGURE_DEPENDS *.cpp internal/*.cpp)
|
||||
add_library(react_nativemodule_fantomspecificmethods OBJECT ${react_nativemodule_fantomspecificmethods_SRC})
|
||||
|
||||
target_include_directories(react_nativemodule_fantomspecificmethods PUBLIC ${REACT_COMMON_DIR})
|
||||
target_include_directories(react_nativemodule_fantomspecificmethods PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/internal)
|
||||
|
||||
+2
-2
@@ -8,8 +8,8 @@ set(CMAKE_VERBOSE_MAKEFILE on)
|
||||
|
||||
include(${REACT_COMMON_DIR}/cmake-utils/react-native-flags.cmake)
|
||||
|
||||
file(GLOB react_nativemodule_webperformance_SRC CONFIGURE_DEPENDS *.cpp)
|
||||
add_library(react_nativemodule_intersectionobserver OBJECT ${react_nativemodule_webperformance_SRC})
|
||||
file(GLOB react_nativemodule_intersectionobserver_SRC CONFIGURE_DEPENDS *.cpp)
|
||||
add_library(react_nativemodule_intersectionobserver OBJECT ${react_nativemodule_intersectionobserver_SRC})
|
||||
|
||||
target_include_directories(react_nativemodule_intersectionobserver PUBLIC ${REACT_COMMON_DIR})
|
||||
|
||||
|
||||
+6
-6
@@ -5,14 +5,14 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
set(CMAKE_VERBOSE_MAKEFILE on)
|
||||
|
||||
|
||||
include(${REACT_COMMON_DIR}/cmake-utils/react-native-flags.cmake)
|
||||
|
||||
file(GLOB react_nativemodule_webperformance_SRC CONFIGURE_DEPENDS *.cpp)
|
||||
add_library(react_nativemodule_mutationobserver OBJECT ${react_nativemodule_webperformance_SRC})
|
||||
|
||||
|
||||
file(GLOB react_nativemodule_mutationobserver_SRC CONFIGURE_DEPENDS *.cpp)
|
||||
add_library(react_nativemodule_mutationobserver OBJECT ${react_nativemodule_mutationobserver_SRC})
|
||||
|
||||
target_include_directories(react_nativemodule_mutationobserver PUBLIC ${REACT_COMMON_DIR})
|
||||
|
||||
|
||||
target_link_libraries(react_nativemodule_mutationobserver
|
||||
react_codegen_rncore
|
||||
react_renderer_bridging
|
||||
|
||||
+2
-2
@@ -8,8 +8,8 @@ set(CMAKE_VERBOSE_MAKEFILE on)
|
||||
|
||||
include(${REACT_COMMON_DIR}/cmake-utils/react-native-flags.cmake)
|
||||
|
||||
file(GLOB react_nativemodule_webperformance_SRC CONFIGURE_DEPENDS *.cpp)
|
||||
add_library(react_renderer_observers_intersection OBJECT ${react_nativemodule_webperformance_SRC})
|
||||
file(GLOB react_renderer_observers_intersection_SRC CONFIGURE_DEPENDS *.cpp)
|
||||
add_library(react_renderer_observers_intersection OBJECT ${react_renderer_observers_intersection_SRC})
|
||||
|
||||
target_include_directories(react_renderer_observers_intersection PUBLIC ${REACT_COMMON_DIR})
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@ set(CMAKE_VERBOSE_MAKEFILE on)
|
||||
|
||||
include(${REACT_COMMON_DIR}/cmake-utils/react-native-flags.cmake)
|
||||
|
||||
file(GLOB react_nativemodule_webperformance_SRC CONFIGURE_DEPENDS *.cpp)
|
||||
add_library(react_renderer_observers_mutation OBJECT ${react_nativemodule_webperformance_SRC})
|
||||
file(GLOB react_renderer_observers_mutation_SRC CONFIGURE_DEPENDS *.cpp)
|
||||
add_library(react_renderer_observers_mutation OBJECT ${react_renderer_observers_mutation_SRC})
|
||||
|
||||
target_include_directories(react_renderer_observers_mutation PUBLIC ${REACT_COMMON_DIR})
|
||||
|
||||
|
||||
@@ -5,14 +5,14 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
set(CMAKE_VERBOSE_MAKEFILE on)
|
||||
|
||||
|
||||
include(${REACT_COMMON_DIR}/cmake-utils/react-native-flags.cmake)
|
||||
|
||||
|
||||
file(GLOB react_cxx_platform_react_coremodules_SRC CONFIGURE_DEPENDS *.cpp)
|
||||
add_library(react_cxx_platform_react_coremodules OBJECT ${react_cxx_platform_react_coremodules_SRC})
|
||||
|
||||
|
||||
target_include_directories(react_cxx_platform_react_coremodules PUBLIC ${REACT_CXX_PLATFORM_DIR})
|
||||
|
||||
|
||||
target_link_libraries(react_cxx_platform_react_coremodules
|
||||
folly_runtime
|
||||
jsi
|
||||
|
||||
@@ -5,14 +5,14 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
set(CMAKE_VERBOSE_MAKEFILE on)
|
||||
|
||||
|
||||
include(${REACT_COMMON_DIR}/cmake-utils/react-native-flags.cmake)
|
||||
|
||||
|
||||
file(GLOB react_cxx_platform_react_renderer_scheduler_SRC CONFIGURE_DEPENDS *.cpp)
|
||||
add_library(react_cxx_platform_react_renderer_scheduler OBJECT ${react_cxx_platform_react_renderer_scheduler_SRC})
|
||||
|
||||
|
||||
target_include_directories(react_cxx_platform_react_renderer_scheduler PUBLIC ${REACT_CXX_PLATFORM_DIR})
|
||||
|
||||
|
||||
target_link_libraries(react_cxx_platform_react_renderer_scheduler
|
||||
react_renderer_mounting
|
||||
react_renderer_scheduler
|
||||
|
||||
Reference in New Issue
Block a user