mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Cover react/renderer/attributedstring with Stable API guards (#58305)
Summary: Pull Request resolved: https://github.com/react/react-native/pull/58305 Classifies `react/renderer/attributedstring:attributedstring` as a "for frameworks" target under the three-tier C++ stable API visibility model. Consumers that opt into `RN_STRICT_API` now get a warning if they include its headers directly, which they can acknowledge with `RN_ALLOW_FRAMEWORKS`; without that flag the guards are inert, so no existing build changes behaviour. `React-Fabric` already depended on `React-cxxstableapi` from an earlier migration in the same pod, so the module's subspec needs no change. Changelog: [Internal] Reviewed By: rubennorte Differential Revision: D118619367 fbshipit-source-id: 711404c0388c49112c23a63a9ac96b080fc3fda8
This commit is contained in:
1 parent
8cfde6d083
commit
25c5539ee4
8 files changed
+15
No files matched your search
@@ -7,6 +7,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <react/cxxstableapi/FrameworksGuard.h>
|
||||
|
||||
#include <react/renderer/attributedstring/TextAttributes.h>
|
||||
#include <react/renderer/core/Sealable.h>
|
||||
#include <react/renderer/debug/DebugStringConvertible.h>
|
||||
|
||||
+2
@@ -7,6 +7,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <react/cxxstableapi/FrameworksGuard.h>
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <react/renderer/attributedstring/AttributedString.h>
|
||||
|
||||
@@ -17,6 +17,7 @@ target_link_libraries(react_renderer_attributedstring
|
||||
folly_runtime
|
||||
glog
|
||||
glog_init
|
||||
react_cxxstableapi
|
||||
react_debug
|
||||
rrc_view
|
||||
react_renderer_core
|
||||
|
||||
+2
@@ -7,6 +7,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <react/cxxstableapi/FrameworksGuard.h>
|
||||
|
||||
#include <limits>
|
||||
|
||||
#include <react/renderer/attributedstring/primitives.h>
|
||||
|
||||
+2
@@ -7,6 +7,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <react/cxxstableapi/FrameworksGuard.h>
|
||||
|
||||
#include <react/renderer/attributedstring/AttributedString.h>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <react/cxxstableapi/FrameworksGuard.h>
|
||||
|
||||
#include <functional>
|
||||
#include <limits>
|
||||
#include <optional>
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <react/cxxstableapi/FrameworksGuard.h>
|
||||
|
||||
#include <react/debug/react_native_expect.h>
|
||||
#include <react/featureflags/ReactNativeFeatureFlags.h>
|
||||
#include <react/renderer/attributedstring/AttributedString.h>
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <react/cxxstableapi/FrameworksGuard.h>
|
||||
|
||||
#include <functional>
|
||||
#include <limits>
|
||||
|
||||
|
||||
Reference in new issue
Block a user