Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ add_compile_options(
-std=c++20
-O3)

file(GLOB yoga_SRC CONFIGURE_DEPENDS jni/*.cpp)
file(GLOB yoga_SRC jni/*.cpp)
add_library(yoga OBJECT ${yoga_SRC})

target_include_directories(yoga PUBLIC jni)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ add_compile_options(-fexceptions -frtti -std=c++20 -Wall -DLOG_TAG=\"ReactNative

include(${REACT_ANDROID_DIR}/src/main/jni/first-party/jni-lib-merge/SoMerging-utils.cmake)

file(GLOB react_devsupportjni_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB react_devsupportjni_SRC *.cpp)

add_library(react_devsupportjni OBJECT ${react_devsupportjni_SRC})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 3.13)

include(${REACT_ANDROID_DIR}/src/main/jni/first-party/jni-lib-merge/SoMerging-utils.cmake)

file(GLOB fabricjni_SRCS CONFIGURE_DEPENDS *.cpp)
file(GLOB fabricjni_SRCS *.cpp)

add_library(
fabricjni
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 3.13)

include(${REACT_ANDROID_DIR}/src/main/jni/first-party/jni-lib-merge/SoMerging-utils.cmake)

file(GLOB react_featureflagsjni_SRCS CONFIGURE_DEPENDS *.cpp)
file(GLOB react_featureflagsjni_SRCS *.cpp)

add_library(
react_featureflagsjni
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
cmake_minimum_required(VERSION 3.13)
set(CMAKE_VERBOSE_MAKEFILE on)

file(GLOB_RECURSE jsijniprofiler_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB_RECURSE jsijniprofiler_SRC *.cpp)

include(${REACT_ANDROID_DIR}/src/main/jni/first-party/jni-lib-merge/SoMerging-utils.cmake)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
cmake_minimum_required(VERSION 3.13)
set(CMAKE_VERBOSE_MAKEFILE on)

file(GLOB_RECURSE hermes_executor_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB_RECURSE hermes_executor_SRC *.cpp)

include(${REACT_ANDROID_DIR}/src/main/jni/first-party/jni-lib-merge/SoMerging-utils.cmake)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
cmake_minimum_required(VERSION 3.13)
set(CMAKE_VERBOSE_MAKEFILE on)

file(GLOB reactnativejni_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB reactnativejni_SRC *.cpp)

add_compile_options(
-fexceptions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ add_compile_options(-fvisibility=hidden -fexceptions -frtti)

include(${REACT_ANDROID_DIR}/src/main/jni/first-party/jni-lib-merge/SoMerging-utils.cmake)

file(GLOB jscexecutor_SRC CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
file(GLOB jscexecutor_SRC ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
add_library(jscexecutor OBJECT ${jscexecutor_SRC})

target_include_directories(jscexecutor PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ include(${REACT_ANDROID_DIR}/src/main/jni/first-party/jni-lib-merge/SoMerging-ut

add_compile_options(-fexceptions -frtti -std=c++20 -Wall -DLOG_TAG=\"Fabric\")

file(GLOB mapbuffer_SRC CONFIGURE_DEPENDS
file(GLOB mapbuffer_SRC
${CMAKE_CURRENT_SOURCE_DIR}/react/common/mapbuffer/*.cpp)

add_library(mapbufferjni OBJECT ${mapbuffer_SRC})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ add_compile_options(-fexceptions
-Wall
-DLOG_TAG=\"ReactNative\")

file(GLOB react_newarchdefaults_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB react_newarchdefaults_SRC *.cpp)

add_library(react_newarchdefaults OBJECT ${react_newarchdefaults_SRC})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ add_compile_options(-fvisibility=hidden -fexceptions -frtti)

include(${REACT_ANDROID_DIR}/src/main/jni/first-party/jni-lib-merge/SoMerging-utils.cmake)

file(GLOB reactnativeblob_SRC CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
file(GLOB reactnativeblob_SRC ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
add_library(reactnativeblob OBJECT ${reactnativeblob_SRC})

target_include_directories(reactnativeblob PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set(CMAKE_VERBOSE_MAKEFILE on)

include(${REACT_ANDROID_DIR}/src/main/jni/first-party/jni-lib-merge/SoMerging-utils.cmake)

file(GLOB_RECURSE hermes_instance_jni_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB_RECURSE hermes_instance_jni_SRC *.cpp)

add_library(hermesinstancejni
OBJECT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set(CMAKE_VERBOSE_MAKEFILE on)

include(${REACT_ANDROID_DIR}/src/main/jni/first-party/jni-lib-merge/SoMerging-utils.cmake)

file(GLOB_RECURSE bridgeless_jni_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB_RECURSE bridgeless_jni_SRC *.cpp)

add_library(rninstance
OBJECT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ add_compile_options(-fvisibility=hidden -fexceptions -frtti)

include(${REACT_ANDROID_DIR}/src/main/jni/first-party/jni-lib-merge/SoMerging-utils.cmake)

file(GLOB jscinstance_SRC CONFIGURE_DEPENDS "*.cpp")
file(GLOB jscinstance_SRC "*.cpp")

add_library(jscinstance OBJECT ${jscinstance_SRC})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ add_compile_options(-fexceptions -frtti -std=c++20 -Wall -DLOG_TAG=\"ReactNative

include(${REACT_ANDROID_DIR}/src/main/jni/first-party/jni-lib-merge/SoMerging-utils.cmake)

file(GLOB uimanagerjni_SRC CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
file(GLOB uimanagerjni_SRC ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
add_library(uimanagerjni
OBJECT
${uimanagerjni_SRC}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ set(CMAKE_VERBOSE_MAKEFILE on)
ENABLE_LANGUAGE(ASM)
file(GLOB_RECURSE
boostasm_SRC
CONFIGURE_DEPENDS

${CMAKE_CURRENT_SOURCE_DIR}/asm/${ANDROID_ABI}/*.S)
add_library(boost STATIC ${boostasm_SRC})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ add_compile_options(
-Wno-unused-lambda-capture
-DLOG_TAG=\"ReactNative\")

file(GLOB react_cxxreact_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB react_cxxreact_SRC *.cpp)
add_library(react_cxxreact OBJECT ${react_cxxreact_SRC})

target_include_directories(react_cxxreact PUBLIC ${REACT_COMMON_DIR})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set(CMAKE_VERBOSE_MAKEFILE on)

add_compile_options(-std=c++20)

file(GLOB_RECURSE hermes_executor_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB_RECURSE hermes_executor_SRC *.cpp)
add_library(
hermes_executor_common
OBJECT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
cmake_minimum_required(VERSION 3.13)
set(CMAKE_VERBOSE_MAKEFILE on)

file(GLOB hermesinspectormodern_SRC CONFIGURE_DEPENDS chrome/*.cpp)
file(GLOB hermesinspectormodern_SRC chrome/*.cpp)

add_library(hermes_inspector_modern
OBJECT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set(CMAKE_VERBOSE_MAKEFILE on)

add_compile_options(-std=c++20)

file(GLOB js_error_handler_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB js_error_handler_SRC *.cpp)
add_library(
jserrorhandler
OBJECT
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/ReactCommon/jsi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ add_compile_options(
-Wno-unused-lambda-capture
-DLOG_TAG=\"ReactNative\")

file(GLOB jsi_SRC CONFIGURE_DEPENDS jsi/*.cpp)
file(GLOB jsi_SRC jsi/*.cpp)
add_library(jsi SHARED ${jsi_SRC})

target_include_directories(jsi PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ add_compile_options(

include(${REACT_ANDROID_DIR}/src/main/jni/first-party/jni-lib-merge/SoMerging-utils.cmake)

file(GLOB jsinspector_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB jsinspector_SRC *.cpp)
# jsinspector contains singletons that hold app-global state (InspectorFlags, InspectorImpl).
# Placing it in a shared library makes the singletons safe to use from arbitrary shared libraries
# (even ones that don't depend on one another).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ add_compile_options(
-Wall
-Wpedantic)

file(GLOB jsinspector_tracing_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB jsinspector_tracing_SRC *.cpp)

add_library(jsinspector_tracing OBJECT ${jsinspector_tracing_SRC})
target_merge_so(jsinspector_tracing)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ add_compile_options(
-Wpedantic
-DLOG_TAG=\"ReactNative\")

file(GLOB jsitooling_SRC CONFIGURE_DEPENDS react/runtime/*.cpp)
file(GLOB jsitooling_SRC react/runtime/*.cpp)
add_library(jsitooling OBJECT ${jsitooling_SRC})

target_include_directories(jsitooling
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/ReactCommon/logger/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set(CMAKE_VERBOSE_MAKEFILE on)

add_compile_options(-fexceptions)

file(GLOB logger_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB logger_SRC *.cpp)
add_library(logger OBJECT ${logger_SRC})

target_include_directories(logger PUBLIC .)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set(CMAKE_VERBOSE_MAKEFILE on)

add_compile_options(-fexceptions)

file(GLOB oscompat_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB oscompat_SRC *.cpp)
add_library(oscompat OBJECT ${oscompat_SRC})

target_include_directories(oscompat PUBLIC .)
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ add_compile_options(
-Wpedantic
-DLOG_TAG=\"ReactNative\")

file(GLOB react_bridging_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB react_bridging_SRC *.cpp)

add_library(react_bridging OBJECT ${react_bridging_SRC})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ add_compile_options(
-DLOG_TAG=\"Fabric\")


file(GLOB react_debug_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB react_debug_SRC *.cpp)
add_library(react_debug OBJECT ${react_debug_SRC})

target_include_directories(react_debug PUBLIC ${REACT_COMMON_DIR})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ add_compile_options(
-Wpedantic
-DLOG_TAG=\"ReactNative\")

file(GLOB react_featureflags_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB react_featureflags_SRC *.cpp)
add_library(react_featureflags OBJECT ${react_featureflags_SRC})

target_include_directories(react_featureflags PUBLIC ${REACT_COMMON_DIR})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ add_compile_options(
-DLOG_TAG=\"ReactNative\")


file(GLOB react_nativemodule_core_SRC CONFIGURE_DEPENDS
file(GLOB react_nativemodule_core_SRC
ReactCommon/*.cpp
platform/android/ReactCommon/*.cpp)
add_library(react_nativemodule_core
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ add_compile_options(
-Wpedantic
-DLOG_TAG=\"ReactNative\")

file(GLOB react_nativemodule_defaults_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB react_nativemodule_defaults_SRC *.cpp)
add_library(react_nativemodule_defaults OBJECT ${react_nativemodule_defaults_SRC})

target_include_directories(react_nativemodule_defaults PUBLIC ${REACT_COMMON_DIR})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ add_compile_options(
-Wpedantic
-DLOG_TAG=\"ReactNative\")

file(GLOB react_nativemodule_devtoolsruntimesettings_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB react_nativemodule_devtoolsruntimesettings_SRC *.cpp)
add_library(react_nativemodule_devtoolsruntimesettings OBJECT ${react_nativemodule_devtoolsruntimesettings_SRC})

target_include_directories(react_nativemodule_devtoolsruntimesettings PUBLIC ${REACT_COMMON_DIR})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ add_compile_options(
-Wpedantic
-DLOG_TAG=\"ReactNative\")

file(GLOB react_nativemodule_dom_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB react_nativemodule_dom_SRC *.cpp)
add_library(react_nativemodule_dom
OBJECT
${react_nativemodule_dom_SRC}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ add_compile_options(
-Wpedantic
-DLOG_TAG=\"ReactNative\")

file(GLOB react_nativemodule_featureflags_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB react_nativemodule_featureflags_SRC *.cpp)
add_library(react_nativemodule_featureflags OBJECT ${react_nativemodule_featureflags_SRC})

target_include_directories(react_nativemodule_featureflags PUBLIC ${REACT_COMMON_DIR})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ add_compile_options(
-Wpedantic
-DLOG_TAG=\"ReactNative\")

file(GLOB react_nativemodule_idlecallbacks_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB react_nativemodule_idlecallbacks_SRC *.cpp)
add_library(react_nativemodule_idlecallbacks OBJECT ${react_nativemodule_idlecallbacks_SRC})

target_include_directories(react_nativemodule_idlecallbacks PUBLIC ${REACT_COMMON_DIR})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ add_compile_options(
-Wpedantic
-DLOG_TAG=\"ReactNative\")

file(GLOB react_nativemodule_microtasks_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB react_nativemodule_microtasks_SRC *.cpp)
add_library(react_nativemodule_microtasks OBJECT ${react_nativemodule_microtasks_SRC})

target_include_directories(react_nativemodule_microtasks PUBLIC ${REACT_COMMON_DIR})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ add_compile_options(
-DFOLLY_NO_CONFIG=1
-DLOG_TAG=\"ReactNative\")

file(GLOB sampleturbomodule_SRC CONFIGURE_DEPENDS ReactCommon/*.cpp)
file(GLOB sampleturbomodule_SRC ReactCommon/*.cpp)
add_library(sampleturbomodule STATIC ${sampleturbomodule_SRC})

target_include_directories(sampleturbomodule PUBLIC .)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ add_compile_options(
-Wpedantic
-DLOG_TAG=\"ReactNative\")

file(GLOB react_performance_timeline_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB react_performance_timeline_SRC *.cpp)
add_library(react_performance_timeline OBJECT ${react_performance_timeline_SRC})

target_include_directories(react_performance_timeline PUBLIC ${REACT_COMMON_DIR})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ add_compile_options(
-Wpedantic
-DLOG_TAG=\"Fabric\")

file(GLOB react_renderer_animations_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB react_renderer_animations_SRC *.cpp)
add_library(react_renderer_animations STATIC ${react_renderer_animations_SRC})

target_include_directories(react_renderer_animations PUBLIC ${REACT_COMMON_DIR})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ add_compile_options(
-Wpedantic
-DLOG_TAG=\"Fabric\")

file(GLOB react_renderer_attributedstring_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB react_renderer_attributedstring_SRC *.cpp)
add_library(react_renderer_attributedstring OBJECT ${react_renderer_attributedstring_SRC})

target_include_directories(react_renderer_attributedstring PUBLIC ${REACT_COMMON_DIR})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ add_compile_options(
-Wpedantic
-DLOG_TAG=\"Fabric\")

file(GLOB react_renderer_componentregistry_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB react_renderer_componentregistry_SRC *.cpp)
add_library(react_renderer_componentregistry OBJECT ${react_renderer_componentregistry_SRC})

target_include_directories(react_renderer_componentregistry PUBLIC ${REACT_COMMON_DIR})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ add_compile_options(
-Wpedantic
-DLOG_TAG=\"Fabric\")

file(GLOB rrc_native_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB rrc_native_SRC *.cpp)
add_library(rrc_native OBJECT ${rrc_native_SRC})

target_include_directories(rrc_native PUBLIC ${REACT_COMMON_DIR})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ add_compile_options(
-Wpedantic
-DLOG_TAG=\"Fabric\")

file(GLOB rrc_image_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB rrc_image_SRC *.cpp)
add_library(rrc_image OBJECT ${rrc_image_SRC})

target_include_directories(rrc_image PUBLIC ${REACT_COMMON_DIR})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ add_compile_options(
-Wpedantic
-DLOG_TAG=\"Fabric\")

file(GLOB rrc_legacyviewmanagerinterop_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB rrc_legacyviewmanagerinterop_SRC *.cpp)
add_library(rrc_legacyviewmanagerinterop OBJECT ${rrc_legacyviewmanagerinterop_SRC})

target_include_directories(rrc_legacyviewmanagerinterop PUBLIC ${REACT_COMMON_DIR})
Expand Down
Loading
Loading