aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2016-11-17 15:50:36 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-11-17 21:47:51 +0000
commitf891147523fad403ea72c88bb1f3ba6a776ebbd8 (patch)
tree2a6eae5f54b0a3bb68211907d26bb6fbb717971e
parentc88fc74447300acccc3bbaf445c114ac17c2c8a6 (diff)
In VS SLN fixup script, don't erase old files
First, this avoids removing .suo files (solution options), which is where things like debugging command line arguments live. This lets those settings persist when re-generating. Second, it lets you run the script while you have the solution open. (Writing new files works okay, but removing the existing ones was triggering a sharing violation). BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4981 Change-Id: Ib40494caf152dd638f9eee7635639399e8099421 Reviewed-on: https://skia-review.googlesource.com/4981 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
-rw-r--r--fix-gn-sln.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/fix-gn-sln.py b/fix-gn-sln.py
index 7430531846..ced4718216 100644
--- a/fix-gn-sln.py
+++ b/fix-gn-sln.py
@@ -23,11 +23,6 @@ try:
except OSError:
pass
-# Remove old files
-for root, dirs, files in os.walk("out/sln"):
- for name in files:
- os.remove(os.path.join(root, name))
-
# Copy filter files unmodified
for filterFile in glob.glob("out/" + srcDir + "/obj/*.filters"):
copyfile(filterFile, filterFile.replace("out/" + srcDir, "out/sln"))