Merge remote-tracking branch 'aosp/upstream-master' into merge-from-upstream-20190420

* Fixed build for host
* Added required METADATA and MODULE_LICENSE_BSD files

Bug: 154443614
Test: mm -j40
Change-Id: I5f9bb7b9ac14170b7e44e3b3dcfb4c37619fbd15
tree: eccb3e4c6ec162116d2f00d984d57335114756a0
  1. .github/
  2. .gitignore
  3. .travis.yml
  4. AUTHORS
  5. Android.bp
  6. Android.mk
  7. ChangeLog
  8. DEPS
  9. INSTALL
  10. LICENSE
  11. METADATA
  12. MODULE_LICENSE_BSD
  13. Makefile.am
  14. Makefile.in
  15. NEWS
  16. OWNERS
  17. PRESUBMIT.cfg
  18. README.ANDROID
  19. README.md
  20. aclocal.m4
  21. android/
  22. appveyor.yml
  23. autotools/
  24. breakpad-client.pc.in
  25. breakpad.pc.in
  26. configure
  27. configure.ac
  28. default.xml
  29. docs/
  30. m4/
  31. scripts/
  32. src/
README.md

Breakpad

Breakpad is a set of client and server components which implement a crash-reporting system.

Getting started (from master)

  1. First, download depot_tools and ensure that they’re in your PATH.

  2. Create a new directory for checking out the source code (it must be named breakpad).

    mkdir breakpad && cd breakpad
    
  3. Run the fetch tool from depot_tools to download all the source repos.

    fetch breakpad
    cd src
    
  4. Build the source.

    ./configure && make
    

    You can also cd to another directory and run configure from there to build outside the source tree.

    This will build the processor tools (src/processor/minidump_stackwalk, src/processor/minidump_dump, etc), and when building on Linux it will also build the client libraries and some tools (src/tools/linux/dump_syms/dump_syms, src/tools/linux/md2core/minidump-2-core, etc).

  5. Optionally, run tests.

    make check
    
  6. Optionally, install the built libraries

    make install
    

If you need to reconfigure your build be sure to run make distclean first.

To update an existing checkout to a newer revision, you can git pull as usual, but then you should run gclient sync to ensure that the dependent repos are up-to-date.

To request change review

  1. Follow the steps above to get the source and build it.

  2. Make changes. Build and test your changes. For core code like processor use methods above. For linux/mac/windows, there are test targets in each project file.

  3. Commit your changes to your local repo and upload them to the server. http://dev.chromium.org/developers/contributing-code e.g. git commit ... && git cl upload ... You will be prompted for credential and a description.

  4. At https://chromium-review.googlesource.com/ you'll find your issue listed; click on it, then “Add reviewer”, and enter in the code reviewer. Depending on your settings, you may not see an email, but the reviewer has been notified with google-breakpad-dev@googlegroups.com always CC’d.