Commit 24fd31e
Use module umbrella headers in react/renderer/animations (#58728)
Summary:
Headers in `react/renderer/animations` included fine-grained public headers from other modules that are protected by `UmbrellaGuard.h`, which hard-errors under `RN_STRICT_API` unless included through the module umbrella. Switch these includes to the corresponding umbrellas:
- `react/renderer/core/ReactPrimitives.h` -> `React/RendererCore.h`
- `react/renderer/core/RawValue.h` -> `React/RawValue.h`
- `react/renderer/debug/flags.h` -> `React/RendererDebug.h`
- `react/renderer/graphics/Float.h` -> `React/Graphics.h`
- `ReactCommon/RuntimeExecutor.h` -> `React/RuntimeExecutor.h`
For-frameworks headers (`mounting`, `uimanager`) have no umbrella and are left as-is.
Changelog: [Internal]
Reviewed By: cipolleschi
Differential Revision: D1223113131 parent d194d8b commit 24fd31e
4 files changed
Lines changed: 7 additions & 7 deletions
File tree
- packages/react-native/ReactCommon/react/renderer/animations
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | | - | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | | - | |
16 | | - | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | | - | |
14 | | - | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | | - | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments