aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/android/upload_to_android.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/android/upload_to_android.py')
-rw-r--r--tools/android/upload_to_android.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/android/upload_to_android.py b/tools/android/upload_to_android.py
index a033587578..6580b72f73 100644
--- a/tools/android/upload_to_android.py
+++ b/tools/android/upload_to_android.py
@@ -88,13 +88,12 @@ About to run repo init. If it hangs asking you to run glogin then please:
"""
os.chdir(android_dir)
subprocess.check_call(
- '%s init -u %s/a/platform/manifest -g "all,-notdefault,-darwin" -b master'
+ '%s init -u %s/a/platform/manifest -g "all,-notdefault,-darwin" '
+ '-b master --depth=1'
% (repo_binary, ANDROID_REPO_URL), shell=True)
print 'Syncing the Android checkout at %s' % android_dir
- print '%s sync %s tools/repohooks -j 32' % (
- repo_binary, SKIA_PATH_IN_ANDROID)
- subprocess.check_call('%s sync %s tools/repohooks -j 32' % (
+ subprocess.check_call('%s sync %s tools/repohooks -j 32 -c' % (
repo_binary, SKIA_PATH_IN_ANDROID), shell=True)
# Set the necessary git config options.