summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2017-01-17 11:35:07 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-01-17 11:35:07 +0000
commitbe2235dc3ecb131c305bf5d0d6ce23d6ec1ddeb2 (patch)
tree4bfc9f5cd8328508d13b576e2ab181a55583a49c
parent56527f4f9cf6e19136c55e8e6f18fd56da628d86 (diff)
parent6010034d6a7e0a69fc658d730eb9981ceb229b3e (diff)
downloadmockftpserver-be2235dc3ecb131c305bf5d0d6ce23d6ec1ddeb2.tar.gz
Add Android files for mockftpserver am: d7fb89fa82 am: 10b9f5f6d2
am: 6010034d6a Change-Id: I352d14ddbe32d5d0451c072565fea512d663d2c2
-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)