blob: f5bf86bcb5f62f1c084440c8088353e108eda253 [file] [log] [blame]
Christopher Lane6f31d652014-06-20 13:54:04 -07001LOCAL_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.
Andrei Kapishnikov2aa25f62015-05-06 17:17:59 -04005# ============================================================================
Christopher Lane6f31d652014-06-20 13:54:04 -07006include $(CLEAR_VARS)
7
8LOCAL_SRC_FILES := $(call all-java-files-under, core/src/main)
9LOCAL_MODULE := libnanohttpd
10LOCAL_MODULE_TAGS := optional
Andrei Kapishnikov22c710c2015-05-05 15:54:54 -040011LOCAL_SDK_VERSION := current
Christopher Lane6f31d652014-06-20 13:54:04 -070012
13include $(BUILD_STATIC_JAVA_LIBRARY)
Andrei Kapishnikov2aa25f62015-05-06 17:17:59 -040014
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)