summaryrefslogtreecommitdiffstats
path: root/win8/win8.gyp
blob: e4c9b893cdfc88c63aec87afc583123f9849c534 (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
# Copyright (c) 2012 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': {
    'chromium_code': 1,
  },
  'includes': [
    '../build/win_precompile.gypi',
  ],
  'targets': [
    {
      'target_name': 'check_sdk_patch',
      'type': 'none',
      'variables': {
        'check_sdk_script': '<(DEPTH)/chrome/tools/build/win/check_sdk_patch.py',
      },
      'actions': [
        {
          'action_name': 'check_sdk_patch_action',
          'inputs': [
            '<(check_sdk_script)',
            '<(windows_sdk_path)/Include/winrt/asyncinfo.h',
          ],
          'outputs': [
            # This keeps the ninja build happy and provides a slightly helpful
            # error messge if the sdk is missing.
            'check_sdk_patch',
          ],
          'action': ['python', '<(check_sdk_script)', '<(windows_sdk_path)'],
        },
      ],
    },
  ],
}