blob: 3ddaf4e3a72f4e7f535fd8a7a66e7b015a1b4695 [file] [log] [blame]
chrisha@chromium.org611f8b72014-04-03 18:34:24 +00001# Copyright 2010 Google Inc. All rights reserved.
hansl@google.comffedcd42010-05-03 20:21:40 +00002#
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.org983af7c2014-04-02 20:18:55 +000029# 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 = {
chrisha@chromium.org983af7c2014-04-02 20:18:55 +000036 # Testing libraries and utilities.
Mike Frysingerb1d3cdb2016-01-06 19:44:41 -050037 "src/src/testing":
Mike Frysingerb1d3cdb2016-01-06 19:44:41 -050038 "https://github.com/google/googletest.git" +
Lei Zhang83772462019-02-27 16:37:49 -080039 "@5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081",
chrisha@chromium.org983af7c2014-04-02 20:18:55 +000040
41 # Protobuf.
42 "src/src/third_party/protobuf/protobuf":
Mike Frysingerb1d3cdb2016-01-06 19:44:41 -050043 "https://github.com/google/protobuf.git" +
44 "@cb6dd4ef5f82e41e06179dcd57d3b1d9246ad6ac",
chrisha@chromium.org983af7c2014-04-02 20:18:55 +000045
46 # GYP project generator.
Mike Frysingerb1d3cdb2016-01-06 19:44:41 -050047 "src/src/tools/gyp":
48 "https://chromium.googlesource.com/external/gyp/" +
Mark Mentovai26b98862017-08-28 09:19:38 -040049 "@324dd166b7c0b39d513026fa52d6280ac6d56770",
chrisha@chromium.org983af7c2014-04-02 20:18:55 +000050
51 # Linux syscall support.
52 "src/src/third_party/lss":
Mike Frysingere8dbddf2015-09-11 01:37:29 -040053 "https://chromium.googlesource.com/linux-syscall-support/" +
Michael Forney26337122020-03-16 16:47:53 -070054 "@fd00dbbd0c06a309c657d89e9430143b179ff6db",
chrisha@chromium.org983af7c2014-04-02 20:18:55 +000055}
56
hansl@google.comffedcd42010-05-03 20:21:40 +000057hooks = [
58 {
Mike Frysinger13888682016-09-01 13:27:16 -040059 # 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.comffedcd42010-05-03 20:21:40 +000063]
Mark Mentovaicbd7bb42017-09-27 16:43:35 -040064
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}