pa: interfaces: usb: Have the basic HAL override AOSP & QTI.

* If a device defines the basic USB HAL in their tree
   it should not build the AOSP & QTI USB HAL.

Change-Id: I1ad33487e66f1879d57782e2f5a0677265b835d1
This commit is contained in:
Alexander Koskovich 2020-12-05 12:44:12 -07:00
parent 1c7cbb897a
commit 638f27d17d
1 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,10 @@ cc_binary {
relative_install_path: "hw",
init_rc: ["android.hardware.usb@1.0-service.basic.rc"],
vintf_fragments: ["android.hardware.usb@1.0-service.basic.xml"],
overrides: [
"android.hardware.usb@1.0-service",
"android.hardware.usb@1.2-service-qti"
],
srcs: ["service.cpp", "Usb.cpp"],
shared_libs: [
"libbase",