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

Unified Diff: third_party/grpc/tools/run_tests/build_artifact_php.sh

Issue 1932353002: Initial checkin of gRPC to third_party/ Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/grpc/tools/run_tests/build_artifact_php.sh
diff --git a/third_party/WebKit/Tools/Scripts/move-layout-tests b/third_party/grpc/tools/run_tests/build_artifact_php.sh
similarity index 88%
copy from third_party/WebKit/Tools/Scripts/move-layout-tests
copy to third_party/grpc/tools/run_tests/build_artifact_php.sh
index 5cee8c427d7dea4f30ec58261dd631ec36fe9010..50bf0ea82159b15ee6f5b691dac0ddcf4147d8f5 100755
--- a/third_party/WebKit/Tools/Scripts/move-layout-tests
+++ b/third_party/grpc/tools/run_tests/build_artifact_php.sh
@@ -1,5 +1,6 @@
-#!/usr/bin/env 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
@@ -27,8 +28,13 @@
# (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
+PHP_TARGET_ARCH=$1
+set -ex
-from webkitpy.layout_tests import layout_tests_mover
+cd $(dirname $0)/../..
-sys.exit(layout_tests_mover.main(sys.argv[1:]))
+mkdir -p artifacts
+
+pear package
+
+cp -r grpc-*.tgz artifacts/grpc-php.tgz
« no previous file with comments | « third_party/grpc/tools/run_tests/build_artifact_node.sh ('k') | third_party/grpc/tools/run_tests/build_artifact_protoc.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698