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

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: more paths for gdbserver 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..0008a65b7c5f6fd7e576d1386abaeefba34518ed 100755
--- a/content/shell/content_shell_ant_helper.sh
+++ b/content/shell/content_shell_ant_helper.sh
@@ -6,13 +6,13 @@
set -eu
-# A helper script to help convert the values of the fifth parameter for
+# A helper script to help convert the values of the last parameter for
# ant building: 'Debug' -> 'debug'; 'Release' -> 'release'.
# It's used by content/content_shell.gypi
-buildtype="$(echo "${11}" | tr '[A-Z]' '[a-z]')"
+buildtype="$(echo "${@: -1}" | 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}" "${6}" "${7}" "${8}" "${9}" "${10}"
+exec "${@:1:$((${#@} - 1))}"

Powered by Google App Engine
This is Rietveld 408576698