peridot: Build possible display components from source
Change-Id: I32fbc3230c1ab0df0ca1a2346f56677f1f9125ae
This commit is contained in:
-151
@@ -731,50 +731,6 @@ cc_prebuilt_library_shared {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "android.hardware.graphics.mapper@4.0-impl-qti-display",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/vendor/lib64/hw/android.hardware.graphics.mapper@4.0-impl-qti-display.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libutils",
|
||||
"libhidlbase",
|
||||
"libgrallocutils",
|
||||
"libgralloccore",
|
||||
"libgralloctypes",
|
||||
"libsync",
|
||||
"vendor.qti.hardware.display.mapper@3.0",
|
||||
"vendor.qti.hardware.display.mapper@4.0",
|
||||
"vendor.qti.hardware.display.mapperextensions@1.0",
|
||||
"android.hardware.graphics.mapper@2.0",
|
||||
"android.hardware.graphics.mapper@2.1",
|
||||
"vendor.qti.hardware.display.mapperextensions@1.1",
|
||||
"android.hardware.graphics.mapper@3.0",
|
||||
"android.hardware.graphics.mapper@4.0",
|
||||
"libdmabufheap",
|
||||
"vendor.qti.hardware.display.mapperextensions@1.2",
|
||||
"vendor.qti.hardware.display.mapperextensions@1.3",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
relative_install_path: "hw",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "audio.bluetooth_qti.default",
|
||||
owner: "xiaomi",
|
||||
@@ -39426,15 +39382,6 @@ prebuilt_etc_xml {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
prebuilt_etc_xml {
|
||||
name: "android.hardware.graphics.mapper-impl-qti-display.xml",
|
||||
owner: "xiaomi",
|
||||
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.graphics.mapper-impl-qti-display.xml",
|
||||
filename_from_src: true,
|
||||
sub_dir: "vintf/manifest",
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
prebuilt_etc_xml {
|
||||
name: "android.hardware.radio.config.xml",
|
||||
owner: "xiaomi",
|
||||
@@ -39732,15 +39679,6 @@ prebuilt_etc_xml {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
prebuilt_etc_xml {
|
||||
name: "vendor.qti.hardware.display.allocator-service.xml",
|
||||
owner: "xiaomi",
|
||||
src: "proprietary/vendor/etc/vintf/manifest/vendor.qti.hardware.display.allocator-service.xml",
|
||||
filename_from_src: true,
|
||||
sub_dir: "vintf/manifest",
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
prebuilt_etc_xml {
|
||||
name: "vendor.qti.hardware.display.composer-service_peridot.xml",
|
||||
owner: "xiaomi",
|
||||
@@ -39750,15 +39688,6 @@ prebuilt_etc_xml {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
prebuilt_etc_xml {
|
||||
name: "vendor.qti.hardware.display.demura-service.xml",
|
||||
owner: "xiaomi",
|
||||
src: "proprietary/vendor/etc/vintf/manifest/vendor.qti.hardware.display.demura-service.xml",
|
||||
filename_from_src: true,
|
||||
sub_dir: "vintf/manifest",
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
prebuilt_etc_xml {
|
||||
name: "vendor.qti.hardware.perf2.xml",
|
||||
owner: "xiaomi",
|
||||
@@ -41103,52 +41032,6 @@ cc_prebuilt_binary {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_binary {
|
||||
name: "vendor.qti.hardware.display.allocator-service",
|
||||
owner: "xiaomi",
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/vendor/bin/hw/vendor.qti.hardware.display.allocator-service",
|
||||
],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libutils",
|
||||
"libbinder",
|
||||
"libbinder_ndk",
|
||||
"libhidlbase",
|
||||
"libgrallocutils",
|
||||
"libgralloccore",
|
||||
"libgralloctypes",
|
||||
"vendor.qti.hardware.display.mapper@3.0",
|
||||
"vendor.qti.hardware.display.mapper@4.0",
|
||||
"android.hardware.graphics.mapper@4.0",
|
||||
"android.hardware.graphics.mapper@3.0",
|
||||
"android.hardware.graphics.mapper@2.1",
|
||||
"vendor.qti.hardware.display.mapperextensions@1.0",
|
||||
"vendor.qti.hardware.display.mapperextensions@1.1",
|
||||
"libdmabufheap",
|
||||
"vendor.qti.hardware.display.mapperextensions@1.2",
|
||||
"vendor.qti.hardware.display.mapperextensions@1.3",
|
||||
"android.hardware.graphics.allocator-V1-ndk",
|
||||
"libdisplaydebug",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
prefer: true,
|
||||
relative_install_path: "hw",
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_binary {
|
||||
name: "vendor.qti.hardware.display.color-service",
|
||||
owner: "xiaomi",
|
||||
@@ -41203,40 +41086,6 @@ cc_prebuilt_binary {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_binary {
|
||||
name: "vendor.qti.hardware.display.demura-service",
|
||||
owner: "xiaomi",
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/vendor/bin/hw/vendor.qti.hardware.display.demura-service",
|
||||
],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libutils",
|
||||
"libbinder",
|
||||
"libbinder_ndk",
|
||||
"libfilefinder",
|
||||
"libdisplaydebug",
|
||||
"libsdmutils",
|
||||
"vendor.qti.hardware.display.demura-V1-ndk",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
prefer: true,
|
||||
relative_install_path: "hw",
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_binary {
|
||||
name: "vendor.qti.hardware.perf2-hal-service",
|
||||
owner: "xiaomi",
|
||||
|
||||
+1
-9
@@ -992,10 +992,8 @@ PRODUCT_COPY_FILES += \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/init/vendor.qti.diag_userdebug.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.diag_userdebug.rc \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/init/vendor.qti.hardware.alarm-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.alarm-service.rc \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/init/vendor.qti.hardware.capabilityconfigstore@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.capabilityconfigstore@1.0-service.rc \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/init/vendor.qti.hardware.display.allocator-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.display.allocator-service.rc \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/init/vendor.qti.hardware.display.color-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.display.color-service.rc \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/init/vendor.qti.hardware.display.composer-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.display.composer-service.rc \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/init/vendor.qti.hardware.display.demura-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.display.demura-service.rc \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/init/vendor.qti.hardware.display.composer-service_peridot.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.display.composer-service_peridot.rc \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/init/vendor.qti.hardware.dsp@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.dsp@1.0-service.rc \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/init/vendor.qti.hardware.perf2-hal-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.perf2-hal-service.rc \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/init/vendor.qti.hardware.qseecom@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.qseecom@1.0-service.rc \
|
||||
@@ -1150,7 +1148,6 @@ PRODUCT_PACKAGES += \
|
||||
android.hardware.bluetooth.audio-impl-qti \
|
||||
android.hardware.bluetooth@1.0-impl-qti \
|
||||
android.hardware.bluetooth@1.1-impl-qti \
|
||||
android.hardware.graphics.mapper@4.0-impl-qti-display \
|
||||
audio.bluetooth_qti.default \
|
||||
audio.primary.pineapple \
|
||||
com.dsi.ant@1.0-impl \
|
||||
@@ -2419,7 +2416,6 @@ PRODUCT_PACKAGES += \
|
||||
vendor.qti.ims.rcsuceaidlservice-V1-java \
|
||||
ImsRtpService-aidl.xml \
|
||||
android.hardware.drm_wfdhdcp-service.xml \
|
||||
android.hardware.graphics.mapper-impl-qti-display.xml \
|
||||
android.hardware.radio.config.xml \
|
||||
android.hardware.radio.data.xml \
|
||||
android.hardware.radio.messaging.xml \
|
||||
@@ -2453,9 +2449,7 @@ PRODUCT_PACKAGES += \
|
||||
vendor.qti.hardware.alarm.xml \
|
||||
vendor.qti.hardware.data.connectionaidl.xml \
|
||||
vendor.qti.hardware.data.iwlandata.xml \
|
||||
vendor.qti.hardware.display.allocator-service.xml \
|
||||
vendor.qti.hardware.display.composer-service_peridot.xml \
|
||||
vendor.qti.hardware.display.demura-service.xml \
|
||||
vendor.qti.hardware.perf2.xml \
|
||||
vendor.qti.hardware.qconfig-service.xml \
|
||||
vendor.qti.hardware.qseecom@1.0-service.xml \
|
||||
@@ -2519,10 +2513,8 @@ PRODUCT_PACKAGES += \
|
||||
vendor.dolby.media.c2@1.0-service \
|
||||
vendor.qti.hardware.alarm-service \
|
||||
vendor.qti.hardware.capabilityconfigstore@1.0-service \
|
||||
vendor.qti.hardware.display.allocator-service \
|
||||
vendor.qti.hardware.display.color-service \
|
||||
vendor.qti.hardware.display.composer-service \
|
||||
vendor.qti.hardware.display.demura-service \
|
||||
vendor.qti.hardware.perf2-hal-service \
|
||||
vendor.qti.hardware.qseecom@1.0-service \
|
||||
vendor.qti.hardware.sensorscalibrate-service \
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,9 +0,0 @@
|
||||
service vendor.qti.hardware.display.allocator /vendor/bin/hw/vendor.qti.hardware.display.allocator-service
|
||||
class hal animation
|
||||
user system
|
||||
group graphics drmrpc
|
||||
capabilities SYS_NICE
|
||||
onrestart restart surfaceflinger
|
||||
# MIUI ADD: Performance_MemoryEnhance
|
||||
writepid /sys/kernel/reserve_pool/pid
|
||||
# END Performance_MemoryEnhance
|
||||
@@ -1,7 +0,0 @@
|
||||
service vendor.qti.hardware.display.demura /vendor/bin/hw/vendor.qti.hardware.display.demura-service
|
||||
interface aidl vendor.qti.hardware.display.demura.IDemuraFileFinder/default
|
||||
class hal
|
||||
oneshot
|
||||
disabled
|
||||
user system
|
||||
group graphics
|
||||
Vendored
-50
@@ -1,50 +0,0 @@
|
||||
<!--
|
||||
Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the following
|
||||
disclaimer in the documentation and/or other materials provided
|
||||
with the distribution.
|
||||
* Neither the name of The Linux Foundation nor the names of its
|
||||
contributors may be used to endorse or promote products derived
|
||||
from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
|
||||
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
-->
|
||||
<manifest version="1.0" type="device">
|
||||
<hal format="hidl">
|
||||
<name>vendor.qti.hardware.display.mapper</name>
|
||||
<transport arch="32+64">passthrough</transport>
|
||||
<version>4.0</version>
|
||||
<interface>
|
||||
<name>IQtiMapper</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.graphics.mapper</name>
|
||||
<transport arch="32+64">passthrough</transport>
|
||||
<version>4.0</version>
|
||||
<interface>
|
||||
<name>IMapper</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
</manifest>
|
||||
|
||||
|
||||
-43
@@ -1,43 +0,0 @@
|
||||
<!--
|
||||
Copyright (c) 2019-2020 The Linux Foundation. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the following
|
||||
disclaimer in the documentation and/or other materials provided
|
||||
with the distribution.
|
||||
* Neither the name of The Linux Foundation nor the names of its
|
||||
contributors may be used to endorse or promote products derived
|
||||
from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
|
||||
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Changes from Qualcomm Innovation Center are provided under the following license:
|
||||
Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
-->
|
||||
|
||||
<manifest version="1.0" type="device">
|
||||
<hal format="aidl">
|
||||
<name>android.hardware.graphics.allocator</name>
|
||||
<version>1</version>
|
||||
<interface>
|
||||
<name>IAllocator</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
</manifest>
|
||||
-40
@@ -1,40 +0,0 @@
|
||||
<!--
|
||||
*Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are
|
||||
* met:
|
||||
* * Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above
|
||||
* copyright notice, this list of conditions and the following
|
||||
* disclaimer in the documentation and/or other materials provided
|
||||
* with the distribution.
|
||||
* * Neither the name of The Linux Foundation nor the names of its
|
||||
* contributors may be used to endorse or promote products derived
|
||||
* from this software without specific prior written permission.
|
||||
*
|
||||
*THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
*WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
*MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
|
||||
*ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
|
||||
*BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
*CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
*SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
*BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
*WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
*OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
*IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*Changes from Qualcomm Innovation Center are provided under the following license:
|
||||
*Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
-->
|
||||
|
||||
<manifest version="1.0" type="device">
|
||||
<hal format="aidl">
|
||||
<name>vendor.qti.hardware.display.demura</name>
|
||||
<version>1</version>
|
||||
<fqname>IDemuraFileFinder/default</fqname>
|
||||
</hal>
|
||||
</manifest>
|
||||
BIN
Binary file not shown.
Reference in New Issue
Block a user