mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Classify the deprecated cxxreact/ErrorUtils.h shim as for-frameworks (#59196)
Summary: Pull Request resolved: https://github.com/react/react-native/pull/59196 `cxxreact/ErrorUtils.h` is a deprecated shim that forwards to `<jserrorhandler/ErrorUtils.h>`, which declares `handleJSError` and is already classified "for frameworks". Add the `FrameworksGuard.h` include so the shim carries the same tier as the header it forwards to. Changelog: [Internal] ___ landed-with-radar-review Differential Revision: D126072196 fbshipit-source-id: dd0bf90ebc3bf2b3ebdf78ca3b39f3ac0bd75272
This commit is contained in:
1 parent
adc45a8a03
commit
53428031ee
2 files changed
+3
-1
No files matched your search
@@ -232,7 +232,7 @@ val preparePrefab by
|
||||
Pair("../ReactCommon/callinvoker/", ""),
|
||||
Pair("../ReactCommon/callinvoker/React/", "React/"),
|
||||
Pair("../ReactCommon/cxxreact/", "cxxreact/"),
|
||||
// Exported because the public cxxreact/ErrorUtils.h includes it
|
||||
// Exported because the deprecated cxxreact/ErrorUtils.h shim includes it
|
||||
Pair("../ReactCommon/jserrorhandler/", "jserrorhandler/"),
|
||||
Pair("../ReactCommon/react/bridging/", "react/bridging/"),
|
||||
Pair("../ReactCommon/react/bridging/React/", "React/"),
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <react/cxxstableapi/FrameworksGuard.h>
|
||||
|
||||
#warning Deprecated: use <jserrorhandler/ErrorUtils.h> instead.
|
||||
|
||||
#include <jserrorhandler/ErrorUtils.h>
|
||||
Reference in new issue
Block a user