1LOCAL_PATH := $(call my-dir) 2include $(CLEAR_VARS) 3 4NON_ANDROID_SRC := \ 5 src/java/org/eclipse/jetty/jmx/ConnectorServer.java \ 6 src/java/org/eclipse/jetty/jmx/MBeanContainer.java \ 7 src/java/org/eclipse/jetty/jmx/ObjectMBean.java \ 8 src/java/org/eclipse/jetty/servlet/jmx/ServletMappingMBean.java \ 9 src/java/org/eclipse/jetty/servlet/jmx/FilterMappingMBean.java \ 10 src/java/org/eclipse/jetty/servlet/jmx/HolderMBean.java \ 11 src/java/org/eclipse/jetty/util/log/jmx/LogMBean.java \ 12 src/java/org/eclipse/jetty/server/jmx/ServerMBean.java \ 13 src/java/org/eclipse/jetty/server/handler/jmx/AbstractHandlerMBean.java \ 14 src/java/org/eclipse/jetty/server/handler/jmx/ContextHandlerMBean.java \ 15 src/java/org/eclipse/jetty/servlet/StatisticsServlet.java \ 16 src/java/org/eclipse/jetty/server/session/jmx/AbstractSessionManagerMBean.java \ 17 src/java/org/eclipse/jetty/security/SpnegoUserIdentity.java \ 18 src/java/org/eclipse/jetty/security/SpnegoUserPrincipal.java \ 19 src/java/org/eclipse/jetty/security/SpnegoLoginService.java \ 20 src/java/org/eclipse/jetty/server/session/JDBCSessionIdManager.java \ 21 src/java/org/eclipse/jetty/util/preventers/AppContextLeakPreventer.java \ 22 src/java/org/eclipse/jetty/util/preventers/AWTLeakPreventer.java \ 23 src/java/org/eclipse/jetty/servlet/listener/IntrospectorCleaner.java \ 24 src/java/org/eclipse/jetty/util/preventers/AppContextLeakPreventer.java \ 25 src/java/org/eclipse/jetty/util/preventers/AWTLeakPreventer.java \ 26 src/java/org/eclipse/jetty/server/session/JDBCSessionManager.java 27 28LOCAL_SRC_FILES := $(filter-out $(NON_ANDROID_SRC), \ 29 $(call all-java-files-under, src)) 30 31LOCAL_MODULE := jetty 32LOCAL_MODULE_TAGS := optional 33LOCAL_SDK_VERSION := current 34 35LOCAL_STATIC_JAVA_LIBRARIES := \ 36 jetty-util \ 37 servlet-api \ 38 slf4j-api \ 39 slf4j-jdk14 40 41include $(BUILD_STATIC_JAVA_LIBRARY) 42 43############################################################# 44# Pre-built dependency jars 45############################################################# 46 47include $(CLEAR_VARS) 48 49LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \ 50 servlet-api:lib/javax.servlet-3.0.0.v201112011016.jar \ 51 slf4j-api:lib/slf4j-api-1.6.1.jar \ 52 slf4j-jdk14:lib/slf4j-jdk14-1.6.1.jar \ 53 54include $(BUILD_MULTI_PREBUILT) 55 56include $(CLEAR_VARS) 57 58LOCAL_MODULE_TAGS := optional 59LOCAL_MODULE_CLASS := JAVA_LIBRARIES 60LOCAL_MODULE := jetty-util 61LOCAL_SRC_FILES := lib/jetty-util-6.1.26.jar 62LOCAL_JACK_FLAGS := -D jack.import.jar.debug-info=false 63LOCAL_UNINSTALLABLE_MODULE := true 64 65include $(BUILD_PREBUILT) 66