Move libusbhost's headers into libusbhost.
am: e0a7c773ed
Change-Id: Ia6b0131c9405650a8c9934a7010c7723f028f6dd
This commit is contained in:
commit
d141edfb3c
2 changed files with 6 additions and 8 deletions
|
|
@ -22,11 +22,11 @@ LOCAL_PATH := $(call my-dir)
|
||||||
ifeq ($(HOST_OS),linux)
|
ifeq ($(HOST_OS),linux)
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := libusbhost
|
LOCAL_MODULE := libusbhost
|
||||||
LOCAL_SRC_FILES := usbhost.c
|
LOCAL_SRC_FILES := usbhost.c
|
||||||
LOCAL_CFLAGS := -Werror
|
LOCAL_CFLAGS := -Werror
|
||||||
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
||||||
|
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
|
||||||
include $(BUILD_HOST_STATIC_LIBRARY)
|
include $(BUILD_HOST_STATIC_LIBRARY)
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
@ -35,24 +35,22 @@ endif
|
||||||
# ========================================================
|
# ========================================================
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := libusbhost
|
LOCAL_MODULE := libusbhost
|
||||||
LOCAL_SRC_FILES := usbhost.c
|
LOCAL_SRC_FILES := usbhost.c
|
||||||
|
|
||||||
LOCAL_CFLAGS := -g -DUSE_LIBLOG -Werror
|
LOCAL_CFLAGS := -g -DUSE_LIBLOG -Werror
|
||||||
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
||||||
|
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
|
||||||
# needed for logcat
|
# needed for logcat
|
||||||
LOCAL_SHARED_LIBRARIES := libcutils
|
LOCAL_SHARED_LIBRARIES := libcutils
|
||||||
|
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
|
||||||
# Static library for target
|
# Static library for target
|
||||||
# ========================================================
|
# ========================================================
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := libusbhost
|
LOCAL_MODULE := libusbhost
|
||||||
LOCAL_SRC_FILES := usbhost.c
|
LOCAL_SRC_FILES := usbhost.c
|
||||||
LOCAL_CFLAGS := -Werror
|
LOCAL_CFLAGS := -Werror
|
||||||
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
||||||
|
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
|
||||||
include $(BUILD_STATIC_LIBRARY)
|
include $(BUILD_STATIC_LIBRARY)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue