aboutsummaryrefslogtreecommitdiff
path: root/android_bench_suite/discard_patches.py
diff options
context:
space:
mode:
authorZhizhou Yang <zhizhouy@google.com>2017-07-21 10:30:41 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-07-21 14:38:01 -0700
commit978b96a8b02935d40e3a2c57cd033dbedd8980e9 (patch)
tree9ff834f9b3ecc2fb7d4a64747a37487244112a9c /android_bench_suite/discard_patches.py
parent4af2cd8c1c4708b901c6c74c414ecba234e2b888 (diff)
downloadtoolchain-utils-978b96a8b02935d40e3a2c57cd033dbedd8980e9.tar.gz
Modify the method to patch synthmark
The old way to patch synthmark kept a .mk file which will cause build failing. Have put the .mk file patch into a diff file so that Android building system will not see a .mk file here. BUG=None TEST=Checkbuild succeeded with this patched to external/toolchain-utils on Android side. Change-Id: I704aa02d9ca91098727786f053aeb26e989bd481 Reviewed-on: https://chromium-review.googlesource.com/581869 Commit-Ready: Zhizhou Yang <zhizhouy@chromium.org> Tested-by: Zhizhou Yang <zhizhouy@chromium.org> Reviewed-by: George Burgess <gbiv@chromium.org>
Diffstat (limited to 'android_bench_suite/discard_patches.py')
-rwxr-xr-xandroid_bench_suite/discard_patches.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/android_bench_suite/discard_patches.py b/android_bench_suite/discard_patches.py
index 39d75720..7a4b0b56 100755
--- a/android_bench_suite/discard_patches.py
+++ b/android_bench_suite/discard_patches.py
@@ -44,8 +44,6 @@ def dispatch_synthmark():
subprocess.check_call(
['rm', '-rf',
os.path.join(config.android_home, synthmark_dir)])
- subprocess.check_call(['rm', '-rf', 'devrel/tools'])
- subprocess.check_call(['rm', '-rf', 'devrel/.repo'])
print('Synthmark patch removed successfully!')
except subprocess.CalledProcessError:
print('Synthmark is not removed. Error occurred.')