summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2017-01-17 11:19:05 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-01-17 11:19:05 +0000
commit6010034d6a7e0a69fc658d730eb9981ceb229b3e (patch)
tree4bfc9f5cd8328508d13b576e2ab181a55583a49c
parent56527f4f9cf6e19136c55e8e6f18fd56da628d86 (diff)
parent10b9f5f6d232e5b1a87948bf318dc2a00ec282c1 (diff)
downloadmockftpserver-6010034d6a7e0a69fc658d730eb9981ceb229b3e.tar.gz
Add Android files for mockftpserver am: d7fb89fa82
am: 10b9f5f6d2 Change-Id: I79446cacafd0c08ece60fd17313a91946b7be380
-rw-r--r--Android.mk36
1 files changed, 36 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..acd946d
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,36 @@
+#
+# Copyright (C) 2017 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+LOCAL_PATH := $(call my-dir)
+
+mockftpserver_src_files := $(call all-java-files-under,MockFtpServer/src/main/java)
+
+include $(CLEAR_VARS)
+LOCAL_SRC_FILES := $(mockftpserver_src_files)
+LOCAL_JAVA_RESOURCE_DIRS := MockFtpServer/src/main/resources
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE := mockftpserver
+LOCAL_JAVA_LIBRARIES := slf4j-jdk14
+LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
+include $(BUILD_STATIC_JAVA_LIBRARY)
+
+include $(CLEAR_VARS)
+LOCAL_SRC_FILES := $(mockftpserver_src_files)
+LOCAL_JAVA_RESOURCE_DIRS := MockFtpServer/src/main/resources
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE := mockftpserver-hostdex
+LOCAL_JAVA_LIBRARIES := slf4j-jdk14-hostdex
+LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
+include $(BUILD_HOST_DALVIK_JAVA_LIBRARY)