display: separate into system and vendor components
Change-Id: Ib1e71ee2f92503934c87c30dc433949488fdb8c3
This commit is contained in:
parent
b9f6723a48
commit
7d839fce64
|
@ -113,6 +113,7 @@ endif
|
|||
|
||||
ifneq (,$(filter display, $(TARGET_COMMON_QTI_COMPONENTS)))
|
||||
include $(QCOM_COMMON_PATH)/system/display/qti-display.mk
|
||||
include $(QCOM_COMMON_PATH)/vendor/display/qti-display.mk
|
||||
endif
|
||||
|
||||
ifneq (,$(filter nq-nfc, $(TARGET_COMMON_QTI_COMPONENTS)))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2021 Paranoid Android
|
||||
# Copyright (C) 2022 Paranoid Android
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
@ -13,31 +13,15 @@
|
|||
# limitations under the License.
|
||||
|
||||
# Include display HAL makefiles.
|
||||
-include hardware/qcom/display/config/display-board.mk
|
||||
-include hardware/qcom/display/config/display-product.mk
|
||||
ifeq ($(TARGET_FWK_SUPPORTS_FULL_VALUEADDS),true)
|
||||
include vendor/qcom/opensource/commonsys-intf/display/config/display-interfaces-product.mk
|
||||
include vendor/qcom/opensource/commonsys-intf/display/config/display-product-system.mk
|
||||
include vendor/qcom/opensource/commonsys/display/config/display-product-commonsys.mk
|
||||
endif
|
||||
|
||||
# Lights AIDL Soong Configs
|
||||
SOONG_CONFIG_NAMESPACES += lights
|
||||
SOONG_CONFIG_lights += lighttargets
|
||||
SOONG_CONFIG_lights_lighttargets := lightaidlV1target
|
||||
|
||||
# Permissions
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml
|
||||
|
||||
# Packages
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.graphics.common-V1-ndk_platform \
|
||||
android.hardware.graphics.common-V1-ndk_platform.vendor \
|
||||
android.hardware.lights-service.qti \
|
||||
libqdutils \
|
||||
libqservice \
|
||||
lights.qcom
|
||||
android.hardware.graphics.common-V1-ndk_platform
|
||||
|
||||
# Get non-open-source specific aspects.
|
||||
$(call inherit-product-if-exists, vendor/qcom/common/system/display/display-vendor.mk)
|
||||
|
|
|
@ -0,0 +1,37 @@
|
|||
# Copyright (C) 2022 Paranoid Android
|
||||
#
|
||||
# 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.
|
||||
|
||||
# Include display HAL makefiles.
|
||||
-include hardware/qcom/display/config/display-board.mk
|
||||
-include hardware/qcom/display/config/display-product.mk
|
||||
|
||||
# Lights AIDL Soong Configs
|
||||
SOONG_CONFIG_NAMESPACES += lights
|
||||
SOONG_CONFIG_lights += lighttargets
|
||||
SOONG_CONFIG_lights_lighttargets := lightaidlV1target
|
||||
|
||||
# Permissions
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml
|
||||
|
||||
# Packages
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.graphics.common-V1-ndk_platform.vendor \
|
||||
android.hardware.lights-service.qti \
|
||||
libqdutils \
|
||||
libqservice \
|
||||
lights.qcom
|
||||
|
||||
# Get non-open-source specific aspects.
|
||||
$(call inherit-product-if-exists, vendor/qcom/common/vendor/display/display-vendor.mk)
|
Loading…
Reference in New Issue