| Index: content/shell/content_shell_ant_helper.sh
|
| diff --git a/content/shell/content_shell_ant_helper.sh b/content/shell/content_shell_ant_helper.sh
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..167ed3b8209ff598f71a7de1e6b6af6921063ef6
|
| --- /dev/null
|
| +++ b/content/shell/content_shell_ant_helper.sh
|
| @@ -0,0 +1,18 @@
|
| +#!/bin/sh
|
| +
|
| +# Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +set -eu
|
| +
|
| +# A helper script to help convert the values of the fifth parameter for
|
| +# ant building: 'Debug' -> 'debug'; 'Release' -> 'release'.
|
| +# It's used by content/content_shell.gypi
|
| +
|
| +buildtype="$(echo "${6}" | tr '[A-Z]' '[a-z]')"
|
| +
|
| +# TODO(yongsheng): enable build type by adding "${buildtype}" into the
|
| +# end of parameter list once the workflow is ready to support release
|
| +# mode.
|
| +exec "${1}" "${2}" "${3}" "${4}" "${5}"
|
|
|