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

Side by Side Diff: webkit/tools/layout_tests/run_http_server.py

Issue 14664008: Rename new-run-webkit-httpd to run-blink-httpd, chromium side. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/test/layout_test_http_server.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Wrapper around 6 """Wrapper around
7 third_party/WebKit/Tools/Scripts/new-run-webkit-httpd""" 7 third_party/WebKit/Tools/Scripts/run-blink-httpd"""
8 import os 8 import os
9 import subprocess 9 import subprocess
10 import sys 10 import sys
11 11
12 def main(): 12 def main():
13 cmd = [sys.executable] 13 cmd = [sys.executable]
14 src_dir=os.path.join(os.path.dirname(os.path.dirname(os.path.dirname( 14 src_dir=os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(
15 os.path.dirname(os.path.abspath(sys.argv[0])))))) 15 os.path.dirname(os.path.abspath(sys.argv[0]))))))
16 script_dir=os.path.join(src_dir, "third_party", "WebKit", "Tools", 16 script_dir=os.path.join(src_dir, "third_party", "WebKit", "Tools",
17 "Scripts") 17 "Scripts")
18 script = os.path.join(script_dir, 'new-run-webkit-httpd') 18 script = os.path.join(script_dir, 'run-blink-httpd')
19 cmd.append(script) 19 cmd.append(script)
20 cmd.extend(sys.argv[1:]) 20 cmd.extend(sys.argv[1:])
21 return subprocess.call(cmd) 21 return subprocess.call(cmd)
22 22
23 if __name__ == '__main__': 23 if __name__ == '__main__':
24 sys.exit(main()) 24 sys.exit(main())
OLDNEW
« no previous file with comments | « content/test/layout_test_http_server.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698