Commit a6ce1c30 authored by tfarina's avatar tfarina Committed by Commit bot

webkit: Remove run_http_server.* scripts.

Looks like nobody is using this script? Checked in Chromium, Blink
and Buildbot repos.

BUG=338338
TEST=None
R=dpranke@chromium.org

Review URL: https://codereview.chromium.org/562813003

Cr-Commit-Position: refs/heads/master@{#294456}
parent a1a83005
#!/usr/bin/env python
# Copyright (c) 2012 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.
"""Wrapper around
third_party/WebKit/Tools/Scripts/run-blink-httpd"""
import os
import subprocess
import sys
def main():
cmd = [sys.executable]
src_dir=os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(
os.path.dirname(os.path.abspath(sys.argv[0]))))))
script_dir=os.path.join(src_dir, "third_party", "WebKit", "Tools",
"Scripts")
script = os.path.join(script_dir, 'run-blink-httpd')
cmd.append(script)
cmd.extend(sys.argv[1:])
return subprocess.call(cmd)
if __name__ == '__main__':
sys.exit(main())
#!/bin/sh
# Copyright (c) 2009 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.
exec_dir=$(dirname $0)
if [ "$OSTYPE" = "cygwin" ]; then
SCRIPT=$(cygpath -wa "$exec_dir/run_http_server.py")
else
SCRIPT="$exec_dir/run_http_server.py"
fi
PYTHON_PROG=python
unset PYTHONPATH
"$PYTHON_PROG" "$SCRIPT" "$@"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment