sm8550-common: usb_compositions: Move config to odm
USB gadget HAL supports loading compositions from vendor, odm and product partitions. Move the config to odm partition since it has been modified and is now entirely device-specific and moreover not to have a conflicting build copy rule. Change-Id: Ibe1a62021af2fa2127c1361855451dc8dc67fe1f
This commit is contained in:
@@ -316,7 +316,7 @@ PRODUCT_PACKAGES += \
|
|||||||
PRODUCT_SOONG_NAMESPACES += vendor/qcom/opensource/usb/etc
|
PRODUCT_SOONG_NAMESPACES += vendor/qcom/opensource/usb/etc
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/configs/usb/usb_compositions.conf:$(TARGET_COPY_OUT_VENDOR)/etc/usb_compositions.conf
|
$(LOCAL_PATH)/configs/usb/usb_compositions.conf:$(TARGET_COPY_OUT_ODM)/etc/usb_compositions.conf
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
|
frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# /vendor/etc/usb_compositions.conf: HSUSB VID PID supported compositions
|
# /odm/etc/usb_compositions.conf: HSUSB VID PID supported compositions
|
||||||
#
|
#
|
||||||
# This file lists the vendor supported vid-pid compositions for HSUSB that are
|
# This file lists the vendor supported vid-pid compositions for HSUSB that are
|
||||||
# referenced in UsbGadget.cpp. Use the specified format below for compositions,
|
# referenced in UsbGadget.cpp. Use the specified format below for compositions,
|
||||||
|
Reference in New Issue
Block a user