File tree Expand file tree Collapse file tree
packages/react-native/ReactCxxPlatform/react/io Expand file tree Collapse file tree 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_cxx_platform_react_io_SRC CONFIGURE_DEPENDS *.cpp platform/cxx/*.cpp )
12+ add_library (react_cxx_platform_react_io OBJECT ${react_cxx_platform_react_io_SRC} )
13+
14+ target_include_directories (react_cxx_platform_react_io PUBLIC ${REACT_CXX_PLATFORM_DIR} )
15+
16+ target_link_libraries (react_cxx_platform_react_io
17+ glog
18+ jsi
19+ react_cxx_platform_react_nativemodule
20+ react_cxx_platform_react_http
21+ react_cxx_platform_react_threading
22+ react_codegen_rncore
23+ react_bridging
24+ )
25+ target_compile_reactnative_options (react_cxx_platform_react_io PRIVATE )
26+ target_compile_options (react_cxx_platform_react_io PRIVATE -Wpedantic )
Original file line number Diff line number Diff line change 55 * LICENSE file in the root directory of this source tree.
66 */
77
8- #include " ResourceLoader.h"
8+ #include < react/io/ ResourceLoader.h>
99
1010#include < cassert>
1111#include < fstream>
You can’t perform that action at this time.
0 commit comments