mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Cover react/nativemodule/fantomtestspecificmethods with Stable API guards (#59059)
Summary: Pull Request resolved: https://github.com/react/react-native/pull/59059 Marks `react/nativemodule/fantomtestspecificmethods` as a private target under the C++ Stable API: `NativeFantomTestSpecificMethods.h` includes `<react/cxxstableapi/PrivateGuard.h>`, and BUCK and CMake depend on `cxxstableapi`. The guard is inert unless `RN_STRICT_API` is defined, so there is no behavior change. Changelog: [Internal] ___ landed-with-radar-review Differential Revision: D125185297 fbshipit-source-id: 9a873b44bb12a77941a87539a2372e8d2fb9c148
This commit is contained in:
1 parent
8aa97bb8cb
commit
f7cb270fba
2 files changed
+3
No files matched your search
+1
@@ -17,6 +17,7 @@ target_include_directories(react_nativemodule_fantomspecificmethods PRIVATE ${CM
|
||||
target_link_libraries(react_nativemodule_fantomspecificmethods
|
||||
react_codegen_rncore
|
||||
react_cxxreact
|
||||
react_cxxstableapi
|
||||
react_renderer_bridging
|
||||
react_renderer_core
|
||||
react_renderer_graphics
|
||||
|
||||
+2
@@ -7,6 +7,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <react/cxxstableapi/PrivateGuard.h>
|
||||
|
||||
#include <FBReactNativeSpec/FBReactNativeSpecJSI.h>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
Reference in new issue
Block a user