Implement nacl_irt_memory for non-sfi mode.
[chromium-blink-merge.git] / webkit / tools / layout_tests / run_http_server.py
blob7851db351cb8100d8ee16c81e9494e5673b4617d
1 #!/usr/bin/env python
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
4 # found in the LICENSE file.
6 """Wrapper around
7 third_party/WebKit/Tools/Scripts/run-blink-httpd"""
8 import os
9 import subprocess
10 import sys
12 def main():
13 cmd = [sys.executable]
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]))))))
16 script_dir=os.path.join(src_dir, "third_party", "WebKit", "Tools",
17 "Scripts")
18 script = os.path.join(script_dir, 'run-blink-httpd')
19 cmd.append(script)
20 cmd.extend(sys.argv[1:])
21 return subprocess.call(cmd)
23 if __name__ == '__main__':
24 sys.exit(main())