mirror of
https://github.com/react/react-native.git
synced 2026-09-28 13:23:09 +08:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43909 As we're moving towards a single `libreactnative.so` file, we need to remove several of our prefab targets. Here I'm cleaning up those that are not having an OnLoad.cpp file which needs to be loaded from SoLoader. This is breaking for libraries using native dependencies via Prefab (i.e. search for `ReactAndroid::` in CMakeLists.txt files for your project). If so, the CMakeLists.txt files should be updated as follows: ```diff - ReactAndroid::react_render_debug + ReactAndroid::reactnative ``` This applies to every prefab dependencies (the example is just for `react_render_debug` Changelog: [General] [Breaking] - Remove several libs from default App CMake setup Reviewed By: cipolleschi Differential Revision: D55751683 fbshipit-source-id: 3aca7897852b5f323d60ede3c5036cae2f81e6c3
Important
This package is for testing only. It is a subject to frequent change. It does not represent the recomended structure for React native libraries. It should not be used as a referece for such purposes.
Building
yarn install
yarn build
npx react-native codegen