chrisha@chromium.org | 611f8b7 | 2014-04-03 18:34:24 +0000 | [diff] [blame] | 1 | # Copyright 2010 Google Inc. All rights reserved. |
hansl@google.com | ffedcd4 | 2010-05-03 20:21:40 +0000 | [diff] [blame] | 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 | |
chrisha@chromium.org | 983af7c | 2014-04-02 20:18:55 +0000 | [diff] [blame] | 29 | # This is used to mimic the svn:externals mechanism for gclient (both Git and |
| 30 | # SVN) based checkouts of Breakpad. As such, its use is entirely optional. If |
| 31 | # using a manually managed SVN checkout as opposed to a gclient managed checkout |
| 32 | # you can still use the hooks mechanism for generating project files by calling |
| 33 | # 'gclient runhooks' rather than 'gclient sync'. |
| 34 | |
| 35 | deps = { |
chrisha@chromium.org | 983af7c | 2014-04-02 20:18:55 +0000 | [diff] [blame] | 36 | # Testing libraries and utilities. |
Mike Frysinger | b1d3cdb | 2016-01-06 19:44:41 -0500 | [diff] [blame] | 37 | "src/src/testing": |
Mike Frysinger | b1d3cdb | 2016-01-06 19:44:41 -0500 | [diff] [blame] | 38 | "https://github.com/google/googletest.git" + |
Lei Zhang | 8377246 | 2019-02-27 16:37:49 -0800 | [diff] [blame] | 39 | "@5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081", |
chrisha@chromium.org | 983af7c | 2014-04-02 20:18:55 +0000 | [diff] [blame] | 40 | |
| 41 | # Protobuf. |
| 42 | "src/src/third_party/protobuf/protobuf": |
Mike Frysinger | b1d3cdb | 2016-01-06 19:44:41 -0500 | [diff] [blame] | 43 | "https://github.com/google/protobuf.git" + |
| 44 | "@cb6dd4ef5f82e41e06179dcd57d3b1d9246ad6ac", |
chrisha@chromium.org | 983af7c | 2014-04-02 20:18:55 +0000 | [diff] [blame] | 45 | |
| 46 | # GYP project generator. |
Mike Frysinger | b1d3cdb | 2016-01-06 19:44:41 -0500 | [diff] [blame] | 47 | "src/src/tools/gyp": |
| 48 | "https://chromium.googlesource.com/external/gyp/" + |
Mark Mentovai | 26b9886 | 2017-08-28 09:19:38 -0400 | [diff] [blame] | 49 | "@324dd166b7c0b39d513026fa52d6280ac6d56770", |
chrisha@chromium.org | 983af7c | 2014-04-02 20:18:55 +0000 | [diff] [blame] | 50 | |
| 51 | # Linux syscall support. |
| 52 | "src/src/third_party/lss": |
Mike Frysinger | e8dbddf | 2015-09-11 01:37:29 -0400 | [diff] [blame] | 53 | "https://chromium.googlesource.com/linux-syscall-support/" + |
Michael Forney | 2633712 | 2020-03-16 16:47:53 -0700 | [diff] [blame] | 54 | "@fd00dbbd0c06a309c657d89e9430143b179ff6db", |
chrisha@chromium.org | 983af7c | 2014-04-02 20:18:55 +0000 | [diff] [blame] | 55 | } |
| 56 | |
hansl@google.com | ffedcd4 | 2010-05-03 20:21:40 +0000 | [diff] [blame] | 57 | hooks = [ |
| 58 | { |
Mike Frysinger | 1388868 | 2016-09-01 13:27:16 -0400 | [diff] [blame] | 59 | # Keep the manifest up to date. |
| 60 | "action": ["python", "src/src/tools/python/deps-to-manifest.py", |
| 61 | "src/DEPS", "src/default.xml"], |
| 62 | }, |
hansl@google.com | ffedcd4 | 2010-05-03 20:21:40 +0000 | [diff] [blame] | 63 | ] |
Mark Mentovai | cbd7bb4 | 2017-09-27 16:43:35 -0400 | [diff] [blame] | 64 | |
| 65 | hooks_os = { |
| 66 | 'win': [ |
| 67 | { |
| 68 | # TODO(chrisha): Fix the GYP files so that they work without |
| 69 | # --no-circular-check. |
| 70 | "pattern": ".", |
| 71 | "action": ["python", |
| 72 | "src/src/tools/gyp/gyp_main.py", |
| 73 | "--no-circular-check", |
| 74 | "src/src/client/windows/breakpad_client.gyp"], |
| 75 | }, |
| 76 | { |
| 77 | # XXX: this and above should all be wired into build/all.gyp ? |
| 78 | "action": ["python", |
| 79 | "src/src/tools/gyp/gyp_main.py", |
| 80 | "--no-circular-check", |
| 81 | "src/src/tools/windows/tools_windows.gyp"], |
| 82 | }, |
| 83 | ], |
| 84 | } |