aboutsummaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorAndrew Hayden <andrewhayden@google.com>2016-03-29 16:26:58 +0100
committerAndrew Hayden <andrewhayden@google.com>2016-03-29 17:15:23 +0100
commitd84e46c30d0ea027d047ee4c75c040a173ec9ffc (patch)
tree2fcd54b4ac8080a11159d55011df0a18d3480857 /Android.mk
parent81918d517897eb07da8eacbd03c57190c6d5edda (diff)
downloadarchive-patcher-d84e46c30d0ea027d047ee4c75c040a173ec9ffc.tar.gz
Initial import from github.
BUG=26178881 Change-Id: I537bac20bf186a5c557c23dd37471e74945cbf2c
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..884ddf6
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,28 @@
+#
+# Copyright (C) 2016 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)
+
+archive-patcher_shared_src_files := $(call all-java-files-under,shared/src/main/java)
+archive-patcher_applier_src_files := $(call all-java-files-under,applier/src/main/java)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := archive-patcher
+LOCAL_SRC_FILES := $(archive-patcher_shared_src_files) $(archive-patcher_applier_src_files)
+# archive-patcher should be compatible with all versions of Android
+LOCAL_SDK_VERSION := 4
+LOCAL_JAVA_LANGUAGE_VERSION := 1.6
+include $(BUILD_STATIC_JAVA_LIBRARY)
+