Move to a USB HAL to handle type-c ports as upstream is considering in merging a generic type-c interface to mainline kernel. However, the new sysfs interface can see minor changes in the future as the sysfs interface is sitll going to land in testing and it is still under review. Bug: 31015010 Test: Manually tested on Angler and sailfish for type-c role switches. Change-Id: I26771074c4b4f79a133e519bc6d35a4864a696d8
15 lines
328 B
Makefile
15 lines
328 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := services.usb
|
|
|
|
LOCAL_SRC_FILES += \
|
|
$(call all-java-files-under,java)
|
|
|
|
LOCAL_JAVA_LIBRARIES := services.core
|
|
LOCAL_STATIC_JAVA_LIBRARIES := android.hardware.usb@1.0-java-static \
|
|
android.hidl.manager@1.0-java-static
|
|
|
|
include $(BUILD_STATIC_JAVA_LIBRARY)
|