summaryrefslogtreecommitdiffstats
path: root/util/cmake/pro2cmake.py
diff options
context:
space:
mode:
authorLeander Beernaert <leander.beernaert@qt.io>2019-10-22 14:14:30 +0200
committerLeander Beernaert <leander.beernaert@qt.io>2019-10-23 08:11:47 +0000
commitd5dc755c653b56d8c09d8331e3a56e0382cf5ac5 (patch)
tree61db3a3e6b26580e4adb6d128ab98dc9669682e4 /util/cmake/pro2cmake.py
parentf745ef0f678b42c7a350d0b427ddafeab4d38451 (diff)
Convert ANDROID_PACKAGE_SOURCE_DIR for android (pro2cmake)
Change-Id: I76730852e4433d095bc42ff617254a77f2d1bf51 Reviewed-by: Qt CMake Build Bot Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'util/cmake/pro2cmake.py')
-rwxr-xr-xutil/cmake/pro2cmake.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py
index e9492f7484..36e899d781 100755
--- a/util/cmake/pro2cmake.py
+++ b/util/cmake/pro2cmake.py
@@ -2171,11 +2171,12 @@ def write_android_part(cm_fh: IO[str], target: str, scope: Scope, indent: int =
"ANDROID_LIB_DEPENDENCY_REPLACEMENTS",
"ANDROID_BUNDLED_FILES",
"ANDROID_PERMISSIONS",
+ "ANDROID_PACKAGE_SOURCE_DIR"
]
has_no_values = True
for key in keys:
- value = scope.get(key)
+ value = scope.expand(key)
if len(value) != 0:
if has_no_values:
if scope.condition: