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

Side by Side Diff: content/shell/content_shell_ant_helper.sh

Issue 10823435: Fix the gdb path for NDK-r8b. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add variable for all ant action. Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 set -eu 7 set -eu
8 8
9 # A helper script to help convert the values of the fifth parameter for 9 # A helper script to help convert the values of the fifth parameter for
Peter Beverloo 2012/08/23 10:45:48 fifth -> last?
10 # ant building: 'Debug' -> 'debug'; 'Release' -> 'release'. 10 # ant building: 'Debug' -> 'debug'; 'Release' -> 'release'.
11 # It's used by content/content_shell.gypi 11 # It's used by content/content_shell.gypi
12 12
13 buildtype="$(echo "${11}" | tr '[A-Z]' '[a-z]')" 13 buildtype="$(echo "${12}" | tr '[A-Z]' '[a-z]')"
Peter Beverloo 2012/08/23 10:45:48 buildtype="$(echo "${@: -1}" | tr '[A-Z]' '[a-z]')
michaelbai 2012/08/23 22:53:00 Done.
14 14
15 # TODO(yongsheng): enable build type by adding "${buildtype}" into the 15 # TODO(yongsheng): enable build type by adding "${buildtype}" into the
16 # end of parameter list once the workflow is ready to support release 16 # end of parameter list once the workflow is ready to support release
17 # mode. 17 # mode.
18 exec "${1}" "${2}" "${3}" "${4}" "${5}" "${6}" "${7}" "${8}" "${9}" "${10}" 18 exec "${1}" "${2}" "${3}" "${4}" "${5}" "${6}" "${7}" "${8}" "${9}" "${10}" \
19 "${11}"
Peter Beverloo 2012/08/23 10:45:48 exec "${@:1:$((${#@} - 1))}" and when we want to
michaelbai 2012/08/23 22:53:00 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698