Chromium Code Reviews
|
| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/usr/bin/python | |
| 2 # Copyright 2013 The Chromium Authors. All rights reserved. | |
| 3 # Use of this source code is governed by a BSD-style license that can be | |
| 4 # found in the LICENSE file. | |
| 5 | |
| 6 """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/
| |
| 7 | |
| 8 This copy will resolve symlinks on all platforms, which is useful for Apprtc | |
| 9 since it uses symlinks for its common javascript files (and Windows does not | |
| 10 understand those symlinks). | |
| 11 """ | |
| 12 | |
| 13 import shutil | |
| 14 | |
| 15 | |
| 16 if __name__ == '__main__': | |
| 17 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
| |
| 18 shutil.copytree('src/third_party/webrtc_apprtc/apprtc', | |
| 19 'src/out/apprtc', ignore=shutil.ignore_patterns('.svn')) | |
| OLD | NEW |