- 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
-