DEPS 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. # Copyright 2010 Google Inc. All rights reserved.
  2. #
  3. # Redistribution and use in source and binary forms, with or without
  4. # modification, are permitted provided that the following conditions are
  5. # met:
  6. #
  7. # * Redistributions of source code must retain the above copyright
  8. # notice, this list of conditions and the following disclaimer.
  9. # * Redistributions in binary form must reproduce the above
  10. # copyright notice, this list of conditions and the following disclaimer
  11. # in the documentation and/or other materials provided with the
  12. # distribution.
  13. # * Neither the name of Google Inc. nor the names of its
  14. # contributors may be used to endorse or promote products derived from
  15. # this software without specific prior written permission.
  16. #
  17. # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  18. # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  19. # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  20. # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  21. # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  22. # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  23. # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  24. # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  25. # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  26. # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  27. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  28. # This is used to mimic the svn:externals mechanism for gclient (both Git and
  29. # SVN) based checkouts of Breakpad. As such, its use is entirely optional. If
  30. # using a manually managed SVN checkout as opposed to a gclient managed checkout
  31. # you can still use the hooks mechanism for generating project files by calling
  32. # 'gclient runhooks' rather than 'gclient sync'.
  33. deps = {
  34. # Testing libraries and utilities.
  35. "src/src/testing":
  36. "https://github.com/google/googletest.git" +
  37. "@4fe018038f87675c083d0cfb6a6b57c274fb1753",
  38. # Protobuf.
  39. "src/src/third_party/protobuf/protobuf":
  40. "https://github.com/google/protobuf.git" +
  41. "@cb6dd4ef5f82e41e06179dcd57d3b1d9246ad6ac",
  42. # GYP project generator.
  43. "src/src/tools/gyp":
  44. "https://chromium.googlesource.com/external/gyp/" +
  45. "@324dd166b7c0b39d513026fa52d6280ac6d56770",
  46. # Linux syscall support.
  47. "src/src/third_party/lss":
  48. "https://chromium.googlesource.com/linux-syscall-support/" +
  49. "@e1e7b0ad8ee99a875b272c8e33e308472e897660",
  50. }
  51. hooks = [
  52. {
  53. # Keep the manifest up to date.
  54. "action": ["python", "src/src/tools/python/deps-to-manifest.py",
  55. "src/DEPS", "src/default.xml"],
  56. },
  57. ]
  58. hooks_os = {
  59. 'win': [
  60. {
  61. # TODO(chrisha): Fix the GYP files so that they work without
  62. # --no-circular-check.
  63. "pattern": ".",
  64. "action": ["python",
  65. "src/src/tools/gyp/gyp_main.py",
  66. "--no-circular-check",
  67. "src/src/client/windows/breakpad_client.gyp"],
  68. },
  69. {
  70. # XXX: this and above should all be wired into build/all.gyp ?
  71. "action": ["python",
  72. "src/src/tools/gyp/gyp_main.py",
  73. "--no-circular-check",
  74. "src/src/tools/windows/tools_windows.gyp"],
  75. },
  76. ],
  77. }