Commit 5340a00
Define isProfiling option when Fusebox is used in Production mode (#52320)
Summary:
Pull Request resolved: #52320
# Changelog [Internal]
We are gating `__RCTProfileIsProfiling` global definition under this `isProfiling` option - [1].
Reviewed By: vzaidman
Differential Revision: D77315833
fbshipit-source-id: f71175a573aa6d77c16a657475c59820f9830aa61 parent b8b79a3 commit 5340a00
2 files changed
Lines changed: 9 additions & 2 deletions
File tree
- packages/react-native
- ReactAndroid/src/main/java/com/facebook/react/runtime
- ReactCommon/react/runtime/platform/ios/ReactCommon
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
133 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
134 | 138 | | |
135 | 139 | | |
136 | 140 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
406 | 407 | | |
407 | 408 | | |
408 | 409 | | |
| 410 | + | |
409 | 411 | | |
410 | | - | |
| 412 | + | |
| 413 | + | |
411 | 414 | | |
412 | 415 | | |
413 | 416 | | |
| |||
0 commit comments