OLD | NEW |
(Empty) | |
| 1 #!/bin/sh |
| 2 |
| 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. |
| 6 |
| 7 set -eu |
| 8 |
| 9 # A helper script to help convert the values of the fifth parameter for |
| 10 # ant building: 'Debug' -> 'debug'; 'Release' -> 'release'. |
| 11 # It's used by content/content_shell.gypi |
| 12 |
| 13 buildtype="$(echo "${6}" | tr '[A-Z]' '[a-z]')" |
| 14 |
| 15 # TODO(yongsheng): enable build type by adding "${buildtype}" into the |
| 16 # end of parameter list once the workflow is ready to support release |
| 17 # mode. |
| 18 exec "${1}" "${2}" "${3}" "${4}" "${5}" |
OLD | NEW |