1. 18 Oct, 2010 1 commit
    • David 'Digit' Turner's avatar
      ndk-gdb: Fix windows invokation · caf06194
      David 'Digit' Turner authored
      This also simplifies the gdb client invokation by putting
      the "file" command inside the gdb.setup file, instead of
      using the command-line.
      
      Change-Id: Iaa31dd2afaada8552db0b72baca91ecd16d6ff95
      caf06194
  2. 12 Oct, 2010 2 commits
  3. 08 Oct, 2010 1 commit
  4. 07 Oct, 2010 2 commits
  5. 06 Oct, 2010 2 commits
    • David 'Digit' Turner's avatar
      Fix cygwin build on Windows. · 1579cd93
      David 'Digit' Turner authored
      This introduces changes to the build system to deal
      with the fact that our Windows toolchain binaries are
      not Cygwin programs anymore. As a consequence, they
      don't understand paths like /cygdrive/c/stuff.
      
      Essentially, this forces path conversions whenever we're
      sending a path to the toolchain binaries, through the new
      'host-path' and 'host-c-includes' helper functions.
      
      Also, it reformats the auto-generated dependency files
      in order for them to be properly parsed by Cygwin's
      GNU Make (see build/awk/convert-deps-to-cygwin.awk for
      examples).
      
      As a bonus, this change also simplifies the setup of
      each toolchain by grouping common definitions under
      build/tools/default-build-commands.mk
      
      Change-Id: I5af99b63cb53b3fcb5e1008dfb764e1e934623e5
      1579cd93
    • David 'Digit' Turner's avatar
      Rework toolchain build scripts. · a0f307d9
      David 'Digit' Turner authored
      * 'make-release.sh' can now be used to rebuild
        everything *from* scratch (ultra long).
        Use the new 'package-release.sh' if you want the old behaviour.
      
      * 'download-toolchain-sources.sh'will now apply patches
        by default before packaging the sources into a tarball.
        Use the --no-patch option to prevent this.
      
      * Add missing patches for proper Canadian-cross build
        and gdbserver thread support under build/tools/toolchain-patches
      
      * Rework the way 'rebuild-all-prebuilts.sh' works
      
      * Update docs/DEVELOPMENT.TXT to indicate how things work in
        the new world order.
      
      This change doesn't affect the NDK build system itself but simplifies
      release package generation greatly.
      
      Change-Id: I9a07fe1e64450b0d1329c4a9b47c22094cb29617
      a0f307d9
  6. 04 Oct, 2010 1 commit
    • David 'Digit' Turner's avatar
      Reorder location of toolchains files. · e11a9b58
      David 'Digit' Turner authored
      build/toolchains/<name>/*                    --> toolchains/<name>/*
      build/prebuilt/<system>/<name>/lib/gdbserver --> toolchains/<name>/prebuilt/gdbserver
      build/prebuilt/<system>/<name>/              --> toolchains/<name>/prebuilt/<system>/
      
      The main idea is to group all toolchain-related files under the same directory.
      
      Change-Id: Idb41de49b5d81b6881ac4e0eea24506ff4a07f03
      e11a9b58
  7. 24 Sep, 2010 1 commit
    • David 'Digit' Turner's avatar
      Add prebuilt static library support. · 7a6b17ae
      David 'Digit' Turner authored
      This is done with the new PREBUILT_STATIC_LIBRARY include script.
      
      + Simplify prebuilts dependencies by removing LOCAL_PREBUILTS.
        You can now simply list your prebuilts into LOCAL_STATIC_LIBRARIES
        and/or LOCAL_SHARED_LIBRARIES.
      
      + pretty-print paths during install build commands.
      
      Change-Id: I4aca605fc6f818d9669343c6aefc419a78ee0df2
      7a6b17ae
  8. 23 Sep, 2010 1 commit
    • David 'Digit' Turner's avatar
      Fix gdb-6.6 build with gcc-4.4.3 · 6938fb54
      David 'Digit' Turner authored
      The problem is that gdb-6.6's Makefile enforces -Werror which turns
      all compiler warnings in compilation errors.
      
      It seems that gcc-4.4 introduced new compiler warnings that make the build fail,
      so simply use -Wno-error to avoid the problem.
      
      + clear the build directory properly to avoid problems when using the
        same path for different builds.
      
      Change-Id: I7d25215ae542b70e302ed546f3d4c6e616f5af27
      6938fb54
  9. 21 Sep, 2010 1 commit
  10. 14 Sep, 2010 2 commits
    • David 'Digit' Turner's avatar
      Update toolchain to arm-linux-androideabi-4.4.3 · ea573da2
      David 'Digit' Turner authored
      You can still use the old one with NDK_TOOLCHAIN=arm-eabi-4.4.0
      defined in your environment.
      
      Removed support for arm-eabi-4.2.1
      
      + Add --mingw option to build/tools/build-gcc.sh
      
      Change-Id: I03f6b7cb67b1110e5794da9c4e9b6b8d1e029bb9
      ea573da2
    • David 'Digit' Turner's avatar
      Add easy native debugging support through NDK_DEBUG=1 · fd204377
      David 'Digit' Turner authored
      "ndk-build NDK_DEBUG=1" will force the build of a debuggable application.
      This really copies gdbserver to the proper location, as if android:debuggable
      was set to "true" in the app's manifest.
      
      The value of NDK_DEBUG can be 0, 1, true or false, and will override the content
      of the manifest. The main benefit from this change is that you don't have to
      edit your manifest file just to rebuilt
      
      Change-Id: I3fafb620189ac53a72b492c963832dd0c7f8b7d7
      fd204377
  11. 02 Sep, 2010 1 commit
  12. 29 Aug, 2010 1 commit
  13. 13 Aug, 2010 1 commit
  14. 30 Jul, 2010 1 commit
    • David 'Digit' Turner's avatar
      Move platform files from build/platforms to platforms. · 77d9a088
      David 'Digit' Turner authored
      This also prepares for a major shift in the way files are stored under
      development/ndk. Essentially, after this patch, you can have:
      
      development/ndk/android-N/arch-$ABI/
        ==> contains only files relevant to API level 'N' that are not
            already part of API level 'N-1', 'N-2', etc...
      
      development/ndk/android-N/samples/
        ==> contains samples that depend on features of a given API level 'N'.
      
      The idea is to be able to work on API level 'N+1' by adding a single
      directory under development/ndk. This is useful when branching between
      several platform release branches. And it makes platform additions
      trivial to examine and check.
      
      + build/tools/build-platforms.sh: group all files under development/ndk
        under $NDK/platforms and $NDK/samples, grouping everything together
      
      + build/tools/dev-cleanup.sh: get rid of all intermediate files,
        including $NDK/platforms and $NDK/samples
      
      + update make-release.h to deal with the new hotness.
      
      Change-Id: I1c26052b862af4c319b9c0a5757c585929650562
      77d9a088
  15. 24 Jul, 2010 1 commit
  16. 16 Jul, 2010 1 commit
  17. 15 Jul, 2010 5 commits
  18. 14 Jul, 2010 2 commits
  19. 13 Jul, 2010 1 commit
  20. 12 Jul, 2010 2 commits
  21. 10 Jul, 2010 1 commit
    • David 'Digit' Turner's avatar
      Add support for module imports. · 6a8948dc
      David 'Digit' Turner authored
      See docs/IMPORT-MODULE.TXT for details. You can now define NDK_MODULE_PATH
      in your environment to list directories that will be searched when the new
      function 'import-module' is called.
      
      The goal is to avoid hard-coding third-party module paths into your
      project tree.
      
      Change-Id: I6f260299876d29e0492109b86824acab318e104e
      6a8948dc
  22. 09 Jul, 2010 2 commits
  23. 07 Jul, 2010 2 commits
  24. 25 Jun, 2010 1 commit
  25. 22 Jun, 2010 1 commit
  26. 19 Jun, 2010 1 commit
  27. 17 Jun, 2010 1 commit
  28. 10 Jun, 2010 1 commit