summaryrefslogtreecommitdiffstats
path: root/webkit/support/setup_third_party.gyp
blob: c5cce6c1c104f5b2bcfbe715e94ba9e8cf90afa6 (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
54
55
56
57
58
59
60
61
62
# 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.

{
  'variables': {
    'list_headers_cmd': ['python', 'list_headers.py'],
    'destination': '<(DEPTH)/third_party/WebKit/WebKit/chromium/public',
  },
  'targets': [
    {
      # TODO(tony): Would be nice if this would make symlinks on linux/mac
      # and try to make hardlinks on ntfs.
      'target_name': 'third_party_headers',
      'type': 'none',
      'copies': [
        {
          'destination': '<(destination)',
          'files': [
            '<!@(<(list_headers_cmd) <(DEPTH)/public/)',
          ],
        },
        {
          'destination': '<(destination)/gtk',
          'files': [
            '<!@(<(list_headers_cmd) <(DEPTH)/public/gtk/)',
          ],
        },
        {
          'destination': '<(destination)/linux',
          'files': [
            '<!@(<(list_headers_cmd) <(DEPTH)/public/linux/)',
          ],
        },
        {
          'destination': '<(destination)/mac',
          'files': [
            '<!@(<(list_headers_cmd) <(DEPTH)/public/mac/)',
          ],
        },
        {
          'destination': '<(destination)/win',
          'files': [
            '<!@(<(list_headers_cmd) <(DEPTH)/public/win/)',
          ],
        },
        {
          'destination': '<(destination)/x11',
          'files': [
            '<!@(<(list_headers_cmd) <(DEPTH)/public/x11/)',
          ],
        },
        {
          'destination': '<(DEPTH)/third_party/WebKit/WebKit/mac/WebCoreSupport',
          'files': [
            '<(DEPTH)/../mac/WebCoreSupport/WebSystemInterface.h',
          ],
        },
      ]
    },
  ],
}