File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
core/platform/android/dsl Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1660,6 +1660,7 @@ function preprocess_andorid() {
1660
1660
$cmake_toolchain_file = Join-Path $ndk_root ' build/cmake/android.toolchain.cmake'
1661
1661
$arch = $t_archs [$options.a ]
1662
1662
$outputOptions += " -DCMAKE_TOOLCHAIN_FILE=$cmake_toolchain_file " , " -DANDROID_ABI=$arch "
1663
+ $outputOptions += " -DANDROID_USE_LEGACY_TOOLCHAIN_FILE=false"
1663
1664
# If set to ONLY, then only the roots in CMAKE_FIND_ROOT_PATH will be searched
1664
1665
# If set to BOTH, then the host system paths and the paths in CMAKE_FIND_ROOT_PATH will be searched
1665
1666
# If set to NEVER, then the roots in CMAKE_FIND_ROOT_PATH will be ignored and only the host system root will be used
Original file line number Diff line number Diff line change @@ -370,6 +370,7 @@ class AxmolUtils {
370
370
options. add(' "-DANDROID_TOOLCHAIN=clang"' )
371
371
options. add(' "-DANDROID_ARM_NEON=TRUE"' )
372
372
options. add(' "-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON"' )
373
+ options. add(' "-DANDROID_USE_LEGACY_TOOLCHAIN_FILE=false"' )
373
374
options. add(" \" -D_AX_ANDROID_PROJECT_DIR=${ androidProjDir} \" " )
374
375
buildProfiles[' cmakeOptions' ] = options. toString()
375
376
}
You can’t perform that action at this time.
0 commit comments