1. 03 Aug, 2013 1 commit
    • Andrew Hsieh's avatar
      Simplify finding windows host name to workaround a bug in WINE · c81d48f0
      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
      c81d48f0
  2. 28 Jul, 2013 1 commit
    • Ray Donnelly's avatar
      Tidy up Windows batch files to also fix ndk-gdb-py.cmd · 8cf35c48
      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.
      8cf35c48
  3. 08 Jan, 2013 1 commit
    • Ray Donnelly's avatar
      Added ndk-gdb{.py|-py|-py.cmd} · c2f40d9f
      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
      c2f40d9f
  4. 06 Jan, 2013 1 commit
    • Andrew Hsieh's avatar
      Quote NDK_MAKE in ndk-build.cmd · 10ad40db
      Andrew Hsieh authored
      Otherwise when 64-bit NDK_MAKE is overriden, cmd.exe gives warning
      about the syntax.
      
      Change-Id: If673c302ac62d2cae0393b25baab44e131db7d5e
      10ad40db
  5. 03 Jan, 2013 2 commits
  6. 23 Sep, 2012 1 commit
    • Andrew Hsieh's avatar
      Fix ndk-build.cmd running in wine · 67c97675
      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
      67c97675
  7. 21 Sep, 2012 1 commit
  8. 28 Jun, 2012 2 commits
  9. 12 Mar, 2012 1 commit
  10. 18 Oct, 2011 1 commit
    • David 'Digit' Turner's avatar
      Add win32 native build support · ad1afc5e
      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
      ad1afc5e