summaryrefslogtreecommitdiffstats
path: root/tools/releasetools/edify_generator.py
diff options
context:
space:
mode:
authorMichael Runge <mrunge@google.com>2013-11-22 00:52:51 +0000
committerMichael Runge <mrunge@google.com>2013-11-22 00:52:51 +0000
commit90c60d3b922924cf65d26b478d8baef142a25023 (patch)
tree44516506a888e44c1f901b30bcb28afa8a889ac4 /tools/releasetools/edify_generator.py
parent37335b42385970d957d48056145a3d4c4dbc6087 (diff)
downloadbuild-90c60d3b922924cf65d26b478d8baef142a25023.zip
build-90c60d3b922924cf65d26b478d8baef142a25023.tar.gz
build-90c60d3b922924cf65d26b478d8baef142a25023.tar.bz2
Revert "Enable incremental builder to find files that moved, and try to process them via patch + rename, instead of delete + add."
This reverts commit 37335b42385970d957d48056145a3d4c4dbc6087. Change-Id: I61cc125d3b08eaa300a7774b6607dbb43f0e7148
Diffstat (limited to 'tools/releasetools/edify_generator.py')
-rw-r--r--tools/releasetools/edify_generator.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/releasetools/edify_generator.py b/tools/releasetools/edify_generator.py
index 189672c..2c3b9e7 100644
--- a/tools/releasetools/edify_generator.py
+++ b/tools/releasetools/edify_generator.py
@@ -184,11 +184,6 @@ class EdifyGenerator(object):
cmd = "delete(" + ",\0".join(['"%s"' % (i,) for i in file_list]) + ");"
self.script.append(self._WordWrap(cmd))
- def RenameFile(self, srcfile, tgtfile):
- """Moves a file from one location to another."""
- if self.info.get("update_rename_support", False):
- self.script.append('rename("%s", "%s");' % (srcfile, tgtfile))
-
def ApplyPatch(self, srcfile, tgtfile, tgtsize, tgtsha1, *patchpairs):
"""Apply binary patches (in *patchpairs) to the given srcfile to
produce tgtfile (which may be "-" to indicate overwriting the