aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2022-02-15 14:38:35 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-03-10 19:29:57 +0000
commit6aaa6ecfe21a3eaf76f9c4b5195c9035a4aa0a55 (patch)
treede34b69dfd18761ad581d8bb501cb9cdaf434727
parent298627d02540f66f122c04abd74caba020c274b6 (diff)
Rename the Android emulator to be more descriptive
Because we want to add Android 12 emulator for testing, it's important to have a more descriptive emulator name. For this one, it includes api_23 part. Task-number: QTBUG-88846 Change-Id: I5b8ca276b1bad41bb61272585a4fc4f064e65d71 Reviewed-by: Rami Potinkara <rami.potinkara@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io> (cherry picked from commit a4cc949b8dbfa2f21c323fd7cbffd011b2dbbc84) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--coin/platform_configs/qtbase.yaml3
-rwxr-xr-xcoin/provisioning/common/linux/android_linux.sh4
2 files changed, 4 insertions, 3 deletions
diff --git a/coin/platform_configs/qtbase.yaml b/coin/platform_configs/qtbase.yaml
index 66c80d4f..13b76470 100644
--- a/coin/platform_configs/qtbase.yaml
+++ b/coin/platform_configs/qtbase.yaml
@@ -19,5 +19,6 @@ Configurations:
'TARGET_CONFIGURE_ARGS=-DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE={{.Env.ANDROID_NDK_ROOT}}/build/cmake/android.toolchain.cmake -DANDROID_SDK_ROOT={{.Env.ANDROID_SDK_ROOT}} -DANDROID_ABI=x86 -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME}}',
'CONAN_HOST_PROFILE=coin/conan/profiles/linux-x86_64-gcc',
'CONAN_INSTALL_DIR={{.InstallDir}}/target',
- 'CONAN_PROFILE=coin/conan/profiles/unix-android-x86-clang']
+ 'CONAN_PROFILE=coin/conan/profiles/unix-android-x86-clang',
+ 'ANDROID_EMULATOR=@emulator_x86_api_23']
diff --git a/coin/provisioning/common/linux/android_linux.sh b/coin/provisioning/common/linux/android_linux.sh
index 35e39951..262291f9 100755
--- a/coin/provisioning/common/linux/android_linux.sh
+++ b/coin/provisioning/common/linux/android_linux.sh
@@ -2,7 +2,7 @@
#############################################################################
##
-## Copyright (C) 2020 The Qt Company Ltd.
+## Copyright (C) 2022 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -136,6 +136,6 @@ echo "y" | ./sdkmanager --install "system-images;android-23;google_apis;x86" \
echo "Checking the contents of Android SDK again..."
ls -l "$sdkTargetFolder"
-echo "no" | ./avdmanager create avd -n x86emulator -k "system-images;android-23;google_apis;x86" -c 2048M -f
+echo "no" | ./avdmanager create avd -n emulator_x86_api_23 -k "system-images;android-23;google_apis;x86" -c 2048M -f
# Purely informative, show the list of avd devices
./avdmanager list avd