Skip to content

Resolve umbrella headers in CMake builds (#58483) - #58483

Closed
j-piasecki wants to merge 1 commit into
react:mainfrom
j-piasecki:export-D119662087
Closed

Resolve umbrella headers in CMake builds (#58483)#58483
j-piasecki wants to merge 1 commit into
react:mainfrom
j-piasecki:export-D119662087

Conversation

@j-piasecki

@j-piasecki j-piasecki commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Summary:

The React/*.h umbrella headers for react/renderer/components/view, react/debug and react/renderer/mapbuffer are exported by every build system except CMake, so #include <React/View.h>, <React/Debug.h> and <React/MapBuffer.h> fail to resolve there.

Add the missing target_include_directories(<target> INTERFACE ...) entry to each module, matching what the other umbrella-exporting modules already do.

Changelog:
[Android][Fixed] - Make the React/View.h, React/Debug.h and React/MapBuffer.h umbrella headers resolvable in CMake builds

Reviewed By: cortinico

Differential Revision: D119662087

@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 11, 2026
@meta-codesync

meta-codesync Bot commented Sep 11, 2026

Copy link
Copy Markdown

@j-piasecki has exported this pull request. If you are a Meta employee, you can view the originating Diff in D119662087.

@facebook-github-tools facebook-github-tools Bot added p: Software Mansion Partner: Software Mansion Partner p: Facebook Partner: Facebook labels Sep 11, 2026

@cortinico cortinico left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

Summary:

The `React/*.h` umbrella headers for `react/renderer/components/view`, `react/debug` and `react/renderer/mapbuffer` are exported by every build system except CMake, so `#include <React/View.h>`, `<React/Debug.h>` and `<React/MapBuffer.h>` fail to resolve there.

Add the missing `target_include_directories(<target> INTERFACE ...)` entry to each module, matching what the other umbrella-exporting modules already do.

Changelog:
[Android][Fixed] - Make the `React/View.h`, `React/Debug.h` and `React/MapBuffer.h` umbrella headers resolvable in CMake builds

Reviewed By: cortinico

Differential Revision: D119662087
@meta-codesync meta-codesync Bot changed the title Resolve umbrella headers in CMake builds Resolve umbrella headers in CMake builds (#58483) Sep 12, 2026
@meta-codesync meta-codesync Bot closed this in b936db9 Sep 12, 2026
@meta-codesync

meta-codesync Bot commented Sep 12, 2026

Copy link
Copy Markdown

This pull request has been merged in b936db9.

@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Sep 12, 2026
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.

2 participants