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

Unified Diff: third_party/grpc/tools/run_tests/build_ruby.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
« no previous file with comments | « third_party/grpc/tools/run_tests/build_python.sh ('k') | third_party/grpc/tools/run_tests/configs.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/grpc/tools/run_tests/build_ruby.sh
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/environment.py b/third_party/grpc/tools/run_tests/build_ruby.sh
old mode 100644
new mode 100755
similarity index 88%
copy from third_party/WebKit/Tools/Scripts/webkitpy/common/system/environment.py
copy to third_party/grpc/tools/run_tests/build_ruby.sh
index a37bd31d9bfd498549dc9b1bf28a6b8c002bbf12..ebd27f6a6c2f2fae8174bb048b7b053d923b6d67
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/environment.py
+++ b/third_party/grpc/tools/run_tests/build_ruby.sh
@@ -1,4 +1,7 @@
-# Copyright (C) 2011 Google Inc. All rights reserved.
+#!/bin/bash
+
+# Copyright 2015-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
@@ -26,11 +29,12 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+set -ex
-class Environment(object):
+export GRPC_CONFIG=${CONFIG:-opt}
- def __init__(self, env=None):
- self.env = env or {}
+# change to grpc's ruby directory
+cd $(dirname $0)/../..
- def to_dictionary(self):
- return self.env
+rm -rf ./tmp
+rake compile
« no previous file with comments | « third_party/grpc/tools/run_tests/build_python.sh ('k') | third_party/grpc/tools/run_tests/configs.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698