summaryrefslogtreecommitdiffstats
path: root/webkit/webkit.gyp
blob: 81dd6b86a1b8eab6ff643a4b7230ef5f629cd369 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Copyright (c) 2010 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'includes': [
    '../build/win_precompile.gypi',
    '../third_party/WebKit/Source/WebKit/chromium/features.gypi',
    'tools/test_shell/test_shell.gypi',
  ],
  'variables': {
    'chromium_code': 1,
  },
  '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'
          ],
        }
      ],
    }, {
      '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
}