Commit 7f8825a
committed
Provide symbol fallbacks for legacy Hermes Registration API when HERMES_V1_ENABLED
When prebuilt binaries are compiled with `HERMES_V1_ENABLED`, the `enableDebugging`/`disableDebugging` symbols were stripped entirely, causing linker errors for libraries depending on the legacy `inspector-modern/chrome/Registration.h` API. Add no-op fallback implementations in the `HERMES_V1_ENABLED` path to preserve backward compatibility.
Cherry-picked from facebook#55400.
## Changelog:
[General][Fixed] - Provide symbol fallbacks for `inspector-modern/chrome/Registration.h` when `HERMES_V1_ENABLED` is set1 parent 5aee11b commit 7f8825a
File tree
1 file changed
+44
-2
lines changed- packages/react-native/ReactCommon/hermes/inspector-modern/chrome
1 file changed
+44
-2
lines changedLines changed: 44 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
37 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
0 commit comments