- 03 Aug, 2013 1 commit
-
-
Andrew Hsieh authored
Previously find-ndk-root-win-host.cmd set both env. vars: NDK_ROOT and NDK_WIN_HOST with the following compound statement endlocal && set "NDK_ROOT=%TEMP1%" && set "NDK_WIN_HOST=%TEMP2%" Unfortunately, the "cmd" in WINE appends " " to all but the last "set", causing error message reads: Can't recognize '"Z:\tmp\android-ndk-r9\prebuilt/windows-x86_64 /bin/make.exe" -f "Z:\tmp\android-ndk-r9\build/core/build-local.mk" SHELL=cmd as an internal or external command, or batch script. Rename to find-win-host.cmd and recompute NDK_ROOT in both callers Change-Id: I1c22ca905db74a09b3b99c06d70ef89b66732397
-
- 28 Jul, 2013 1 commit
-
-
Ray Donnelly authored
Move the determination of NDK_ROOT and NDK_WIN_HOST for ndk-build.cmd and ndk-gdb-py,cmd into a common batch file - find-ndk-root-win-host.cmd This also fixes a bug in ndk-gdb-py.cmd on 64bit Windows where it was hard-coded to assume 32bit Windows.
-
- 08 Jan, 2013 1 commit
-
-
Ray Donnelly authored
Pythonic replacements for the ndk-gdb shell script. Attempts to emulate the old behaviour, including verbose mode and logging and also the general layout of the shell script. Added a new command line option, --tui/-t to launch gdb in text user interface mode, if the gdb is built with support for this. Change-Id: Ic02feb18d70fe449bf54a531ffb973513dc82783
-
- 06 Jan, 2013 1 commit
-
-
Andrew Hsieh authored
Otherwise when 64-bit NDK_MAKE is overriden, cmd.exe gives warning about the syntax. Change-Id: If673c302ac62d2cae0393b25baab44e131db7d5e
-
- 03 Jan, 2013 2 commits
-
-
Andrew Hsieh authored
Also allow NDK_LOG=0 to disable logging, and NDK_HOST_32BIT=0 to disable force-32bit. Change-Id: I58d87d5ca1fe73eb33c88fee75418849641d2c5a
-
Andrew Hsieh authored
Change-Id: Idaf7d93dfd031e40b7b005805e71688f079e94ac
-
- 23 Sep, 2012 1 commit
-
-
Andrew Hsieh authored
ndk-build.cmd incorrectly report NDK installation contains space, because when the 2nd argument is empty, "%~2" isn't expanded. Fix it to "%2" w/o modifier. Change-Id: If3236a3cdaff3e9a0de6ffd51efb8cdea274614a
-
- 21 Sep, 2012 1 commit
-
-
Andrew Hsieh authored
Check to ensure NDK isn't installed in path containing space. Many NDK scripts aren't ready to handle path with space yet. Change-Id: I1a76a9ff7bb84fd9a5c27f73e17b753c858070e7
-
- 28 Jun, 2012 2 commits
-
-
Andrew Hsieh authored
Better fix than https://android-review.googlesource.com/#/c/38631 on issue http://code.google.com/p/android/issues/detail?id=32300 "make" does set ERRORLEVEL but in cmd.exe it seems that ERRORLEVEL is evaluated before the whole compound statement instead of just before it is use. Change-Id: Ia56d3dc89e4b13caabd29aeaf57c277906202fdd
-
Andrew Hsieh authored
It appears that "make" doesnʼt set ERRORLEVEL running ndk-build.cmd in cmd.exe shell, which causes ERRORLEVEL to remain zero even when make fails. Fixed it to return non-zero value when fails. Related issue: http://code.google.com/p/android/issues/detail?id=32300 Change-Id: Iedd6c4897035e35910ca12ef6f70730800881aba
-
- 12 Mar, 2012 1 commit
-
-
David 'Digit' Turner authored
This is a fix for http://code.google.com/p/android/issues/detail?id=26175 It ensures that ndk-build.cmd works correctly even if the user has redefined the SHELL environment variable (which can happen under the hood when installing a variety of development tools on Windows). Change-Id: I36231b334f745dd0cbaf59ff99e0447bdb61f7c5
-
- 18 Oct, 2011 1 commit
-
-
David 'Digit' Turner authored
This patch is adds support to "native" (i.e. Cygwin-less) Windows NDK build through the new 'ndk-build.cmd' Windows shell script. Just call it from the cmd.exe command-line, when in your project path. The script takes the same arguments than 'ndk-build'. + Adds the source of a new tiny Windows-specific command-line "echo" program. The reason for this is that the 'echo' that comes with cmd.exe is too weird and will not work properly when invoked from make (e.g. it can't deal with double-quoted strings properly: it will print the double-quotes in the output). + build/tools/build-host-toolbox.sh: new script to rebuild the 'echo' program on Windows. The idea is that the 'toolbox' may contain other command-line programs like "cp" or "mkdir" in the future, to avoid relying on the not-so-robust cmd.exe versions of these commands (del, md, xcopy), if necessary. + Make build-host-prebuilts.sh call build-host-toolbox.sh when generating Windows binaries, and package-release.sh unpack the corresponding archive when generating the Windows packages. + build-funcs.sh can now be used to build host binaries too. + docs/CHANGES.html: document new native win32 build support. Change-Id: I4d30f6c6532ae84deb95e7e5f595af76b97d9257
-