Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3185)

Unified Diff: build/android/play_services/utils.py

Issue 1418833005: [gms updater] Fixes and tests to prepare activation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use SDK/library appropriately Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/play_services/update_test.py ('k') | build/android/pylib/utils/logging_utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/play_services/utils.py
diff --git a/build/android/play_services/utils.py b/build/android/play_services/utils.py
index 90339d25075cc862d41bd4a5a6a83bf95198d2e3..70b7fff698db087e2fcd86a81ffd587a42fb0998 100644
--- a/build/android/play_services/utils.py
+++ b/build/android/play_services/utils.py
@@ -14,7 +14,6 @@ import logging
import os
import re
import sys
-import zipfile
sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir))
from devil.utils import cmd_helper
@@ -112,13 +111,3 @@ def MakeLocalCommit(repo_root, files_to_commit, message):
logging.debug('Committing.')
if cmd_helper.Call(['git', 'commit', '-m', message], cwd=repo_root) != 0:
raise Exception('The local commit failed.')
-
-
-def ZipDir(output, base_dir):
- '''Creates a zip file from a directory.'''
-
- base = os.path.join(base_dir, os.pardir)
- with zipfile.ZipFile(output, 'w') as out_file:
- for root, _, files in os.walk(base_dir):
- for in_file in files:
- out_file.write(os.path.join(root, in_file), base)
« no previous file with comments | « build/android/play_services/update_test.py ('k') | build/android/pylib/utils/logging_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698