mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
[LOCAL] Enable Network panel on Android and iOS (#54617)
This commit is contained in:
1 parent
6ab7738c0a
commit
eb78fbae27
2 files changed
+9
No files matched your search
@@ -21,3 +21,10 @@ target_link_libraries(react_networking
|
||||
jsinspector_tracing
|
||||
react_performance_timeline
|
||||
react_timing)
|
||||
|
||||
if(${CMAKE_BUILD_TYPE} MATCHES Debug OR REACT_NATIVE_DEBUG_OPTIMIZED)
|
||||
target_compile_options(react_networking PRIVATE
|
||||
-DREACT_NATIVE_DEBUGGER_ENABLED=1
|
||||
-DREACT_NATIVE_DEBUGGER_ENABLED_DEVONLY=1
|
||||
)
|
||||
endif ()
|
||||
@@ -59,8 +59,10 @@ class ReactNativePodsUtils
|
||||
def self.set_gcc_preprocessor_definition_for_debugger(installer)
|
||||
self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "REACT_NATIVE_DEBUGGER_ENABLED=1", "React-jsinspector", :debug)
|
||||
self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "REACT_NATIVE_DEBUGGER_ENABLED=1", "React-RCTNetwork", :debug)
|
||||
self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "REACT_NATIVE_DEBUGGER_ENABLED=1", "React-networking", :debug)
|
||||
self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "REACT_NATIVE_DEBUGGER_ENABLED_DEVONLY=1", "React-jsinspector", :debug)
|
||||
self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "REACT_NATIVE_DEBUGGER_ENABLED_DEVONLY=1", "React-RCTNetwork", :debug)
|
||||
self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "REACT_NATIVE_DEBUGGER_ENABLED_DEVONLY=1", "React-networking", :debug)
|
||||
end
|
||||
|
||||
def self.turn_off_resource_bundle_react_core(installer)
|
||||
|
||||
Reference in new issue
Block a user