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>
This commit is contained in:
Leander Beernaert 2019-10-22 14:14:30 +02:00
parent f745ef0f67
commit d5dc755c65

View File

@ -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: