Christopher Lane | 6f31d65 | 2014-06-20 13:54:04 -0700 | [diff] [blame] | 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. |
Andrei Kapishnikov | 2aa25f6 | 2015-05-06 17:17:59 -0400 | [diff] [blame] | 5 | # ============================================================================ |
Christopher Lane | 6f31d65 | 2014-06-20 13:54:04 -0700 | [diff] [blame] | 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 |
Andrei Kapishnikov | 22c710c | 2015-05-05 15:54:54 -0400 | [diff] [blame] | 11 | LOCAL_SDK_VERSION := current |
Christopher Lane | 6f31d65 | 2014-06-20 13:54:04 -0700 | [diff] [blame] | 12 | |
| 13 | include $(BUILD_STATIC_JAVA_LIBRARY) |
Andrei Kapishnikov | 2aa25f6 | 2015-05-06 17:17:59 -0400 | [diff] [blame] | 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) |