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 |
+ * |