aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaesung Chung <jaesung@google.com>2016-01-14 10:16:57 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-01-14 10:16:57 +0000
commit51b5fc1431c797637e4f45be97b078efabac3f4b (patch)
tree931d87252a875a299af5fb1d725e0261bf8adec9
parent8428568cad07613fd69327de4fcc258e1b437b15 (diff)
parent0cd7bbca2f246ef70d85550ada60640a1ac799e6 (diff)
downloadpiex-51b5fc1431c797637e4f45be97b078efabac3f4b.tar.gz
Merge "Add Android.mk"
-rw-r--r--Android.mk45
1 files changed, 45 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..64f64ab
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,45 @@
+LOCAL_PATH := $(my-dir)
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := libbinary_parse
+LOCAL_CPP_EXTENSION := .cc
+LOCAL_SRC_FILES:= \
+ src/binary_parse/cached_paged_byte_array.cc, \
+ src/binary_parse/range_checked_byte_ptr.cc
+LOCAL_CPPFALGS := -Wsign-compare
+include $(BUILD_SHARED_LIBRARY)
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := libimage_type_recognition
+LOCAL_CPP_EXTENSION := .cc
+LOCAL_SRC_FILES:= \
+ src/image_type_recognition/image_type_recognition_lite.cc
+LOCAL_SHARED_LIBRARIES := libbinary_parse
+LOCAL_CPPFALGS := -Wsign-compare
+include $(BUILD_SHARED_LIBRARY)
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := libtiff_directory
+LOCAL_CPP_EXTENSION := .cc
+LOCAL_SRC_FILES:= \
+ src/tiff_directory/tiff_directory.cc
+LOCAL_SHARED_LIBRARIES := libbinary_parse
+LOCAL_CPPFALGS := -Wsign-compare
+include $(BUILD_SHARED_LIBRARY)
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := libpiex
+LOCAL_CPP_EXTENSION := .cc
+LOCAL_SRC_FILES:= \
+ src/tiff_parser.cc \
+ src/piex.cc
+LOCAL_SHARED_LIBRARIES := \
+ libbinary_parse \
+ libimage_type_recognition \
+ libtiff_directory
+LOCAL_CPPFALGS := -Wsign-compare
+include $(BUILD_SHARED_LIBRARY)