X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjni%2Flibusb%2Fandroid%2Fjni%2Flibusb.mk;fp=app%2Fsrc%2Fmain%2Fjni%2Flibusb%2Fandroid%2Fjni%2Flibusb.mk;h=0000000000000000000000000000000000000000;hb=dd394951609bc6647111ca8246429543c378ba7b;hp=d1d1b1faae16f80847ce3c58b38675091ca38168;hpb=d0d496554f96cebf84db3e9b3cf507577272ef8c;p=rtmpclient.git diff --git a/app/src/main/jni/libusb/android/jni/libusb.mk b/app/src/main/jni/libusb/android/jni/libusb.mk deleted file mode 100644 index d1d1b1f..0000000 --- a/app/src/main/jni/libusb/android/jni/libusb.mk +++ /dev/null @@ -1,78 +0,0 @@ -# modified saki@serenegiant -# Copyright (C)2014-2016 -# -# Android build config for libusb -# Copyright © 2012-2013 RealVNC Ltd. -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -# -###################################################################### -# libusb.a -###################################################################### -LOCAL_PATH := $(call my-dir)/../.. -include $(CLEAR_VARS) - -# changed linux_usbfs.c => android_usbfs.c -# changed linux_netlink.c => android_netlink.c -# these sources are also modified. -LOCAL_SRC_FILES := \ - libusb/core.c \ - libusb/descriptor.c \ - libusb/hotplug.c \ - libusb/io.c \ - libusb/sync.c \ - libusb/strerror.c \ - libusb/os/android_usbfs.c \ - libusb/os/poll_posix.c \ - libusb/os/threads_posix.c \ - libusb/os/android_netlink.c - -LOCAL_C_INCLUDES += \ - $(LOCAL_PATH)/ \ - $(LOCAL_PATH)/libusb \ - $(LOCAL_PATH)/libusb/os \ - $(LOCAL_PATH)/../ \ - $(LOCAL_PATH)/../include \ - $(LOCAL_PATH)/android \ - -LOCAL_EXPORT_C_INCLUDES := \ - $(LOCAL_PATH)/ \ - $(LOCAL_PATH)/libusb - -# add some flags -LOCAL_CFLAGS := $(LOCAL_C_INCLUDES:%=-I%) -LOCAL_CFLAGS += -DANDROID_NDK -LOCAL_CFLAGS += -DLOG_NDEBUG -LOCAL_CFLAGS += -DACCESS_RAW_DESCRIPTORS -LOCAL_CFLAGS += -DENABLE_LOGGING -LOCAL_CFLAGS += -DENABLE_DEBUG_LOGGING -LOCAL_CFLAGS += -O3 -fstrict-aliasing -fprefetch-loop-arrays -LOCAL_EXPORT_LDLIBS += -llog -LOCAL_ARM_MODE := arm - -LOCAL_MODULE := libusb100_static -include $(BUILD_STATIC_LIBRARY) - -###################################################################### -# libusb100.so -###################################################################### -include $(CLEAR_VARS) -LOCAL_MODULE_TAGS := optional -LOCAL_EXPORT_LDLIBS += -llog - -LOCAL_WHOLE_STATIC_LIBRARIES = libusb100_static - -LOCAL_MODULE := libusb100 -include $(BUILD_SHARED_LIBRARY)