Home | History | Annotate | Download | only in nanohttpd
      1 LOCAL_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 # ============================================================================
      6 include $(CLEAR_VARS)
      7 
      8 LOCAL_SRC_FILES := $(call all-java-files-under, core/src/main)
      9 LOCAL_MODULE := libnanohttpd
     10 LOCAL_MODULE_TAGS := optional
     11 LOCAL_SDK_VERSION := current
     12 
     13 include $(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 # ============================================================================
     18 include $(CLEAR_VARS)
     19 
     20 LOCAL_SRC_FILES := $(call all-java-files-under, core/src/main) \
     21                    $(call all-java-files-under, webserver/src/main)
     22 LOCAL_MODULE := nanohttpd-webserver
     23 LOCAL_MODULE_TAGS := optional
     24 LOCAL_SDK_VERSION := current
     25 
     26 include $(BUILD_STATIC_JAVA_LIBRARY)