Index: third_party/grpc/examples/php/route_guide/run_route_guide_client.sh |
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/environment.py b/third_party/grpc/examples/php/route_guide/run_route_guide_client.sh |
old mode 100644 |
new mode 100755 |
similarity index 86% |
copy from third_party/WebKit/Tools/Scripts/webkitpy/common/system/environment.py |
copy to third_party/grpc/examples/php/route_guide/run_route_guide_client.sh |
index a37bd31d9bfd498549dc9b1bf28a6b8c002bbf12..90ecc6270bb03e304e49667c12a5c3fa5b98c59e |
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/environment.py |
+++ b/third_party/grpc/examples/php/route_guide/run_route_guide_client.sh |
@@ -1,4 +1,6 @@ |
-# Copyright (C) 2011 Google Inc. All rights reserved. |
+#!/bin/bash |
+# Copyright 2015, Google Inc. |
+# All rights reserved. |
# |
# Redistribution and use in source and binary forms, with or without |
# modification, are permitted provided that the following conditions are |
@@ -26,11 +28,7 @@ |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
- |
-class Environment(object): |
- |
- def __init__(self, env=None): |
- self.env = env or {} |
- |
- def to_dictionary(self): |
- return self.env |
+set -e |
+cd $(dirname $0) |
+php $extension_dir -d extension=grpc.so -d max_execution_time=300 \ |
+ route_guide_client.php ../../node/route_guide/route_guide_db.json |