Index: third_party/grpc/tools/run_tests/build_package_php.sh |
diff --git a/third_party/WebKit/Tools/Scripts/print-layout-test-types b/third_party/grpc/tools/run_tests/build_package_php.sh |
similarity index 86% |
copy from third_party/WebKit/Tools/Scripts/print-layout-test-types |
copy to third_party/grpc/tools/run_tests/build_package_php.sh |
index 3cc36c64bb26ebaf0e173e0dad4ce8c9b0b1cd52..56e3319ed9b9b56da0f3d552fc9609a238d8a72b 100755 |
--- a/third_party/WebKit/Tools/Scripts/print-layout-test-types |
+++ b/third_party/grpc/tools/run_tests/build_package_php.sh |
@@ -1,6 +1,6 @@ |
-#!/usr/bin/python |
-# |
-# Copyright (C) 2013 Google Inc. All rights reserved. |
+#!/bin/bash |
+# Copyright 2016, 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 |
@@ -28,9 +28,9 @@ |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-import sys |
+set -ex |
-from webkitpy.common import host |
-from webkitpy.layout_tests import print_layout_test_types |
+cd $(dirname $0)/../.. |
-print_layout_test_types.main(host.Host(), sys.argv[1:]) |
+mkdir -p artifacts/ |
+cp -r $EXTERNAL_GIT_ROOT/architecture={x86,x64},language=php,platform={windows,linux,macos}/artifacts/* artifacts/ || true |