From f1a316446ea73a6e51df18bf4c4027b2dc3f3e4c Mon Sep 17 00:00:00 2001 From: Roman Kiryanov Date: Wed, 13 May 2020 12:47:17 -0700 Subject: Retire device/generic/mini-emulator-armv7-a-neon Bug: 154151802 Test: presubmit Signed-off-by: Roman Kiryanov Change-Id: I665c5d0018f7364093a3f2ed2f2c9bbc4c933998 Merged-In: I665c5d0018f7364093a3f2ed2f2c9bbc4c933998 --- AndroidProducts.mk | 21 ------------ BoardConfig.mk | 12 ------- init.mini-emulator.rc | 87 ------------------------------------------------- m_e_arm.mk | 27 --------------- mini_emulator_common.mk | 52 ----------------------------- 5 files changed, 199 deletions(-) delete mode 100644 AndroidProducts.mk delete mode 100644 BoardConfig.mk delete mode 100644 init.mini-emulator.rc delete mode 100644 m_e_arm.mk delete mode 100644 mini_emulator_common.mk diff --git a/AndroidProducts.mk b/AndroidProducts.mk deleted file mode 100644 index 1b38b0c..0000000 --- a/AndroidProducts.mk +++ /dev/null @@ -1,21 +0,0 @@ -# -# Copyright (C) 2013 The Android Open-Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/m_e_arm.mk - -COMMON_LUNCH_CHOICES := \ - m_e_arm-userdebug diff --git a/BoardConfig.mk b/BoardConfig.mk deleted file mode 100644 index 6005df5..0000000 --- a/BoardConfig.mk +++ /dev/null @@ -1,12 +0,0 @@ -# BoardConfig.mk -# -# Product-specific compile-time definitions. -# - -include device/generic/armv7-a-neon/BoardConfig.mk - -ifndef PDK_FUSION_PLATFORM_ZIP -ifeq ($(HOST_OS),linux) - WITH_DEXPREOPT := true -endif -endif # PDK_FUSION_PLATFORM_ZIP diff --git a/init.mini-emulator.rc b/init.mini-emulator.rc deleted file mode 100644 index 7d63615..0000000 --- a/init.mini-emulator.rc +++ /dev/null @@ -1,87 +0,0 @@ -on init - symlink /sdcard /storage/sdcard0 - - mount debugfs debugfs /sys/kernel/debug - -on post-fs-data - # Set indication (checked by vold) that we have finished this action - setprop vold.post_fs_data_done 1 - # to force to start sdcard - class_start late_start - -on boot - setprop ARGH ARGH - setprop net.eth0.gw 10.0.2.2 - setprop net.eth0.dns1 10.0.2.3 - setprop net.dns1 10.0.2.3 - setprop net.gprs.local-ip 10.0.2.15 - setprop ro.radio.use-ppp no - setprop ro.build.product generic - setprop ro.product.device generic - -# fake some battery state - setprop status.battery.state Slow - setprop status.battery.level 5 - setprop status.battery.level_raw 50 - setprop status.battery.level_scale 9 - -# disable some daemons the emulator doesn't want - stop dund - stop akmd - -# start essential services - start qemud - start goldfish-logcat - start goldfish-setup - - setprop ro.setupwizard.mode EMULATOR - -# enable Google-specific location features, -# like NetworkLocationProvider and LocationCollector - setprop ro.com.google.locationfeatures 1 - -# For the emulator, which bypasses Setup Wizard, you can specify -# account info for the device via these two properties. Google -# Login Service will insert these accounts into the database when -# it is created (ie, after a data wipe). -# -# setprop ro.config.hosted_account username@hosteddomain.org:password -# setprop ro.config.google_account username@gmail.com:password -# -# You MUST have a Google account on the device, and you MAY -# additionally have a hosted account. No other configuration is -# supported, and arbitrary breakage may result if you specify -# something else. - -on fs - mount_all /fstab.goldfish - -service goldfish-setup /system/etc/init.goldfish.sh - user root - group root - oneshot - -# The qemu-props program is used to set various system -# properties on boot. It must be run early during the boot -# process to avoid race conditions with other daemons that -# might read them (e.g. surface flinger), so define it in -# class 'core' -# -service qemu-props /system/bin/qemu-props - class core - user root - group root - oneshot - -service qemud /system/bin/qemud - socket qemud stream 666 - oneshot - -# -Q is a special logcat option that forces the -# program to check wether it runs on the emulator -# if it does, it redirects its output to the device -# named by the androidboot.console kernel option -# if not, is simply exits immediately - -service goldfish-logcat /system/bin/logcat -Q - oneshot diff --git a/m_e_arm.mk b/m_e_arm.mk deleted file mode 100644 index 2f450e0..0000000 --- a/m_e_arm.mk +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright (C) 2013 The Android Open Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -$(call inherit-product, device/generic/armv7-a-neon/mini_armv7a_neon.mk) - -$(call inherit-product, device/generic/mini-emulator-armv7-a-neon/mini_emulator_common.mk) - -PRODUCT_NAME := m_e_arm -PRODUCT_DEVICE := mini-emulator-armv7-a-neon -PRODUCT_BRAND := Android -PRODUCT_MODEL := mini-emulator-armv7-a-neon - - -LOCAL_KERNEL := prebuilts/qemu-kernel/arm/kernel-qemu-armv7 -PRODUCT_COPY_FILES += \ - $(LOCAL_KERNEL):kernel diff --git a/mini_emulator_common.mk b/mini_emulator_common.mk deleted file mode 100644 index adf7b11..0000000 --- a/mini_emulator_common.mk +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright (C) 2013 The Android Open Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# common stuffs across mini_emulators - -PRODUCT_PACKAGES += \ - audio.primary.goldfish \ - camera.goldfish \ - gps.goldfish \ - gralloc.goldfish \ - lights.goldfish \ - power.goldfish \ - sensors.goldfish \ - vibrator.goldfish \ - qemu-props \ - qemud \ - libGLESv1_CM_emulation \ - lib_renderControl_enc \ - libEGL_emulation \ - libGLESv2_enc \ - libOpenglSystemCommon \ - libGLESv2_emulation \ - libGLESv1_enc \ - rild - - -PRODUCT_COPY_FILES += \ - device/generic/mini-emulator-armv7-a-neon/init.mini-emulator.rc:root/init.goldfish.rc \ - device/generic/goldfish/init.goldfish.sh:system/etc/init.goldfish.sh \ - device/generic/goldfish/ueventd.goldfish.rc:root/ueventd.goldfish.rc \ - device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml \ - frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ - frameworks/native/data/etc/android.hardware.camera.autofocus.xml:system/etc/permissions/android.hardware.camera.autofocus.xml \ - frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf \ - hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf \ - device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml \ - frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \ - frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_google_telephony.xml \ - frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \ - device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml \ - device/generic/goldfish/fstab.goldfish:root/fstab.goldfish -- cgit v1.2.3