blob: 7e85f7e5ed08bc42806d980f8f380ff3717fe42a [file] [log] [blame]
cc_defaults {
name: "qti_usb_hal_defaults",
shared_libs: [
"libbase",
"libhidlbase",
"liblog",
"libutils",
"libhardware",
"libcutils",
],
cflags: [
"-Wno-unused-parameter",
"-Wno-unused-variable",
],
vendor: true,
relative_install_path: "hw",
}
cc_binary {
name: "android.hardware.usb@1.3-service-qti",
defaults: ["qti_usb_hal_defaults"],
shared_libs: [
"android.hardware.usb@1.0",
"android.hardware.usb@1.1",
"android.hardware.usb@1.2",
"android.hardware.usb@1.3",
],
srcs: [
"Usb.cpp",
],
init_rc: ["android.hardware.usb@1.3-service-qti.rc"],
vintf_fragments: ["android.hardware.usb@1.3-service-qti.xml"],
}
cc_binary {
name: "android.hardware.usb.gadget@1.2-service-qti",
defaults: ["qti_usb_hal_defaults"],
shared_libs: [
"android.hardware.usb.gadget@1.0",
"android.hardware.usb.gadget@1.1",
"android.hardware.usb.gadget@1.2",
],
static_libs: [
"libusbconfigfs-2"
],
srcs: [
"UsbGadget.cpp",
],
init_rc: ["android.hardware.usb.gadget@1.2-service-qti.rc"],
vintf_fragments: ["android.hardware.usb.gadget@1.2-service-qti.xml"],
}
prebuilt_etc {
name: "usb_compositions.conf",
src: "usb_compositions.conf",
vendor: true,
}