Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(380)

Unified Diff: win8/delegate_execute/delegate_execute.gyp

Issue 10875008: Integrate the Windows 8 code into the Chromium tree. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adding gyp target that fails in case of missing SDK patch. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: win8/delegate_execute/delegate_execute.gyp
diff --git a/win8/delegate_execute/delegate_execute.gyp b/win8/delegate_execute/delegate_execute.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..7beffd3d00db92fd4fd0cad73bf9d2e95e173a5f
--- /dev/null
+++ b/win8/delegate_execute/delegate_execute.gyp
@@ -0,0 +1,66 @@
+# 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_delegate_execute',
+ 'type': 'none',
+ 'variables': {
+ 'check_sdk_script': '<(DEPTH)/chrome/tools/build/win/check_sdk_patch.py',
+ },
+ 'actions': [
+ {
+ 'action_name': 'check_sdk_patch_action',
+ 'inputs': [
+ '<@(windows_sdk_path)/Include/winrt/asyncinfo.h',
+ ],
+ 'outputs': [
+ # This keeps the ninja build happy.
+ 'dummy',
+ ],
+ 'action': ['python', '<(check_sdk_script)', '<@(windows_sdk_path)'],
+ },
+ ],
+ },
+ {
+ 'target_name': 'delegate_execute',
+ 'type': 'executable',
+ 'dependencies': [
+ 'check_sdk_patch_delegate_execute',
+ '<(DEPTH)/base/base.gyp:base',
+ '<(DEPTH)/chrome/chrome.gyp:installer_util',
+ '<(DEPTH)/google_update/google_update.gyp:google_update',
+ ],
+ 'sources': [
+ 'chrome_util.cc',
+ 'chrome_util.h',
+ 'command_execute_impl.cc',
+ 'command_execute_impl.h',
+ 'command_execute_impl.rgs',
+ 'delegate_execute.cc',
+ 'delegate_execute.rc',
+ 'delegate_execute.rgs',
+ 'delegate_execute_operation.cc',
+ 'delegate_execute_operation.h',
+ 'resource.h',
+ ],
+ 'defines': [
+ # This define is required to pull in the new Win8 interfaces from
+ # system headers like ShObjIdl.h
+ 'NTDDI_VERSION=0x06020000',
+ ],
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
+ },
+ },
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698