summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorIikka Eklund <iikka.eklund@qt.io>2022-02-09 13:02:54 +0200
committerIikka Eklund <iikka.eklund@qt.io>2022-03-04 18:32:46 +0200
commit58c6f37ed06c9cbc4de2ce8c87a9608bd628c64d (patch)
treebac90ed2495e0fdacb57c642b054bbf570800615 /tests
parent92d4d4234bac89be6a0ccc1a10d9c044d1da0824 (diff)
Conan: Include Android specific option values in 'package_id'
The Android specific option values need to be included in the 'package_id' to avoid mixing Android binaries built with different Android sdk, ndk, abis etc. The 'android_ndk' path can not be used as the option value as such because this is a local file system path that may be different on each system. This would make the pre-built binaries unusable as the value is part of the 'package_id' checksum. Instead, parse the 'Pkg.Revision' from the 'source.properties' file pointed by the original 'android_ndk' option value and use this as the 'android_ndk' option value for the 'package_id'. The 'QT_ANDROID_API_VERSION' can be used for 'android_sdk' value for package_id if passed as cmake argument. If not then currently we need to remove the 'android_sdk' from package_id calculation as we don't have clear means to query that from the build system. This should hopefully be fixed in future releases. Task-number: QTQAINFRA-4646 Change-Id: I679fbdcf92a1d93e00685215bb011948f1aba71f Reviewed-by: Toni Saario <toni.saario@qt.io> (cherry picked from commit bec3c2a33576bb57306cfeef0343b436cb50bd2c)
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions