| // This module target includes just the single core file: NanoHTTPD.java, which |
| // is enough for HTTP 1.1 support and nothing else. |
| // ============================================================================ |
| java_library { |
| name: "libnanohttpd", |
| srcs: ["core/src/main/**/*.java"], |
| sdk_version: "current", |
| } |
| |
| // This module target includes SimpleWebServer that supports additional functionality |
| // such as serving files from a specified location, resume of downloads, etc. |
| // ============================================================================ |
| java_library { |
| name: "nanohttpd-webserver", |
| srcs: [ |
| "core/src/main/**/*.java", |
| "webserver/src/main/**/*.java", |
| ], |
| sdk_version: "current", |
| } |