From 942b563f859f7f73a2865549dbf89781a887d0f1 Mon Sep 17 00:00:00 2001
From: "thomasvl@chromium.org"
 <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Thu, 30 Apr 2009 19:24:02 +0000
Subject: [PATCH] - Mark the 'All' target with for getting a runner per
 http://codereview.chromium.org/99223 - Add a new target to build just what's
 needed for the webkit layout bots. - Roll deps for the needed GYP change.
 Review URL: http://codereview.chromium.org/100208

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14969 0039d316-1c4b-4281-b951-d872f2087c98
---
 DEPS          |  2 +-
 build/all.gyp | 19 ++++++++++++++++++-
 2 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/DEPS b/DEPS
index a3bdabf0009f0..bc24485a9a6b4 100644
--- a/DEPS
+++ b/DEPS
@@ -26,7 +26,7 @@ deps = {
 
   # TODO(mark): Remove once this has moved into depot_tools.
   "src/tools/gyp":
-    "http://gyp.googlecode.com/svn/trunk@452",
+    "http://gyp.googlecode.com/svn/trunk@456",
 
   "src/v8":
     "http://v8.googlecode.com/svn/trunk@1809",
diff --git a/build/all.gyp b/build/all.gyp
index 1c798114dd254..1349cdac68759 100644
--- a/build/all.gyp
+++ b/build/all.gyp
@@ -19,6 +19,7 @@
     {
       'target_name': 'All',
       'type': 'none',
+      'xcode_create_dependents_test_runner': 1,
       'dependencies': [
         '../base/base.gyp:*',
         '../media/media.gyp:*',
@@ -75,5 +76,21 @@
       ],
     },
   ],
+  'conditions': [
+    ['OS=="mac"', {
+      # Target to build everything needed for layout tests to cut down
+      # on what the layout test bots have to build.
+      'targets': [
+        {
+          'target_name': 'build_for_layout_tests',
+          'type': 'none',
+          'dependencies': [
+            '../chrome/chrome.gyp:image_diff',
+            '../webkit/tools/test_shell/test_shell.gyp:test_shell',
+            '../webkit/tools/test_shell/test_shell.gyp:test_shell_tests',
+          ],
+        },
+      ],
+    }],
+  ],
 }
-
-- 
GitLab