Skip to content

Commit

Permalink
[iOS] Exclude Android HorizontalScrollContentView cxx component code
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongwuzw committed Dec 6, 2024
1 parent c6f1225 commit 27b2c21
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ Pod::Spec.new do |s|
sss.dependency folly_dep_name, folly_version
sss.compiler_flags = folly_compiler_flags
sss.source_files = "react/renderer/components/scrollview/**/*.{m,mm,cpp,h}"
sss.exclude_files = "react/renderer/components/scrollview/tests"
sss.exclude_files = "react/renderer/components/scrollview/tests",
"react/renderer/components/scrollview/platform/android"
sss.header_dir = "react/renderer/components/scrollview"

end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ add_compile_options(
-Wpedantic
-DLOG_TAG=\"Fabric\")

file(GLOB rrc_scrollview_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB rrc_scrollview_SRC CONFIGURE_DEPENDS *.cpp platform/android/react/renderer/components/scrollview/*.cpp)
add_library(rrc_scrollview STATIC ${rrc_scrollview_SRC})

target_include_directories(rrc_scrollview PUBLIC ${REACT_COMMON_DIR})
target_include_directories(rrc_scrollview PUBLIC ${REACT_COMMON_DIR} . ${CMAKE_CURRENT_SOURCE_DIR}/platform/android/)

target_link_libraries(rrc_scrollview
glog
Expand Down

0 comments on commit 27b2c21

Please sign in to comment.