[test-runner] Run render test runner as a NativeActivity app on android device (#15827)
* [test-runner]Add android render-test-runner NativeActivity app * [test-runner] Fix cmake for CI build failure * [test-runner] Update folder location, change app configureation * [test-runner] Add running instruction
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
add_library(
|
||||
mbgl-render-test SHARED EXCLUDE_FROM_ALL
|
||||
mbgl-render-test STATIC EXCLUDE_FROM_ALL
|
||||
${MBGL_ROOT}/expression-test/test_runner_common.cpp
|
||||
${MBGL_ROOT}/expression-test/test_runner_common.hpp
|
||||
${MBGL_ROOT}/render-test/allocation_index.cpp
|
||||
@@ -24,7 +24,7 @@ target_compile_definitions(
|
||||
# FIXME: Should not use core private interface
|
||||
target_include_directories(
|
||||
mbgl-render-test
|
||||
PRIVATE ${MBGL_ROOT}/src
|
||||
PRIVATE ${MBGL_ROOT}/src ${MBGL_ROOT}/platform/default/include
|
||||
)
|
||||
|
||||
target_include_directories(
|
||||
@@ -40,8 +40,8 @@ target_link_libraries(
|
||||
Mapbox::Base::Extras::args
|
||||
Mapbox::Base::Extras::filesystem
|
||||
Mapbox::Base::pixelmatch-cpp
|
||||
mbgl-core
|
||||
mbgl-vendor-boost
|
||||
PUBLIC mbgl-core
|
||||
)
|
||||
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL Android)
|
||||
|
||||
Reference in New Issue
Block a user