summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2015-04-01 11:40:33 +0100
committerTobias Thierer <tobiast@google.com>2017-01-06 15:46:32 +0000
commitd7fb89fa82dfd62d95b8da22efc81288d46235d9 (patch)
tree4bfc9f5cd8328508d13b576e2ab181a55583a49c
parent56527f4f9cf6e19136c55e8e6f18fd56da628d86 (diff)
downloadmockftpserver-d7fb89fa82dfd62d95b8da22efc81288d46235d9.tar.gz
Add Android files for mockftpserver
Bug: 19887195 Bug: 29574477 Test: make droid mockftpserver mockftpserver-hostdex Change-Id: Ieb2d28b94571cc9fb77e63c7000fa69aac318cd5
-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)