| 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 'target_defaults': { |
| 12 'defines': [ |
| 13 # This define is required to pull in the new Win8 interfaces from system |
| 14 # headers like ShObjIdl.h |
| 15 'NTDDI_VERSION=0x06020000', |
| 16 ], |
| 17 }, |
| 11 'targets': [ | 18 'targets': [ |
| 12 { | 19 { |
| 13 'target_name': 'delegate_execute', | 20 'target_name': 'delegate_execute', |
| 14 'type': 'executable', | 21 'type': 'executable', |
| 15 'dependencies': [ | 22 'dependencies': [ |
| 16 '../../base/base.gyp:base', | 23 '../../base/base.gyp:base', |
| 17 '../../chrome/chrome.gyp:installer_util', | 24 '../../chrome/chrome.gyp:installer_util', |
| 18 '../../google_update/google_update.gyp:google_update', | 25 '../../google_update/google_update.gyp:google_update', |
| 19 '../../win8/win8.gyp:check_sdk_patch', | 26 '../../win8/win8.gyp:check_sdk_patch', |
| 20 ], | 27 ], |
| 21 'sources': [ | 28 'sources': [ |
| 22 'chrome_util.cc', | 29 'chrome_util.cc', |
| 23 'chrome_util.h', | 30 'chrome_util.h', |
| 24 'command_execute_impl.cc', | 31 'command_execute_impl.cc', |
| 25 'command_execute_impl.h', | 32 'command_execute_impl.h', |
| 26 'command_execute_impl.rgs', | 33 'command_execute_impl.rgs', |
| 27 'delegate_execute.cc', | 34 'delegate_execute.cc', |
| 28 'delegate_execute.rc', | 35 'delegate_execute.rc', |
| 29 'delegate_execute.rgs', | 36 'delegate_execute.rgs', |
| 30 'delegate_execute_operation.cc', | 37 'delegate_execute_operation.cc', |
| 31 'delegate_execute_operation.h', | 38 'delegate_execute_operation.h', |
| 39 'delegate_execute_util.cc', |
| 40 'delegate_execute_util.h', |
| 32 'resource.h', | 41 'resource.h', |
| 33 ], | 42 ], |
| 34 'defines': [ | |
| 35 # This define is required to pull in the new Win8 interfaces from | |
| 36 # system headers like ShObjIdl.h | |
| 37 'NTDDI_VERSION=0x06020000', | |
| 38 ], | |
| 39 'msvs_settings': { | 43 'msvs_settings': { |
| 40 'VCLinkerTool': { | 44 'VCLinkerTool': { |
| 41 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | 45 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
| 42 }, | 46 }, |
| 43 }, | 47 }, |
| 44 }, | 48 }, |
| 49 { |
| 50 'target_name': 'delegate_execute_unittests', |
| 51 'type': 'executable', |
| 52 'dependencies': [ |
| 53 '../../base/base.gyp:base', |
| 54 '../../base/base.gyp:run_all_unittests', |
| 55 '../../testing/gtest.gyp:gtest', |
| 56 ], |
| 57 'sources': [ |
| 58 'delegate_execute_util.cc', |
| 59 'delegate_execute_util.h', |
| 60 'delegate_execute_util_unittest.cc', |
| 61 ], |
| 62 }, |
| 45 ], | 63 ], |
| 46 } | 64 } |
| OLD | NEW |