CMake: pass ndk-stack path to androidtestrunner
CMake knows about the ndk path so always pass the ndk-stack path and not rely on the env var being set. Change-Id: I2cfd8e0708c6b284964dc3dc85b1f080742b125d Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
d2f15d65c7
commit
0919f97811
@ -203,6 +203,7 @@ function(qt_internal_android_test_arguments target timeout out_test_runner out_t
|
|||||||
"--skip-install-root"
|
"--skip-install-root"
|
||||||
"--make" "${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR} --target ${target}_make_apk"
|
"--make" "${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR} --target ${target}_make_apk"
|
||||||
"--apk" "${apk_dir}/${target}.apk"
|
"--apk" "${apk_dir}/${target}.apk"
|
||||||
|
"--ndk-stack" "${ANDROID_NDK_ROOT}/ndk-stack"
|
||||||
"--timeout" "${timeout}"
|
"--timeout" "${timeout}"
|
||||||
"--verbose"
|
"--verbose"
|
||||||
PARENT_SCOPE
|
PARENT_SCOPE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user