1. 31 Aug, 2012 1 commit
    • digit@chromium.org's avatar
      Fix 'make check' for Android · fa064e21
      digit@chromium.org authored
      This patch allows 'make check' to work when performing
      an Automake-based build of Breakpad for Android. This
      requires to have an Android device connected, and the
      'adb' tool in your path.
      
      You can test that with something like:
      
          configure --host=arm-linux-androideabi
          make check
      
      This is achieved by adding a new small shell script
      under android/test-shell.sh, which is invoked by the
      Makefile (see TESTS_ENVIRONMENT definition in
      Makefile.am).
      
      By default, this runs all unit tests, including those
      for the processor and tools (which normally never run
      on an Android device).
      
      Note that the test suites fails (e.g. 11 failing tests
      for the client library). This will be addressed in later
      patches.
      
      + Modify android/run-checks.sh to run the client library
        test suite on the device by default.
      
      + Add a new option (--all-tests) to android/run-checks.sh
        which forces it to run the unit test suite for the host
        binaries, and the full suite on the Android device.
      
      + Update README.ANDROID appropriately.
      Review URL: https://breakpad.appspot.com/441002
      
      git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1023 4c0a9323-5329-0410-9bdc-e9ce6186880e
      fa064e21
  2. 30 Aug, 2012 2 commits
  3. 23 Aug, 2012 1 commit
    • digit@chromium.org's avatar
      Fix Breakpad unit tests build for Android. · 13d9e27e
      digit@chromium.org authored
      This patch contains the source-related fixes to ensure that
      the Breakpad unit tests build properly when targetting Android.
      
      Calling 'make check' still fails because there is still no
      way to run the unit test programs on a device. This will be
      addressed by a future patch.
      
      Important notes:
      
      - You must target Android API level 9 (Gingerbread) or higher
        to build the unit tests. This requirement is due to the
        current GTest revision used in the breakpad source tree.
      
      - This patch adds headers providing inlined C library functions
        missing from the NDK (see src/common/android/testing). They
        are inlined to avoid modifying Makefile.am and other build
        files.
      
      - Similarly, the <wchar.h> header-fix under
        src/common/android/testing/include is only required by
        GTest's current revision. E.g. it's not needed when building
        Breakpad as part of Chromium which uses a more up-to-date
        revision.
      Review URL: https://breakpad.appspot.com/439002
      
      git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1020 4c0a9323-5329-0410-9bdc-e9ce6186880e
      13d9e27e
  4. 21 Aug, 2012 3 commits
  5. 20 Aug, 2012 2 commits
  6. 17 Aug, 2012 1 commit
  7. 15 Aug, 2012 1 commit
  8. 14 Aug, 2012 1 commit
  9. 10 Aug, 2012 1 commit
  10. 09 Aug, 2012 1 commit
  11. 07 Aug, 2012 1 commit
  12. 06 Aug, 2012 2 commits
  13. 03 Aug, 2012 2 commits
  14. 01 Aug, 2012 2 commits
  15. 25 Jul, 2012 1 commit
  16. 24 Jul, 2012 4 commits
  17. 23 Jul, 2012 2 commits
  18. 20 Jul, 2012 3 commits
  19. 19 Jul, 2012 1 commit
  20. 18 Jul, 2012 3 commits
  21. 16 Jul, 2012 1 commit
  22. 10 Jul, 2012 1 commit
  23. 09 Jul, 2012 2 commits
    • digit@chromium.org's avatar
      Add Android NDK module definition + sample application · 0bed408b
      digit@chromium.org authored
      This patch adds a new directory named "android/" which contains
      the following:
      
      - A NDK build system module definition for the Google Breakpad
        client library. This can be used by developers using the ndk-build
        build system to more easily build and use the client library in
        their own programs.
      
      - A sample application demonstrating how to use the module,
        as well as test that the library works properly during a
        crash.
      
      - A shell script (run-checks.sh) that will check everything
        for you automatically, including:
      
        - Rebuilding the host Google Breakpad host package with configure/make
        - Rebuilding the Android client library with configure/make
        - Rebuilding the Android client library and test program with ndk-build
        - Running the crashing test program, extract minidump, dump symbols,
          generate a stack trace and check that it has correct source file
          locations.
      
      For more details, run android/run-checks.sh --help-all
      
      + Updates to the README.ANDROID documentation.
      Review URL: https://breakpad.appspot.com/407002
      
      git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@983 4c0a9323-5329-0410-9bdc-e9ce6186880e
      0bed408b
    • qsr@chromium.org's avatar
      Fix compilation for iOS on XCode 4.5 · 47e34e6f
      qsr@chromium.org authored
       Compilation directive for PPC was using MAC_OS_X_VERSION_MIN_REQUIRED.
      
       This is not correct, as the latest SDKs allow to compile for older version of
      Mac OS, but don't contain the ppc headers. Changing the directive to use
      MAC_OS_X_VERSION_MAX_ALLOWED instead.
      
       Moreover, uploader.mm was including pwd.h that was not used and doesn't exist
      on the latest iOS SDK.
      Review URL: https://breakpad.appspot.com/412002
      
      git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@982 4c0a9323-5329-0410-9bdc-e9ce6186880e
      47e34e6f
  24. 04 Jul, 2012 1 commit