ReactCommon/nativemodule: Migrate uses of NDEBUG to REACT_NATIVE_DEBUG + react_native_assert

Summary:
For better cross-platform consistency, migrate usages of NDEBUG to REACT_NATIVE_DEBUG. See flags.h for explanation.

Changelog: [Internal]

Reviewed By: PeteTheHeat

Differential Revision: D26695016

fbshipit-source-id: 63e6f6fc919076d94f04416f6821f21e0b3707a3
This commit is contained in:
Joshua Gross authored and Facebook GitHub Bot committed 2021-02-26 21:20:25 -08:00
1 parent 55c8833817
commit ee98e6a493
8 files changed
+16 -8

No files matched your search

+4
View File
@@ -53,6 +53,10 @@ Pod::Spec.new do |s|
"react/nativemodule/core/platform/ios/**/*.{mm,cpp,h}"
end
s.subspec "react_debug_core" do |sss|
sss.source_files = "react/debug/*.{cpp,h}"
end
ss.subspec "samples" do |sss|
sss.source_files = "react/nativemodule/samples/ReactCommon/**/*.{cpp,h}",
"react/nativemodule/samples/platform/ios/**/*.{mm,cpp,h}"