summaryrefslogtreecommitdiff
path: root/src/script/configure.json
diff options
context:
space:
mode:
authorBogDan Vatra <bogdan@kdab.com>2017-11-22 13:46:33 +0200
committerLiang Qi <liang.qi@qt.io>2018-11-30 15:38:34 +0000
commit3e1692bebdf2e4c69adb2a23718ad230a74992dd (patch)
treed8e5d319a480a8d2af56e09590612368e3a826a0 /src/script/configure.json
parentebe11c8e867bb65ad7cb1424fe4c096935741089 (diff)
downloadqtscript-3e1692bebdf2e4c69adb2a23718ad230a74992dd.tar.gz
[android] Fix compile with unified headers
Latest Android NDKs are using unified headers which don't have asm/procinfo.h anymore but they provide asm/hwcap.h. Change-Id: Ibd599952d5b22e5e6955958bed33773032ad8a28 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/script/configure.json')
-rw-r--r--src/script/configure.json23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/script/configure.json b/src/script/configure.json
new file mode 100644
index 0000000..d8b45c9
--- /dev/null
+++ b/src/script/configure.json
@@ -0,0 +1,23 @@
+{
+ "module": "script",
+ "testDir": "../../config.tests",
+
+ "tests": {
+ "asm_hwcap_h": {
+ "label": "asm/hwcap.h",
+ "condition": "config.android",
+ "type": "compile",
+ "test": {
+ "include": "asm/hwcap.h"
+ }
+ }
+ },
+
+ "features": {
+ "asm_hwcap_h": {
+ "label": "asm/hwcap.h",
+ "condition": "config.android && tests.asm_hwcap_h",
+ "output": [ "privateFeature" ]
+ }
+ }
+}