aboutsummaryrefslogtreecommitdiff
path: root/DEPS
diff options
context:
space:
mode:
authorMark Mentovai <mark@chromium.org>2017-09-27 16:43:35 -0400
committerMark Mentovai <mark@chromium.org>2017-09-27 20:46:16 +0000
commitcbd7bb4cd2845b2ae56e1d3318ec879031378f32 (patch)
tree0bb6c671e3c58bf6551ee70202c755ec185a7a6f /DEPS
parentFix MSVC build on 64-bit (diff)
downloadbreakpad-cbd7bb4cd2845b2ae56e1d3318ec879031378f32.tar.xz
Only run GYP for Windows targets on Windows
This prevents GYP from running on macOS, where it would produce a bunch of pointless .xcodeproj directories for Windows libraries and tools that could never possibly build. Those would pollute “git status” output and other operations. Check in a new default.xml generated from DEPS too. It doesn’t correspond to this change, but I should have done this in 26b988681d5b. Change-Id: I034a5b30d13fdcc14911fc1354504375752d6144 Reviewed-on: https://chromium-review.googlesource.com/688045 Reviewed-by: Robert Sesek <rsesek@chromium.org>
Diffstat (limited to 'DEPS')
-rw-r--r--DEPS37
1 files changed, 21 insertions, 16 deletions
diff --git a/DEPS b/DEPS
index db7f72d2..a13a181a 100644
--- a/DEPS
+++ b/DEPS
@@ -56,24 +56,29 @@ deps = {
hooks = [
{
- # TODO(chrisha): Fix the GYP files so that they work without
- # --no-circular-check.
- "pattern": ".",
- "action": ["python",
- "src/src/tools/gyp/gyp_main.py",
- "--no-circular-check",
- "src/src/client/windows/breakpad_client.gyp"],
- },
- {
- # XXX: this and above should all be wired into build/all.gyp ?
- "action": ["python",
- "src/src/tools/gyp/gyp_main.py",
- "--no-circular-check",
- "src/src/tools/windows/tools_windows.gyp"],
- },
- {
# Keep the manifest up to date.
"action": ["python", "src/src/tools/python/deps-to-manifest.py",
"src/DEPS", "src/default.xml"],
},
]
+
+hooks_os = {
+ 'win': [
+ {
+ # TODO(chrisha): Fix the GYP files so that they work without
+ # --no-circular-check.
+ "pattern": ".",
+ "action": ["python",
+ "src/src/tools/gyp/gyp_main.py",
+ "--no-circular-check",
+ "src/src/client/windows/breakpad_client.gyp"],
+ },
+ {
+ # XXX: this and above should all be wired into build/all.gyp ?
+ "action": ["python",
+ "src/src/tools/gyp/gyp_main.py",
+ "--no-circular-check",
+ "src/src/tools/windows/tools_windows.gyp"],
+ },
+ ],
+}