mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-30 17:50:46 +00:00
tools/android: Remove emulator skins
Apparently skins are just nice to have. Also devlib uses emulated devices in command line (no GUI), so skins are unnecessary. Removing skins will also reduce the disparity in install_base.sh scripts of LISA and devlib. Signed-off-by: Metin Kaya <metin.kaya@arm.com>
This commit is contained in:
parent
1c52f13e50
commit
d8a09e895c
@ -99,9 +99,6 @@ install_android_sdk_manager() {
|
||||
chmod +x -R "${ANDROID_HOME}/cmdline-tools/latest/bin"
|
||||
|
||||
yes | (call_android_sdkmanager --licenses || true)
|
||||
|
||||
echo "Creating the link to skins directory..."
|
||||
readlink "${ANDROID_HOME}/skins" > /dev/null 2>&1 || ln -sf "../skins" "${ANDROID_HOME}/skins"
|
||||
}
|
||||
|
||||
find_java_home() {
|
||||
@ -146,15 +143,15 @@ create_android_vds() {
|
||||
local vd_name
|
||||
vd_name="devlib-p6-12"
|
||||
echo "Creating virtual device \"${vd_name}\" (Pixel 6 - Android 12)..."
|
||||
echo no | call_android_avdmanager -s create avd -n "${vd_name}" -k "system-images;android-31;google_apis;${android_sdk_host_arch}" --skin pixel_6 -b "${android_sdk_host_arch}" -f
|
||||
echo no | call_android_avdmanager -s create avd -n "${vd_name}" -k "system-images;android-31;google_apis;${android_sdk_host_arch}" -b "${android_sdk_host_arch}" -f
|
||||
|
||||
vd_name="devlib-p6-14"
|
||||
echo "Creating virtual device \"${vd_name}\" (Pixel 6 - Android 14)..."
|
||||
echo no | call_android_avdmanager -s create avd -n "${vd_name}" -k "system-images;android-34;google_apis;${android_sdk_host_arch}" --skin pixel_6 -b "${android_sdk_host_arch}" -f
|
||||
echo no | call_android_avdmanager -s create avd -n "${vd_name}" -k "system-images;android-34;google_apis;${android_sdk_host_arch}" -b "${android_sdk_host_arch}" -f
|
||||
|
||||
vd_name="devlib-chromeos"
|
||||
echo "Creating virtual device \"${vd_name}\" (ChromeOS - Android 13, Pixel tablet)..."
|
||||
echo no | call_android_avdmanager -s create avd -n "${vd_name}" -k "system-images;android-33;android-desktop;${android_sdk_host_arch}" --skin pixel_tablet -b "${android_sdk_host_arch}" -f
|
||||
echo no | call_android_avdmanager -s create avd -n "${vd_name}" -k "system-images;android-33;android-desktop;${android_sdk_host_arch}" -b "${android_sdk_host_arch}" -f
|
||||
}
|
||||
|
||||
install_apt() {
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 185 KiB |
@ -1,36 +0,0 @@
|
||||
parts {
|
||||
device {
|
||||
display {
|
||||
width 1080
|
||||
height 2400
|
||||
x 0
|
||||
y 0
|
||||
}
|
||||
}
|
||||
portrait {
|
||||
background {
|
||||
image back.webp
|
||||
}
|
||||
foreground {
|
||||
mask mask.webp
|
||||
cutout hole
|
||||
}
|
||||
}
|
||||
}
|
||||
layouts {
|
||||
portrait {
|
||||
width 1209
|
||||
height 2553
|
||||
event EV_SW:0:1
|
||||
part1 {
|
||||
name portrait
|
||||
x 0
|
||||
y 0
|
||||
}
|
||||
part2 {
|
||||
name device
|
||||
x 60
|
||||
y 69
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 6.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 194 KiB |
@ -1,35 +0,0 @@
|
||||
parts {
|
||||
device {
|
||||
display {
|
||||
width 2560
|
||||
height 1600
|
||||
x 0
|
||||
y 0
|
||||
}
|
||||
}
|
||||
portrait {
|
||||
background {
|
||||
image back.webp
|
||||
}
|
||||
foreground {
|
||||
mask mask.webp
|
||||
}
|
||||
}
|
||||
}
|
||||
layouts {
|
||||
landscape {
|
||||
width 2798
|
||||
height 1837
|
||||
event EV_SW:0:1
|
||||
part1 {
|
||||
name portrait
|
||||
x 0
|
||||
y 0
|
||||
}
|
||||
part2 {
|
||||
name device
|
||||
x 119
|
||||
y 117
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 2.4 KiB |
Loading…
x
Reference in New Issue
Block a user