summaryrefslogtreecommitdiffstats
path: root/applypatch/Makefile
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-10-12 00:59:28 +0200
committerTao Bao <tbao@google.com>2017-10-12 00:59:28 +0200
commit526699fc679ecc03461c8534f640edbcb621cf26 (patch)
treebec4a0226e23b4555f0eabcd10b01428aae1a824 /applypatch/Makefile
parentMerge "otafault: Add the missing #include <string>." (diff)
downloadandroid_bootable_recovery-526699fc679ecc03461c8534f640edbcb621cf26.tar
android_bootable_recovery-526699fc679ecc03461c8534f640edbcb621cf26.tar.gz
android_bootable_recovery-526699fc679ecc03461c8534f640edbcb621cf26.tar.bz2
android_bootable_recovery-526699fc679ecc03461c8534f640edbcb621cf26.tar.lz
android_bootable_recovery-526699fc679ecc03461c8534f640edbcb621cf26.tar.xz
android_bootable_recovery-526699fc679ecc03461c8534f640edbcb621cf26.tar.zst
android_bootable_recovery-526699fc679ecc03461c8534f640edbcb621cf26.zip
Diffstat (limited to 'applypatch/Makefile')
-rw-r--r--applypatch/Makefile33
1 files changed, 0 insertions, 33 deletions
diff --git a/applypatch/Makefile b/applypatch/Makefile
deleted file mode 100644
index fb4984303..000000000
--- a/applypatch/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-# 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.
-
-# This file is for building imgdiff in Chrome OS.
-
-CPPFLAGS += -iquote.. -Iinclude
-CXXFLAGS += -std=c++11 -O3 -Wall -Werror
-LDLIBS += -lbz2 -lz
-
-.PHONY: all clean
-
-all: imgdiff libimgpatch.a
-
-clean:
- rm -f *.o imgdiff libimgpatch.a
-
-imgdiff: imgdiff.o bsdiff.o utils.o
- $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDLIBS) -o $@ $^
-
-libimgpatch.a utils.o: CXXFLAGS += -fPIC
-libimgpatch.a: imgpatch.o bspatch.o utils.o
- ${AR} rcs $@ $^