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
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
35deps = {
36  # Logging code.
37  "src/src/third_party/glog":
38    "http://google-glog.googlecode.com/svn/trunk@97",
39
40  # Testing libraries and utilities.
41  "src/src/testing": "http://googlemock.googlecode.com/svn/trunk@408",
42  "src/src/testing/gtest": "http://googletest.googlecode.com/svn/trunk@615",
43
44  # Protobuf.
45  "src/src/third_party/protobuf/protobuf":
46    "http://protobuf.googlecode.com/svn/trunk@407",
47
48  # GYP project generator.
49  "src/src/tools/gyp": "http://gyp.googlecode.com/svn/trunk@1886",
50
51  # Linux syscall support.
52  "src/src/third_party/lss":
53    "http://linux-syscall-support.googlecode.com/svn/trunk/lss@24",
54}
55
56hooks = [
57  {
58    # TODO(chrisha): Fix the GYP files so that they work without
59    # --no-circular-check.
60    "pattern": ".",
61    "action": ["python",
62               "src/src/tools/gyp/gyp_main.py",
63               "--no-circular-check",
64               "src/src/client/windows/breakpad_client.gyp"],
65  },
66]
67