Commit 441e1ee
Rename Codegen Component Descriptors Entrypoint for FAC and hook it up in DefaultComponentsRegistry
Summary:
As part of [FAC](https://docs.google.com/document/d/1WACeVolFTrsJqbsUpHwYKPVw0EijdG6ZyFPYprSg8QQ/edit?usp=sharing) rollout, we are hooking the code-generated ComponentDescriptors.cpp (the Codegen list of components) via [registerComponentDescriptorsFromEntryPoint](https://www.internalfb.com/code/fbsource/[a60437056a3b58f0bcc9fded7b851cbf09f377c7]/xplat/js/react-native-github/packages/react-native-codegen/DEFS.bzl?lines=147) however in Bridgeless mode this is the same hooking mechanism used by AMA, Twilight, Anna & Ariane to link their individual app registries :
**AMA** :
https://www.internalfb.com/code/fbsource/[e2855199ad37704c474957162d24efe666de4304]/fbandroid/java/com/facebook/adsmanager/cpp/OnLoad.cpp?lines=13-14
**Twilight** :
https://www.internalfb.com/code/fbsource/[e2855199ad37704c474957162d24efe666de4304]/fbandroid/java/com/oculus/twilight/crossapp/reactpackage/fabric/components/jni/OnLoad.cpp?lines=13-14
**Anna** :
https://www.internalfb.com/code/fbsource/[e2855199ad37704c474957162d24efe666de4304]/fbandroid/java/com/facebook/anna/app/cpp/OnLoad.cpp?lines=13-14
**Ariane** :
https://www.internalfb.com/code/fbsource/[e2855199ad37704c474957162d24efe666de4304]/fbandroid/java/com/facebook/rlr/ariane/crossapp/components/OnLoad.cpp?lines=13-14
Hence for the codegen hooking up renaming the function to `registerCodegenComponentDescriptorsFromEntryPoint` and thus correspondingly changing DefaultComponentsRegistry.h & .cpp
Differential Revision: D735357451 parent 93f12eb commit 441e1ee
File tree
2 files changed
+14
-0
lines changed- packages/react-native/ReactAndroid/src/main/jni/react/newarchdefaults
2 files changed
+14
-0
lines changedLines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
34 | 44 | | |
35 | 45 | | |
36 | 46 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
| |||
0 commit comments