Skip to content

Commit

Permalink
android: 16K page size
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Jul 9, 2024
1 parent b953bac commit b890f55
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ jobs:
with:
channel: 'stable'
cache: true
- uses: actions/setup-java@v2
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
Expand Down
6 changes: 4 additions & 2 deletions android/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ target_include_directories(${PLUGIN_NAME} INTERFACE
# OUTPUT_NAME "fvp_plugin"
#)

target_compile_definitions(fvp_plugin PUBLIC DART_SHARED_LIB)

target_compile_definitions(${PLUGIN_NAME} PUBLIC DART_SHARED_LIB)
if(ANDROID_ABI MATCHES 64)
target_link_options(${PLUGIN_NAME} PRIVATE -Wl,-z,max-page-size=16384)
endif()

include(../cmake/deps.cmake)
fvp_setup_deps()
Expand Down

0 comments on commit b890f55

Please sign in to comment.