File tree Expand file tree Collapse file tree 5 files changed +13
-13
lines changed
ReactCommon/react/renderer Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 88#include " AccessibilityPropsMapBuffer.h"
99#include " AccessibilityProps.h"
1010
11- #include < react/renderer/mapbuffer/MapBufferBuilder.h>
12-
1311namespace facebook {
1412namespace react {
1513
Original file line number Diff line number Diff line change 77
88#pragma once
99
10+ #ifdef ANDROID
11+
1012#include < react/renderer/mapbuffer/MapBuffer.h>
13+ #include < react/renderer/mapbuffer/MapBufferBuilder.h>
1114
1215namespace facebook {
1316namespace react {
1417
15- #ifdef ANDROID
1618constexpr MapBuffer::Key AP_ACCESSIBILITY_ACTIONS = 0 ;
1719constexpr MapBuffer::Key AP_ACCESSIBILITY_HINT = 1 ;
1820constexpr MapBuffer::Key AP_ACCESSIBILITY_LABEL = 2 ;
@@ -27,7 +29,7 @@ constexpr MapBuffer::Key AP_IMPORTANT_FOR_ACCESSIBILITY = 19;
2729// AccessibilityAction values
2830constexpr MapBuffer::Key ACCESSIBILITY_ACTION_NAME = 0 ;
2931constexpr MapBuffer::Key ACCESSIBILITY_ACTION_LABEL = 1 ;
30- #endif
3132
3233} // namespace react
3334} // namespace facebook
35+ #endif
Original file line number Diff line number Diff line change 88#include " PropsMapBuffer.h"
99#include " Props.h"
1010
11- #include < react/renderer/mapbuffer/MapBufferBuilder.h >
11+ #ifdef ANDROID
1212
1313namespace facebook {
1414namespace react {
1515
16- #ifdef ANDROID
1716void Props::propsDiffMapBuffer (
1817 Props const *oldPropsPtr,
1918 MapBufferBuilder &builder) const {
@@ -31,7 +30,7 @@ void Props::propsDiffMapBuffer(
3130 builder.putString (PROPS_NATIVE_ID, nativeId);
3231 }
3332}
34- #endif
3533
3634} // namespace react
3735} // namespace facebook
36+ #endif
Original file line number Diff line number Diff line change 1010#ifdef ANDROID
1111
1212#include < react/renderer/mapbuffer/MapBuffer.h>
13+ #include < react/renderer/mapbuffer/MapBufferBuilder.h>
1314
1415namespace facebook {
1516namespace react {
Original file line number Diff line number Diff line change @@ -65,18 +65,18 @@ rn_xplat_cxx_library(
6565 ],
6666 ),
6767 fbobjc_compiler_flags = APPLE_COMPILER_FLAGS ,
68+ fbobjc_exported_headers = subdir_glob (
69+ [
70+ ("platform/ios" , "*.h" ),
71+ ],
72+ prefix = "react/renderer/graphics" ,
73+ ),
6874 fbobjc_preprocessor_flags = get_preprocessor_flags_for_build_mode () + get_apple_inspector_flags (),
6975 force_static = True ,
7076 ios_deps = [
7177 "//xplat/js/react-native-github:RCTCxxBridge" ,
7278 "//xplat/js/react-native-github:RCTImage" ,
7379 ],
74- ios_exported_headers = subdir_glob (
75- [
76- ("platform/ios" , "*.h" ),
77- ],
78- prefix = "react/renderer/graphics" ,
79- ),
8080 ios_frameworks = [
8181 "$SDKROOT/System/Library/Frameworks/CoreGraphics.framework" ,
8282 "$SDKROOT/System/Library/Frameworks/Foundation.framework" ,
You can’t perform that action at this time.
0 commit comments