summaryrefslogtreecommitdiffstats
path: root/applypatch/Android.mk
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-07-14 03:11:48 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2015-07-14 03:11:48 +0200
commit307eecfdc7dc73ce8f53f742e3c468e63b42f0e2 (patch)
tree47a62ed3cf643578280ddb1982599ed8345dd071 /applypatch/Android.mk
parentam 65c230f4: Merge "Revert "Zero blocks before BLKDISCARD"" (diff)
parentMerge "recovery: Switch applypatch/ and updater/ to cpp." (diff)
downloadandroid_bootable_recovery-307eecfdc7dc73ce8f53f742e3c468e63b42f0e2.tar
android_bootable_recovery-307eecfdc7dc73ce8f53f742e3c468e63b42f0e2.tar.gz
android_bootable_recovery-307eecfdc7dc73ce8f53f742e3c468e63b42f0e2.tar.bz2
android_bootable_recovery-307eecfdc7dc73ce8f53f742e3c468e63b42f0e2.tar.lz
android_bootable_recovery-307eecfdc7dc73ce8f53f742e3c468e63b42f0e2.tar.xz
android_bootable_recovery-307eecfdc7dc73ce8f53f742e3c468e63b42f0e2.tar.zst
android_bootable_recovery-307eecfdc7dc73ce8f53f742e3c468e63b42f0e2.zip
Diffstat (limited to 'applypatch/Android.mk')
-rw-r--r--applypatch/Android.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/applypatch/Android.mk b/applypatch/Android.mk
index eb3e4580e..1f73fd897 100644
--- a/applypatch/Android.mk
+++ b/applypatch/Android.mk
@@ -17,7 +17,7 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_CLANG := true
-LOCAL_SRC_FILES := applypatch.c bspatch.c freecache.c imgpatch.c utils.c
+LOCAL_SRC_FILES := applypatch.cpp bspatch.cpp freecache.cpp imgpatch.cpp utils.cpp
LOCAL_MODULE := libapplypatch
LOCAL_MODULE_TAGS := eng
LOCAL_C_INCLUDES += external/bzip2 external/zlib bootable/recovery
@@ -28,7 +28,7 @@ include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_CLANG := true
-LOCAL_SRC_FILES := main.c
+LOCAL_SRC_FILES := main.cpp
LOCAL_MODULE := applypatch
LOCAL_C_INCLUDES += bootable/recovery
LOCAL_STATIC_LIBRARIES += libapplypatch libmtdutils libmincrypt libbz
@@ -39,7 +39,7 @@ include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_CLANG := true
-LOCAL_SRC_FILES := main.c
+LOCAL_SRC_FILES := main.cpp
LOCAL_MODULE := applypatch_static
LOCAL_FORCE_STATIC_EXECUTABLE := true
LOCAL_MODULE_TAGS := eng
@@ -52,7 +52,7 @@ include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_CLANG := true
-LOCAL_SRC_FILES := imgdiff.c utils.c bsdiff.c
+LOCAL_SRC_FILES := imgdiff.cpp utils.cpp bsdiff.cpp
LOCAL_MODULE := imgdiff
LOCAL_FORCE_STATIC_EXECUTABLE := true
LOCAL_C_INCLUDES += external/zlib external/bzip2