Fix the gdb path for NDK-r8b.
- Removed android.toolchain property. - Added android.gdbserver property. - Changed property-location to check the both file and directory's existence. TBR=jam BUG= Review URL: https://chromiumcodereview.appspot.com/10823435 git-svn-id: http://src.chromium.org/svn/trunk/src/build@155108 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
8c1308368e
Коммит
176bb69f2b
|
@ -53,7 +53,7 @@
|
|||
<condition>
|
||||
<and>
|
||||
<equals arg1="@{check-exists}" arg2="true"/>
|
||||
<not><available type="dir" file="@{location}"/></not>
|
||||
<not><available file="@{location}"/></not>
|
||||
</and>
|
||||
</condition>
|
||||
</fail>
|
||||
|
@ -74,5 +74,5 @@
|
|||
<property-location name="sdk.dir" location="${ANDROID_SDK_ROOT}"/>
|
||||
<property-value name="target" value="android-${ANDROID_SDK_VERSION}"/>
|
||||
<property name="source.dir" location="src"/>
|
||||
<property-location name="toolchain.dir" location="${ANDROID_TOOLCHAIN}"/>
|
||||
<property-location name="android.gdbserver" location="${ANDROID_GDBSERVER}"/>
|
||||
</project>
|
||||
|
|
|
@ -158,7 +158,7 @@ file ${app_process}
|
|||
target remote :4321
|
||||
EOF
|
||||
|
||||
gdb=$(echo $ANDROID_TOOLCHAIN/*gdb)
|
||||
gdb=$(echo $ANDROID_TOOLCHAIN/../../linux-x86/bin/*gdb)
|
||||
if [[ ! -f ${gdb} ]] ; then
|
||||
echo "Wow no gdb in env var ANDROID_TOOLCHAIN which is $ANDROID_TOOLCHAIN"
|
||||
exit 4
|
||||
|
|
|
@ -61,8 +61,6 @@
|
|||
'--ant-args',
|
||||
'-DANDROID_SDK_VERSION=<(android_sdk_version)',
|
||||
'--ant-args',
|
||||
'-DANDROID_TOOLCHAIN=<(android_toolchain)',
|
||||
'--ant-args',
|
||||
'-DANDROID_GDBSERVER=<(android_gdbserver)',
|
||||
'--ant-args',
|
||||
'-DCHROMIUM_SRC=<(ant_build_out)/../..',
|
||||
|
|
|
@ -60,7 +60,6 @@
|
|||
'-DANDROID_SDK_ROOT=<(android_sdk_root)',
|
||||
'-DANDROID_SDK_TOOLS=<(android_sdk_tools)',
|
||||
'-DANDROID_SDK_VERSION=<(android_sdk_version)',
|
||||
'-DANDROID_TOOLCHAIN=<(android_toolchain)',
|
||||
'-DANDROID_GDBSERVER=<(android_gdbserver)',
|
||||
'-Dbasedir=<(java_in_dir)',
|
||||
'-buildfile',
|
||||
|
|
Загрузка…
Ссылка в новой задаче