Don't export private headers from Buck target (#37127) #1269

Closed
NickGerleman wants to merge 1 commits from export-D45339425 into main

1 Commits

Author SHA1 Message Date
Nick Gerleman
60ac190efd Don't export private headers from Buck target (#1269)
Summary:
Pull Request resolved: https://github.com/facebook/yoga/pull/1269

X-link: https://github.com/facebook/react-native/pull/37127

This prevents targets which include Yoga from using its private APIs.

Instances of this have been mostly cleaned up in the past diffs, with the major exception of RN Fabric. To stage this without blocking on that, I added a `yoga-private-api` target for now to keep using these headers while making it unlikely new usages will show up.

Reviewed By: javache

Differential Revision: D45339425

fbshipit-source-id: 9a00c89c4d6ccfa33db7064c34b5cf5d400d58fe
2023-05-02 16:39:50 -07:00