File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed
packages/react-native/ReactCommon/react/nativemodule/intersectionobserver Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright (c) Meta Platforms, Inc. and affiliates.
2
+ #
3
+ # This source code is licensed under the MIT license found in the
4
+ # LICENSE file in the root directory of this source tree.
5
+
6
+ cmake_minimum_required (VERSION 3.13 )
7
+ set (CMAKE_VERBOSE_MAKEFILE on )
8
+
9
+ include (${REACT_COMMON_DIR} /cmake-utils/react-native-flags.cmake )
10
+
11
+ file (GLOB react_nativemodule_webperformance_SRC CONFIGURE_DEPENDS *.cpp )
12
+ add_library (react_nativemodule_intersectionobserver OBJECT ${react_nativemodule_webperformance_SRC} )
13
+
14
+ target_include_directories (react_nativemodule_intersectionobserver PUBLIC ${REACT_COMMON_DIR} )
15
+
16
+ target_link_libraries (react_nativemodule_intersectionobserver
17
+ react_codegen_rncore
18
+ react_cxxreact
19
+ react_renderer_bridging
20
+ react_renderer_core
21
+ react_renderer_graphics
22
+ react_renderer_observers_intersection
23
+ react_renderer_runtimescheduler
24
+ react_renderer_uimanager
25
+ rrc_view
26
+ )
27
+ target_compile_reactnative_options (react_nativemodule_intersectionobserver PRIVATE )
28
+ target_compile_options (react_nativemodule_intersectionobserver PRIVATE -Wpedantic -Wno-deprecated-declarations )
Original file line number Diff line number Diff line change 11
11
#include < react/renderer/uimanager/UIManagerBinding.h>
12
12
#include < react/renderer/uimanager/primitives.h>
13
13
14
+ #ifdef RN_DISABLE_OSS_PLUGIN_HEADER
14
15
#include " Plugins.h"
16
+ #endif
15
17
16
18
std::shared_ptr<facebook::react::TurboModule>
17
19
NativeIntersectionObserverModuleProvider (
You can’t perform that action at this time.
0 commit comments