Skip to content

Move RCT_DEV_SETTINGS_ENABLE_PACKAGER_CONNECTION to its only consumer#55528

Closed
javache wants to merge 1 commit intofacebook:mainfrom
javache:export-D93018381
Closed

Move RCT_DEV_SETTINGS_ENABLE_PACKAGER_CONNECTION to its only consumer#55528
javache wants to merge 1 commit intofacebook:mainfrom
javache:export-D93018381

Conversation

@javache
Copy link
Member

@javache javache commented Feb 11, 2026

Summary:
Move the RCT_DEV_SETTINGS_ENABLE_PACKAGER_CONNECTION define from RCTDefines.h to RCTDevSettings.mm, which is its only consumer. This removes a __has_include dependency from the shared header, making RCTDefines.h more usable as a standalone lightweight target without pulling in RCTPackagerConnection.h.

Changelog: [Internal]

Differential Revision: D93018381

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 11, 2026
@meta-codesync
Copy link

meta-codesync bot commented Feb 11, 2026

@javache has exported this pull request. If you are a Meta employee, you can view the originating Diff in D93018381.

Summary:
Move the RCT_DEV_SETTINGS_ENABLE_PACKAGER_CONNECTION define from RCTDefines.h to RCTDevSettings.mm, which is its only consumer. This removes a __has_include dependency from the shared header, making RCTDefines.h usable as a standalone lightweight target without pulling in RCTPackagerConnection.h.

Changelog: [Internal]

Differential Revision: D93018381
@meta-codesync meta-codesync bot closed this in 6802eb9 Feb 12, 2026
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Feb 12, 2026
@meta-codesync
Copy link

meta-codesync bot commented Feb 12, 2026

This pull request has been merged in 6802eb9.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @javache in 6802eb9

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants