OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 { |
| 5 'variables': { |
| 6 'chromium_code': 1, |
| 7 }, |
| 8 'includes': [ |
| 9 '../../build/win_precompile.gypi', |
| 10 ], |
| 11 'targets': [ |
| 12 { |
| 13 'target_name': 'check_sdk_patch_delegate_execute', |
| 14 'type': 'none', |
| 15 'variables': { |
| 16 'check_sdk_script': '<(DEPTH)/chrome/tools/build/win/check_sdk_patch.py'
, |
| 17 }, |
| 18 'actions': [ |
| 19 { |
| 20 'action_name': 'check_sdk_patch_action', |
| 21 'inputs': [ |
| 22 '<@(windows_sdk_path)/Include/winrt/asyncinfo.h', |
| 23 ], |
| 24 'outputs': [ |
| 25 # This keeps the ninja build happy. |
| 26 'dummy', |
| 27 ], |
| 28 'action': ['python', '<(check_sdk_script)', '<@(windows_sdk_path)'], |
| 29 }, |
| 30 ], |
| 31 }, |
| 32 { |
| 33 'target_name': 'delegate_execute', |
| 34 'type': 'executable', |
| 35 'dependencies': [ |
| 36 'check_sdk_patch_delegate_execute', |
| 37 '<(DEPTH)/base/base.gyp:base', |
| 38 '<(DEPTH)/chrome/chrome.gyp:installer_util', |
| 39 '<(DEPTH)/google_update/google_update.gyp:google_update', |
| 40 ], |
| 41 'sources': [ |
| 42 'chrome_util.cc', |
| 43 'chrome_util.h', |
| 44 'command_execute_impl.cc', |
| 45 'command_execute_impl.h', |
| 46 'command_execute_impl.rgs', |
| 47 'delegate_execute.cc', |
| 48 'delegate_execute.rc', |
| 49 'delegate_execute.rgs', |
| 50 'delegate_execute_operation.cc', |
| 51 'delegate_execute_operation.h', |
| 52 'resource.h', |
| 53 ], |
| 54 'defines': [ |
| 55 # This define is required to pull in the new Win8 interfaces from |
| 56 # system headers like ShObjIdl.h |
| 57 'NTDDI_VERSION=0x06020000', |
| 58 ], |
| 59 'msvs_settings': { |
| 60 'VCLinkerTool': { |
| 61 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
| 62 }, |
| 63 }, |
| 64 }, |
| 65 ], |
| 66 } |
OLD | NEW |