Files
react-native/scripts/cxx-api/config.yml
T
Gang Zhao a78d6f4d0e Exclude metainternal from C++ API snapshots (#56545)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56545

Add */metainternal/* to top-level exclude_patterns in the C++ API snapshot config.
This directory may contain internal headers that are not part of the public React Native
C++ API surface.

Changelog: [Internal]

Reviewed By: cortinico

Differential Revision: D101879633

fbshipit-source-id: a0118c146ba6eca667671bd572cd39c59e339469
2026-04-22 10:02:40 -07:00

113 lines
2.7 KiB
YAML

exclude_patterns:
- "*/ReactCommon/react/nativemodule/fantomtestspecificmethods/*"
- "*/ReactCommon/react/nativemodule/featureflags/*"
- "*/ReactCommon/react/featureflags/*"
- "*/test_utils/*"
- "*/test/*"
- "*/test_helper/*"
- "*/stubs/*"
- "*/metainternal/*"
exclude_symbols:
- "Fantom"
- "NativeReactNativeFeatureFlags"
- "(?i)experimental"
- "unstable_"
- "UnstableLegacy"
- "TinyMap"
- "packAnimatedProps"
- "DO_NOT_USE"
- "_DEPRECATED|DEPRECATED_"
- "internal_"
platforms:
ReactCommon:
codegen:
inputs:
- packages/react-native/ReactCommon
exclude_patterns:
- "*/jni/*"
- "*/platform/cxx/*" # Should this be included in ReactCommon?
- "*/platform/windows/*"
- "*/platform/macos/*"
- "*/platform/ios/*"
- "*/platform/android/*"
input_filter: false
definitions:
variants:
debug:
definitions:
DEBUG: 1
REACT_NATIVE_DEBUG: 1
release:
definitions:
NDEBUG: 1
REACT_NATIVE_PRODUCTION: 1
ReactAndroid:
codegen:
platform: android
inputs:
- packages/react-native/ReactCommon
- packages/react-native/ReactAndroid
exclude_patterns:
- "*/ReactAndroid/src/main/jni/react/featureflags/*"
- "*/components/switch/iosswitch/*"
- "*/components/inputaccessory/*"
- "*/platform/cxx/*"
- "*/platform/windows/*"
- "*/platform/macos/*"
- "*/platform/ios/*"
exclude_symbols:
- "InputAccessory"
- "IOS"
input_filter: false
definitions:
RN_SERIALIZABLE_STATE: 1
ANDROID: 1
variants:
debug:
definitions:
DEBUG: 1
REACT_NATIVE_DEBUG: 1
release:
definitions:
NDEBUG: 1
REACT_NATIVE_PRODUCTION: 1
# ReactIOS?
ReactApple:
codegen:
platform: ios
inputs:
- packages/react-native/ReactCommon
- packages/react-native/React
- packages/react-native/ReactApple
- packages/react-native/Libraries
exclude_patterns:
- "*/jni/*"
- "*/platform/cxx/*"
- "*/platform/windows/*"
- "*/platform/macos/*"
- "*/platform/android/*"
- "*+Private.h"
- "*+Internal.h"
- "*/scripts/*"
- "*/templates/*"
- "*/components/progressbar/android/*"
- "*/components/switch/androidswitch/*"
exclude_symbols:
- "Android"
- "\\(Deprecated\\)"
- "\\(Internal\\)"
input_filter: true
definitions:
__cplusplus: 1
variants:
debug:
definitions:
DEBUG: 1
REACT_NATIVE_DEBUG: 1
release:
definitions:
NDEBUG: 1
REACT_NATIVE_PRODUCTION: 1