1LOCAL_PATH := $(call my-dir) 2 3# This module target includes just the single core file: NanoHTTPD.java, which 4# is enough for HTTP 1.1 support and nothing else. 5# ============================================================================ 6include $(CLEAR_VARS) 7 8LOCAL_SRC_FILES := $(call all-java-files-under, core/src/main) 9LOCAL_MODULE := libnanohttpd 10LOCAL_MODULE_TAGS := optional 11LOCAL_SDK_VERSION := current 12 13include $(BUILD_STATIC_JAVA_LIBRARY) 14 15# This module target includes SimpleWebServer that supports additional functionality 16# such as serving files from a specified location, resume of downloads, etc. 17# ============================================================================ 18include $(CLEAR_VARS) 19 20LOCAL_SRC_FILES := $(call all-java-files-under, core/src/main) \ 21 $(call all-java-files-under, webserver/src/main) 22LOCAL_MODULE := nanohttpd-webserver 23LOCAL_MODULE_TAGS := optional 24LOCAL_SDK_VERSION := current 25 26include $(BUILD_STATIC_JAVA_LIBRARY)