Files
react-native/packages
Riccardo CipolleschiandBlake Friedman 5b2bbb84b1 Include autolinkin.h in OnLoad.cpp only if it exists (#47875)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/47875

The old architecture looks broken because in the OnLoad.cpp file we try to include the autolinking.h header which is only generated when the New Architecture is enabled.

This fix guards the include and the usage of the function provided by the autolinking so that the old architecture should work as well.

## Changelog
[Internal] - Include autolinkin.h in OnLoad.cpp only if it exists

Reviewed By: blakef

Differential Revision: D66295318

fbshipit-source-id: 18461e6b70ac92af57b805bef51c0df49db02283
2024-12-04 16:33:46 +00:00
..
2024-11-21 19:12:36 +00:00
2024-11-21 19:12:36 +00:00
2024-11-21 19:12:36 +00:00
2024-11-21 19:12:36 +00:00
2024-11-21 19:12:36 +00:00
2024-11-21 19:12:36 +00:00
2024-11-21 19:12:36 +00:00
2024-11-21 19:12:36 +00:00
2024-11-21 19:12:36 +00:00
2024-11-21 19:12:36 +00:00
2024-11-21 19:12:36 +00:00
2024-11-21 19:12:36 +00:00
2024-11-21 19:12:36 +00:00
2024-11-21 19:12:36 +00:00
2024-11-21 19:12:36 +00:00
2024-11-21 19:12:36 +00:00
2024-11-21 19:12:36 +00:00
2024-11-21 19:12:36 +00:00
2024-11-21 19:12:36 +00:00
2024-11-21 23:09:09 +00:00
2024-11-21 19:12:36 +00:00
2024-11-21 19:12:36 +00:00