summaryrefslogtreecommitdiffstats
path: root/core/jni/Android.mk
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2010-12-30 13:39:37 -0500
committerMike Lockwood <lockwood@android.com>2011-01-22 15:56:09 -0800
commite7d511e148bc901ef41ac44d7b3593e5d803f72f (patch)
tree4561bf7d69a83c285c874c6b9ec038f9411d062c /core/jni/Android.mk
parentf5426634d8228c5bc3fe968caf09cc369e5a9272 (diff)
downloadframeworks_base-e7d511e148bc901ef41ac44d7b3593e5d803f72f.zip
frameworks_base-e7d511e148bc901ef41ac44d7b3593e5d803f72f.tar.gz
frameworks_base-e7d511e148bc901ef41ac44d7b3593e5d803f72f.tar.bz2
New APIs for USB host support:
UsbManager: - is now a service retrievable via Context.getSystemService(Context.USB_SERVICE). - provides support for returning a list all connected USB devices - broadcasts ACTION_USB_DEVICE_ATTACHED and USB_DEVICE_DETACHED when devices are added and removed from the USB host bus UsbDevice: - represents an attached USB device. UsbInterface: - represents an interface on a USB device - devices may have multiple interfaces if they provide multiple sets of functionality (for example, android phones typically have interfaces for both USB mass storage and adb) UsbEndpoint: - represents an endpoint on a USB interface - endpoints are used for sending or receiving data (only in one or the other direction) UsbRequest: - encapsulates a send or receive request to be sent over an endpoint Change-Id: Ieef3e434c62760770ea839070cf5eba1a705967a Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'core/jni/Android.mk')
-rw-r--r--core/jni/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/jni/Android.mk b/core/jni/Android.mk
index c635b39..d1e7e5c 100644
--- a/core/jni/Android.mk
+++ b/core/jni/Android.mk
@@ -124,6 +124,8 @@ LOCAL_SRC_FILES:= \
android_media_ToneGenerator.cpp \
android_hardware_Camera.cpp \
android_hardware_SensorManager.cpp \
+ android_hardware_UsbDevice.cpp \
+ android_hardware_UsbRequest.cpp \
android_debug_JNITest.cpp \
android_util_FileObserver.cpp \
android/opengl/poly_clip.cpp.arm \
@@ -202,6 +204,7 @@ LOCAL_SHARED_LIBRARIES := \
libwpa_client \
libjpeg \
libnfc_ndef \
+ libusbhost \
ifeq ($(USE_OPENGL_RENDERER),true)
LOCAL_SHARED_LIBRARIES += libhwui