summaryrefslogtreecommitdiffstats
path: root/webkit/config.gyp
blob: 71e780a3ed7b5353c5e78cd70761d6e3e95caf1f (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
# Copyright (c) 2009 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': [
    'features.gypi',
  ],
  'targets': [
    {
      # This target creates config.h suitable for a WebKit-V8 build and
      # copies a few other files around as needed.
      'target_name': 'config',
      'type': 'none',
      'msvs_guid': '2E2D3301-2EC4-4C0F-B889-87073B30F673',
      'direct_dependent_settings': {
        'defines': [
          '<@(feature_defines)',
          '<@(non_feature_defines)',
        ],
      },
      'conditions': [
        ['OS=="win"', {
          'dependencies': ['../build/win/system.gyp:cygwin'], 
          'direct_dependent_settings': {
            'defines': [
              '__STD_C',
              '_CRT_SECURE_NO_DEPRECATE', 
              '_SCL_SECURE_NO_DEPRECATE',
            ],
            'include_dirs': [
              '../third_party/WebKit/JavaScriptCore/os-win32',
              'build/JavaScriptCore',
            ],
          },
        }],
      ],
    },
  ], # targets
}