diff options
author | Giuliano Procida <gprocida@google.com> | 2023-04-17 10:04:02 +0000 |
---|---|---|
committer | Giuliano Procida <gprocida@google.com> | 2023-04-17 11:39:34 +0000 |
commit | 169e413aa66430a8a129da9dccdba227109abb7c (patch) | |
tree | 63de4c20db1439e8e6c154e3172323b34dd0a855 | |
parent | de76a7a98d3555d98d520f18a8e3374b8e192cc6 (diff) | |
download | car-169e413aa66430a8a129da9dccdba227109abb7c.tar.gz |
Revert "Refactor sdk_car_md_x86_64.mk"
This reverts commit de76a7a98d3555d98d520f18a8e3374b8e192cc6.
Reason for revert: broken build
Bug: 278320718
Change-Id: Ief17ec7fc834aa825866928264fb8f1cf2e82709
-rw-r--r-- | AndroidProducts.mk | 1 | ||||
-rw-r--r-- | common/car_md.mk | 59 | ||||
-rw-r--r-- | common/config.ini | 7 | ||||
-rw-r--r-- | common/config.ini.car_md | 24 | ||||
-rw-r--r-- | sdk_car_md_arm64.mk | 26 | ||||
-rw-r--r-- | sdk_car_md_x86_64.mk | 44 |
6 files changed, 46 insertions, 115 deletions
diff --git a/AndroidProducts.mk b/AndroidProducts.mk index e84ad9f..7274fea 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -25,7 +25,6 @@ PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/gsi_car_x86_64.mk \ $(LOCAL_DIR)/sdk_car_arm64.mk \ $(LOCAL_DIR)/sdk_car_arm.mk \ - $(LOCAL_DIR)/sdk_car_md_arm64.mk \ $(LOCAL_DIR)/sdk_car_md_x86_64.mk \ $(LOCAL_DIR)/sdk_car_portrait_x86_64.mk \ $(LOCAL_DIR)/sdk_car_x86.mk \ diff --git a/common/car_md.mk b/common/car_md.mk deleted file mode 100644 index d0791f0..0000000 --- a/common/car_md.mk +++ /dev/null @@ -1,59 +0,0 @@ -# -# Copyright (C) 2023 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. - -# this overwrites Android Emulator's default input devices for virtual displays in device/generic/goldfish/input/ -PRODUCT_COPY_FILES += \ - device/generic/car/emulator/multi-display/input/virtio_input_multi_touch_7.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/virtio_input_multi_touch_7.idc \ - device/generic/car/emulator/multi-display/input/virtio_input_multi_touch_8.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/virtio_input_multi_touch_8.idc \ - device/generic/car/emulator/multi-display/input/virtio_input_multi_touch_9.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/virtio_input_multi_touch_9.idc - -PRODUCT_COPY_FILES += device/generic/car/common/config.ini.car_md:config.ini - -# Overrides Goldfish's default display settings -PRODUCT_COPY_FILES += \ - device/generic/car/emulator/multi-display/display_layout_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/displayconfig/display_layout_configuration.xml \ - device/generic/car/emulator/multi-display/display_settings.xml:$(TARGET_COPY_OUT_VENDOR)/etc/display_settings.xml - -PRODUCT_COPY_FILES += \ - frameworks/native/data/etc/android.software.managed_users.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.managed_users.xml - -PRODUCT_PACKAGE_OVERLAYS += \ - device/generic/car/emulator/multi-display/overlay - -PRODUCT_COPY_FILES += \ - device/generic/car/emulator/multi-display/car_audio_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/car_audio_configuration.xml - -# Use to disable cluster display definitions in aosp_car_emulator -BUILD_EMULATOR_CLUSTER_DISPLAY := false - -PRODUCT_PRODUCT_PROPERTIES += \ - hwservicemanager.external.displays=1,968,792,160,0,2,1408,792,160,0,3,1408,792,160,0 \ - persist.service.bootanim.displays=4619827551948147201,4619827124781842690,4619827540095559171 - -PRODUCT_PACKAGES += ClusterHomeSample ClusterOsDouble ClusterHomeSampleOverlay -PRODUCT_PACKAGES += CarServiceOverlayEmulatorOsDouble CarServiceOverlayMdEmulatorOsDouble ClusterOsDoubleEmulatorPhysicalDisplayOverlay - -# Enable MZ audio by default -PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ - ro.aae.simulateMultiZoneAudio=true \ - persist.sys.max_profiles=5 \ - com.android.car.internal.debug.num_auto_populated_users=1 - -PRODUCT_PACKAGES += \ - MultiDisplaySecondaryHomeTestLauncher \ - MultiDisplayTest - -# enables the rro package for passenger(secondary) user. -ENABLE_PASSENGER_SYSTEMUI_RRO := true diff --git a/common/config.ini b/common/config.ini index 8576698..4d7a3f5 100644 --- a/common/config.ini +++ b/common/config.ini @@ -1,15 +1,14 @@ hw.audioInput=yes -hw.lcd.density=160 +hw.lcd.density=120 hw.cpu.ncore=6 hw.gpu.enabled=yes hw.camera.back=none hw.camera.front=none hw.mainKeys=no -hw.ramSize=4096 hw.keyboard=yes skin.dynamic=yes -skin.name=1408x792 -skin.path=1408x792 +skin.name=1080x600 +skin.path=1080x600 disk.dataPartition.size=6G hw.accelerometer=yes hw.accelerometer_uncalibrated=yes diff --git a/common/config.ini.car_md b/common/config.ini.car_md deleted file mode 100644 index 74e6abe..0000000 --- a/common/config.ini.car_md +++ /dev/null @@ -1,24 +0,0 @@ -hw.audioInput=yes -hw.lcd.density=160 -hw.cpu.ncore=6 -hw.gpu.enabled=yes -hw.camera.back=none -hw.camera.front=none -hw.mainKeys=no -hw.ramSize=6144 -hw.keyboard=yes -skin.dynamic=yes -skin.name=1848x792 -skin.path=1848x792 -disk.dataPartition.size=6G -hw.accelerometer=yes -hw.accelerometer_uncalibrated=yes -hw.gyroscope=yes -hw.sensors.light=no -hw.sensors.pressure=no -hw.sensors.humidity=no -hw.sensors.proximity=no -hw.sensors.magnetic_field=no -hw.sensors.orientation=no -hw.sensors.temperature=no -hw.sensor.hinge=no diff --git a/sdk_car_md_arm64.mk b/sdk_car_md_arm64.mk deleted file mode 100644 index 06cabf2..0000000 --- a/sdk_car_md_arm64.mk +++ /dev/null @@ -1,26 +0,0 @@ -# -# Copyright (C) 2023 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/car/common/car_md.mk) -$(call inherit-product, device/generic/car/sdk_car_arm64.mk) - -# TODO(b/266978709): Set it to true after cleaning up the system partition -# changes from this makefile -PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := false - -PRODUCT_NAME := sdk_car_md_arm64 -PRODUCT_DEVICE := emulator_car_arm64 -PRODUCT_BRAND := Android -PRODUCT_MODEL := Car multi-display on arm64 emulator diff --git a/sdk_car_md_x86_64.mk b/sdk_car_md_x86_64.mk index 8cb23a5..4b0c8de 100644 --- a/sdk_car_md_x86_64.mk +++ b/sdk_car_md_x86_64.mk @@ -13,13 +13,55 @@ # See the License for the specific language governing permissions and # limitations under the License. -$(call inherit-product, device/generic/car/common/car_md.mk) +# this overwrites Android Emulator's default input devices for virtual displays in device/generic/goldfish/input/ +PRODUCT_COPY_FILES += \ + device/generic/car/emulator/multi-display/input/virtio_input_multi_touch_7.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/virtio_input_multi_touch_7.idc \ + device/generic/car/emulator/multi-display/input/virtio_input_multi_touch_8.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/virtio_input_multi_touch_8.idc \ + device/generic/car/emulator/multi-display/input/virtio_input_multi_touch_9.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/virtio_input_multi_touch_9.idc + +# Overrides Goldfish's default display settings +PRODUCT_COPY_FILES += \ + device/generic/car/emulator/multi-display/display_layout_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/displayconfig/display_layout_configuration.xml \ + device/generic/car/emulator/multi-display/display_settings.xml:$(TARGET_COPY_OUT_VENDOR)/etc/display_settings.xml + +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.software.managed_users.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.managed_users.xml + +PRODUCT_PACKAGE_OVERLAYS += \ + device/generic/car/emulator/multi-display/overlay + +PRODUCT_COPY_FILES += \ + device/generic/car/emulator/multi-display/car_audio_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/car_audio_configuration.xml + +# Use to disable cluster display definitions in aosp_car_emulator +BUILD_EMULATOR_CLUSTER_DISPLAY := false + +PRODUCT_PRODUCT_PROPERTIES += \ + hwservicemanager.external.displays=1,400,600,120,0,2,800,600,120,0,3,800,600,120,0 \ + persist.service.bootanim.displays=4619827551948147201,4619827124781842690,4619827540095559171 + +PRODUCT_PACKAGES += ClusterHomeSample ClusterOsDouble ClusterHomeSampleOverlay +PRODUCT_PACKAGES += CarServiceOverlayEmulatorOsDouble CarServiceOverlayMdEmulatorOsDouble ClusterOsDoubleEmulatorPhysicalDisplayOverlay + +# Enable MZ audio by default +PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ + ro.aae.simulateMultiZoneAudio=true \ + persist.sys.max_profiles=5 \ + com.android.car.internal.debug.num_auto_populated_users=1 + +PRODUCT_PACKAGES += \ + MultiDisplaySecondaryHomeTestLauncher \ + MultiDisplayTest + $(call inherit-product, device/generic/car/sdk_car_x86_64.mk) # TODO(b/266978709): Set it to true after cleaning up the system partition # changes from this makefile PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := false +# enables the rro package for passenger(secondary) user. +ENABLE_PASSENGER_SYSTEMUI_RRO := true + PRODUCT_NAME := sdk_car_md_x86_64 PRODUCT_DEVICE := emulator_car_x86_64 PRODUCT_BRAND := Android |