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

Unified Diff: copy_apprtc.py

Issue 32063003: Will now copy apprtc to out/ in order to resolve symlinks on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/webrtc/webrtc.DEPS/
Patch Set: Created 7 years, 2 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 | « DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: copy_apprtc.py
===================================================================
--- copy_apprtc.py (revision 0)
+++ copy_apprtc.py (revision 0)
@@ -0,0 +1,19 @@
+#!/usr/bin/python
+# Copyright 2013 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+"""Moves Apprtc to the out/ directory, where the browser test can find it.
Ami GONE FROM CHROMIUM 2013/10/21 15:01:58 s/Moves/Copies/
+
+This copy will resolve symlinks on all platforms, which is useful for Apprtc
+since it uses symlinks for its common javascript files (and Windows does not
+understand those symlinks).
+"""
+
+import shutil
+
+
+if __name__ == '__main__':
+ shutil.rmtree('src/out/apprtc', ignore_errors=True);
Ami GONE FROM CHROMIUM 2013/10/21 15:01:58 Neither "src" nor "out" can be hard-coded this way
phoglund_chromium 2013/10/21 15:12:36 The problem is I don't have a gyp file to put it i
+ shutil.copytree('src/third_party/webrtc_apprtc/apprtc',
+ 'src/out/apprtc', ignore=shutil.ignore_patterns('.svn'))
Property changes on: copy_apprtc.py
___________________________________________________________________
Added: svn:eol-style
+ LF
Added: svn:executable
+ *
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698