From 0ba831c266931ef2a76ccfe7fa5b58c3f6a27a01 Mon Sep 17 00:00:00 2001 From: "dpranke@chromium.org" Date: Wed, 23 Nov 2011 23:32:06 +0000 Subject: Add build_webkit_exes_from_webkit_gyp flag to build/common.gypi This is the first step in splitting up the circular dependencies between DRT, webkit_support, and webkit. This change should be a no-op for now. R=tony@chromium.org BUG=https://bugs.webkit.org/show_bug.cgi?id=68463 Review URL: http://codereview.chromium.org/8589013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111436 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/webkit.gyp | 49 ++++++++++++++++++++++++++++++++++++------------- 1 file changed, 36 insertions(+), 13 deletions(-) (limited to 'webkit/webkit.gyp') diff --git a/webkit/webkit.gyp b/webkit/webkit.gyp index d696016..81dd6b8 100644 --- a/webkit/webkit.gyp +++ b/webkit/webkit.gyp @@ -11,20 +11,43 @@ 'variables': { 'chromium_code': 1, }, - 'targets': [ - { - 'target_name': 'pull_in_webkit_unit_tests', - 'type': 'none', - 'dependencies': [ - '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit_unit_tests' + 'conditions': [ + # TODO(dpranke): See https://bugs.webkit.org/show_bug.cgi?id=68463 , + # flag in build/common.gypi. + ['build_webkit_exes_from_webkit_gyp==1', { + 'targets': [ + { + 'target_name': 'pull_in_webkit_unit_tests', + 'type': 'none', + 'dependencies': [ + '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit_unit_tests' + ], + }, + { + 'target_name': 'pull_in_DumpRenderTree', + 'type': 'none', + 'dependencies': [ + '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:DumpRenderTree' + ], + } ], - }, - { - 'target_name': 'pull_in_DumpRenderTree', - 'type': 'none', - 'dependencies': [ - '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:DumpRenderTree' + }, { + 'targets': [ + { + 'target_name': 'pull_in_webkit_unit_tests', + 'type': 'none', + 'dependencies': [ + '../third_party/WebKit/Source/WebKit/chromium/WebKitTest.gyp:webkit_unit_tests' + ], + }, + { + 'target_name': 'pull_in_DumpRenderTree', + 'type': 'none', + 'dependencies': [ + '../third_party/WebKit/Tools/Tools.gyp:DumpRenderTree' + ], + } ], - }, + }] ], # targets } -- cgit v1.1