• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  # Testing libraries and utilities.
37  "src/src/testing":
38    "https://github.com/google/googletest.git" +
39      "@5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081",
40
41  # Protobuf.
42  "src/src/third_party/protobuf/protobuf":
43    "https://github.com/google/protobuf.git" +
44      "@cb6dd4ef5f82e41e06179dcd57d3b1d9246ad6ac",
45
46  # GYP project generator.
47  "src/src/tools/gyp":
48    "https://chromium.googlesource.com/external/gyp/" +
49      "@324dd166b7c0b39d513026fa52d6280ac6d56770",
50
51  # Linux syscall support.
52  "src/src/third_party/lss":
53    "https://chromium.googlesource.com/linux-syscall-support/" +
54      "@fd00dbbd0c06a309c657d89e9430143b179ff6db",
55}
56
57hooks = [
58  {
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  },
63]
64
65hooks_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}
85