summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeander Beernaert <leander.beernaert@qt.io>2019-10-23 11:36:52 +0200
committerLeander Beernaert <leander.beernaert@qt.io>2019-10-23 11:15:56 +0000
commitf2cb720e3fc465c96314f35ae621a2ae977b1e0e (patch)
tree9771d67e6295ec0f55b659bbff77afba65e133ee
parent790d380f8b5b46d135e5c9c25bdfe13b7e5c4b05 (diff)
downloadqtbase-f2cb720e3fc465c96314f35ae621a2ae977b1e0e.tar.gz
Add Android test runner tool
Change-Id: I235bc07be0e0f7a3b0ce6297c187950a57fb31ed Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r--src/tools/CMakeLists.txt1
-rw-r--r--src/tools/androidtestrunner/CMakeLists.txt28
2 files changed, 29 insertions, 0 deletions
diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt
index f1f0a8ce93..425a99b552 100644
--- a/src/tools/CMakeLists.txt
+++ b/src/tools/CMakeLists.txt
@@ -9,4 +9,5 @@ add_subdirectory(qvkgen)
# Only include the following tools when performing a host build
if(NOT CMAKE_CROSSCOMPILING)
add_subdirectory(androiddeployqt)
+ add_subdirectory(androidtestrunner)
endif()
diff --git a/src/tools/androidtestrunner/CMakeLists.txt b/src/tools/androidtestrunner/CMakeLists.txt
new file mode 100644
index 0000000000..a76eded67e
--- /dev/null
+++ b/src/tools/androidtestrunner/CMakeLists.txt
@@ -0,0 +1,28 @@
+# Generated from androidtestrunner.pro.
+
+#####################################################################
+## androidtestrunner Binary:
+#####################################################################
+
+add_qt_executable(androidtestrunner
+ SOURCES
+ main.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ QT_NO_FOREACH
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
+
+#### Keys ignored in scope 1:.:.:androidtestrunner.pro:<TRUE>:
+# _LOADED = "qt_app"
+# _OPTION = "host_build"
+
+## Scopes:
+#####################################################################
+
+extend_target(androidtestrunner CONDITION windows
+ COMPILE_OPTIONS
+ -U__STRICT_ANSI__
+)