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

Unified 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 side-by-side diff with in-line comments
Download patch
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
index 9a013c71d3a6639d19aa44952a654fba91cd29ac..589dde116296340d527cff6db718b99d8524e4fe 100755
--- a/content/shell/content_shell_ant_helper.sh
+++ b/content/shell/content_shell_ant_helper.sh
@@ -10,9 +10,10 @@ set -eu
# ant building: 'Debug' -> 'debug'; 'Release' -> 'release'.
# It's used by content/content_shell.gypi
-buildtype="$(echo "${11}" | tr '[A-Z]' '[a-z]')"
+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.
# 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}" "${6}" "${7}" "${8}" "${9}" "${10}"
+exec "${1}" "${2}" "${3}" "${4}" "${5}" "${6}" "${7}" "${8}" "${9}" "${10}" \
+ "${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.

Powered by Google App Engine
This is Rietveld 408576698