summaryrefslogtreecommitdiff
path: root/next/render-test
diff options
context:
space:
mode:
authorzmiao <miao.zhao@mapbox.com>2019-10-22 16:32:21 +0300
committerGitHub <noreply@github.com>2019-10-22 16:32:21 +0300
commit068befa9df1c55904ec7e26bee062e5e33aecbce (patch)
treeb805b79750e0986fb2821fed1c0bd1c5d8cc5b18 /next/render-test
parent2cdc09dbb13964ffd2af1e8776a56c70f80e0360 (diff)
downloadqtlocation-mapboxgl-068befa9df1c55904ec7e26bee062e5e33aecbce.tar.gz
[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
Diffstat (limited to 'next/render-test')
-rw-r--r--next/render-test/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/next/render-test/CMakeLists.txt b/next/render-test/CMakeLists.txt
index b3aa20ba62..02ee6141cf 100644
--- a/next/render-test/CMakeLists.txt
+++ b/next/render-test/CMakeLists.txt
@@ -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)