summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/serialization/json
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-11-12 14:12:24 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-11-12 17:26:59 +0000
commit2718f5928e5378d18a2627ad9d3ffbc65d4d6ab5 (patch)
tree985270afc5df3b8afefdf8f983b35a92efa58c7f /tests/auto/corelib/serialization/json
parent5c1bb8e4d4c5fad5864f7231392d9baa23920e8a (diff)
Regenerate tests/auto/corelib/serialization
Change-Id: Id2e221e4018b46467203c8d6f29a9758c3c57a60 Reviewed-by: Leander Beernaert <leander.beernaert@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Qt CMake Build Bot
Diffstat (limited to 'tests/auto/corelib/serialization/json')
-rw-r--r--tests/auto/corelib/serialization/json/CMakeLists.txt31
1 files changed, 16 insertions, 15 deletions
diff --git a/tests/auto/corelib/serialization/json/CMakeLists.txt b/tests/auto/corelib/serialization/json/CMakeLists.txt
index 536f07f68f..92d7210842 100644
--- a/tests/auto/corelib/serialization/json/CMakeLists.txt
+++ b/tests/auto/corelib/serialization/json/CMakeLists.txt
@@ -17,19 +17,20 @@ add_qt_test(tst_json
#### Keys ignored in scope 2:.:.:json.pro:NOT ANDROID:
# TESTDATA = "bom.json" "test.json" "test.bjson" "test3.json" "test2.json"
-# Resources:
-set(json_resource_files
- "bom.json"
- "test.bjson"
- "test.json"
- "test2.json"
- "test3.json"
-)
-
-add_qt_resource(tst_json "json"
- PREFIX
- "/"
- FILES
- ${json_resource_files}
-)
+if(ANDROID)
+ # Resources:
+ set(json_resource_files
+ "bom.json"
+ "test.bjson"
+ "test.json"
+ "test2.json"
+ "test3.json"
+ )
+ add_qt_resource(tst_json "json"
+ PREFIX
+ "/"
+ FILES
+ ${json_resource_files}
+ )
+endif()