aboutsummaryrefslogtreecommitdiff
path: root/hamcrest-library/Android.mk
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2017-01-20 13:50:23 +0000
committerPaul Duffin <paulduffin@google.com>2017-01-20 13:50:23 +0000
commit74299c53a59140905e0259cb0a1130cb719733d8 (patch)
treeaa4a6a53609f47d386dfa114be0abfc01e0e5dff /hamcrest-library/Android.mk
parentf1015b50e715aefc3070d83d95340cbc29811329 (diff)
downloadhamcrest-74299c53a59140905e0259cb0a1130cb719733d8.tar.gz
Match upstream file structure
Bug: 30946317 Test: make checkbuild and run cts CtsTextTestCases Change-Id: I6c1773018f95855eb6599d66f6fb5923c7d48b03
Diffstat (limited to 'hamcrest-library/Android.mk')
-rw-r--r--hamcrest-library/Android.mk33
1 files changed, 33 insertions, 0 deletions
diff --git a/hamcrest-library/Android.mk b/hamcrest-library/Android.mk
new file mode 100644
index 0000000..bbb2a5c
--- /dev/null
+++ b/hamcrest-library/Android.mk
@@ -0,0 +1,33 @@
+# Copyright (C) 2014 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)
+
+# TODO: add host and hostdex jars
+
+#-------------------------------
+# build a target jar
+
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := $(call all-java-files-under, src/main/java)
+
+LOCAL_MODULE := hamcrest-library
+LOCAL_JAVA_LIBRARIES := hamcrest
+LOCAL_SDK_VERSION := 8
+LOCAL_MODULE_TAGS := optional
+
+include $(BUILD_STATIC_JAVA_LIBRARY)