Skip to content

Clean up MapBuffer public header dependencies - #58715

Closed
coado wants to merge 5 commits into
react:mainfrom
coado:export-D121398637
Closed

coado wants to merge 5 commits into
react:mainfrom
coado:export-D121398637

Conversation

@coado

@coado coado commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

Summary:
Keep MapBuffer exported headers self-contained by removing implementation-only Debug and logging dependencies. Move those includes into the source files that use them and declare standard-library dependencies directly.

Changelog:
[Internal]

Differential Revision: D121398637

coado and others added 5 commits September 28, 2026 02:24
…rs (react#58679)

Summary:
Fix dynamic-framework header resolution for stable C++ umbrella headers. Header paths are now added only to targets that depend on the owning framework, including transitively, without exposing a framework’s built headers to its own compilation.

## Changelog:
[Internal]

Pull Request resolved: react#58679

Test Plan:
- Focused CocoaPods tests: 16 tests, 27 assertions, all passing.
- Dynamic-framework CocoaPods generation: passing.
- Verified React-RuntimeApple → React-RCTFabric → React-Fabric receives the React-Fabric umbrella path.
- Verified React-Fabric does not receive its own built-framework path.

- Verified the dynamic React-Fabric pod target resolves `$(PODS_TARGET_SRCROOT)/react/renderer/components/view` and `$(PODS_TARGET_SRCROOT)/react/renderer/core` before the framework exists.
- `ruby --disable-gems -c packages/react-native/ReactCommon/React-Fabric.podspec`
- `yarn format-check`
- `arc lint xplat/js/react-native-github/packages/react-native/ReactCommon/React-Fabric.podspec`
- Agent validators: arc-format, arc-lint, and arc-lint-testquality passed.

The full CocoaPods Ruby test process could not start on this host because its RubyGems/JSON installation is broken; the existing focused CocoaPods coverage remains unchanged.

Differential Revision: D121777587

Pulled By: coado
Summary:
Route public C++ dependencies through their supported umbrella entry points so framework consumers can use the root module with strict API enforcement enabled.

Stage the iOS ImageRequestParams header under its canonical imagemanager include path in the prebuilt header inventory. The public ImageManager umbrella exposes this platform-specific type transitively, so framework builds need it alongside the root imagemanager headers.

Changelog:
[Internal]

Differential Revision: D120532145
Summary:
Route public React Native dependencies in exported TextInput framework headers through their supported umbrella headers. Preserve fine-grained includes for same-target, framework-tier, graphics, and third-party dependencies.

Changelog:
[Internal]

Differential Revision: D120677815
Summary:
Route ScrollView framework header dependencies through their supported public umbrella entry points while preserving the module's framework-tier classification. Add direct standard-library and graphics includes where the exported declarations would otherwise rely on transitive coverage.

Changelog: [Internal]

Differential Revision: D121191600
Summary:
Keep MapBuffer exported headers self-contained by removing implementation-only Debug and logging dependencies. Move those includes into the source files that use them and declare standard-library dependencies directly.

Changelog:
[Internal]

Differential Revision: D121398637
@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 Sep 28, 2026
@facebook-github-tools facebook-github-tools Bot added p: Software Mansion Partner: Software Mansion Partner p: Facebook Partner: Facebook labels Sep 28, 2026
@meta-codesync

meta-codesync Bot commented Sep 28, 2026

Copy link
Copy Markdown

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

coado added a commit to coado/react-native that referenced this pull request Sep 29, 2026
Summary:

Keep MapBuffer exported headers self-contained by removing implementation-only Debug and logging dependencies. Move those includes into the source files that use them and declare standard-library dependencies directly.

Changelog:
[Internal]

Reviewed By: cipolleschi

Differential Revision: D121398637
@meta-codesync meta-codesync Bot closed this in f1d97ff Sep 29, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Sep 29, 2026
@meta-codesync

meta-codesync Bot commented Sep 29, 2026

Copy link
Copy Markdown

This pull request has been merged in f1d97ff.

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. Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook p: Software Mansion Partner: Software Mansion Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant