| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 { | 4 { |
| 5 'variables': { | 5 'variables': { |
| 6 'chromium_code': 1, | 6 'chromium_code': 1, |
| 7 }, | 7 }, |
| 8 'includes': [ | 8 'includes': [ |
| 9 '../build/win_precompile.gypi', | 9 '../build/win_precompile.gypi', |
| 10 ], | 10 ], |
| 11 'targets': [ | 11 'targets': [ |
| 12 { | 12 { |
| 13 'target_name': 'check_sdk_patch', | 13 'target_name': 'check_sdk_patch', |
| 14 'type': 'none', | 14 'type': 'none', |
| 15 'variables': { | 15 'variables': { |
| 16 'check_sdk_script': '<(DEPTH)/chrome/tools/build/win/check_sdk_patch.py'
, | 16 'check_sdk_script': '<(DEPTH)/chrome/tools/build/win/check_sdk_patch.py'
, |
| 17 'output_path': '<(INTERMEDIATE_DIR)/check_sdk_patch', | 17 'output_path': '<(INTERMEDIATE_DIR)/check_sdk_patch', |
| 18 }, | 18 }, |
| 19 'actions': [ | 19 'actions': [ |
| 20 { | 20 { |
| 21 'action_name': 'check_sdk_patch_action', | 21 'action_name': 'check_sdk_patch_action', |
| 22 'inputs': [ | 22 'inputs': [ |
| 23 '<(check_sdk_script)', | 23 '<(check_sdk_script)', |
| 24 '<(windows_sdk_path)/Include/winrt/asyncinfo.h', | |
| 25 ], | 24 ], |
| 26 'outputs': [ | 25 'outputs': [ |
| 27 # This keeps the ninja build happy and provides a slightly helpful | 26 # This keeps the ninja build happy and provides a slightly helpful |
| 28 # error messge if the sdk is missing. | 27 # error messge if the sdk is missing. |
| 29 '<(output_path)' | 28 '<(output_path)' |
| 30 ], | 29 ], |
| 31 'action': ['python', | 30 'action': ['python', |
| 32 '<(check_sdk_script)', | 31 '<(check_sdk_script)', |
| 33 '<(windows_sdk_path)', | 32 '<(windows_sdk_path)', |
| 34 '<(output_path)', | 33 '<(output_path)', |
| 35 ], | 34 ], |
| 36 }, | 35 }, |
| 37 ], | 36 ], |
| 38 }, | 37 }, |
| 39 ], | 38 ], |
| 40 } | 39 } |
| OLD | NEW |