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

Unified Diff: native_client_sdk/src/build_tools/build_sdk.py

Issue 606113002: [NaCl SDK] remove legacy naclports svn checkout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/build_tools/build_sdk.py
diff --git a/native_client_sdk/src/build_tools/build_sdk.py b/native_client_sdk/src/build_tools/build_sdk.py
index 925eb74c8eda19cb240b2f5eaa72822bce78727c..c03afb03c488c88681966b8d266ac5aa3b63ae96 100755
--- a/native_client_sdk/src/build_tools/build_sdk.py
+++ b/native_client_sdk/src/build_tools/build_sdk.py
@@ -806,6 +806,14 @@ def BuildStepArchiveSDKTools():
def BuildStepSyncNaClPorts():
"""Pull the pinned revision of naclports from SVN."""
buildbot_common.BuildStep('Sync naclports')
+
+ # In case a previous svn checkout exists, remove it.
+ # TODO(sbc): remove this once all the build machines
+ # have removed the old checkout
+ if (os.path.exists(NACLPORTS_DIR) and
+ not os.path.exists(os.path.join(NACLPORTS_DIR, '.git'))):
+ buildbot_common.RemoveDir(NACLPORTS_DIR)
+
if not os.path.exists(NACLPORTS_DIR):
# checkout new copy of naclports
cmd = ['git', 'clone', NACLPORTS_URL, 'naclports']
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698