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

Side by Side Diff: chrome/browser/ui/metro_driver/metro_driver.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, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 'conditions': [
6 ['OS=="win" and (MSVS_VERSION=="2010" or MSVS_VERSION=="2010e")', {
7 'variables': {
8 'chromium_code': 1,
9 },
10 'includes': [
11 '../../../../build/win_precompile.gypi',
12 ],
13 'target_defaults': {
14 'defines': [
15 # This define is required to pull in the new Win8 interfaces from
16 # system headers like ShObjIdl.h
17 'NTDDI_VERSION=0x06020000',
18 ],
19 'msvs_settings': {
20 'VCLinkerTool': {
21 'AdditionalDependencies': [
22 'D2D1.lib',
23 'D3D11.lib',
24 ],
25 },
26 },
27 },
28 'targets': [
29 {
30 'target_name': 'check_sdk_patch_metro_driver',
grt (UTC plus 2) 2012/08/29 02:59:18 is it appropriate to move this target into chrome.
robertshield 2012/08/30 13:34:05 I moved it into a common target under src/win8. Se
31 'type': 'none',
32 'variables': {
33 'check_sdk_script': '<(DEPTH)/chrome/tools/build/win/check_sdk_patch .py',
34 },
35 'actions': [
36 {
37 'action_name': 'check_sdk_patch_action',
38 'inputs': [
39 '<@(windows_sdk_path)/Include/winrt/asyncinfo.h',
40 ],
41 'outputs': [
42 # This keeps the ninja build happy.
43 'dummy',
44 ],
45 'action': ['python', '<(check_sdk_script)', '<@(windows_sdk_path)' ],
46 },
47 ],
48 },
49 {
50 'target_name': 'metro_driver',
51 'type': 'shared_library',
52 'dependencies': [
53 'check_sdk_patch_metro_driver',
54 '<(DEPTH)/base/base.gyp:base',
55 '<(DEPTH)/crypto/crypto.gyp:crypto',
56 '<(DEPTH)/sandbox/sandbox.gyp:sandbox',
57 '<(DEPTH)/google_update/google_update.gyp:google_update',
58 ],
59 'sources': [
60 'chrome_app_view.cc',
61 'chrome_app_view.h',
62 'chrome_url_launch_handler.cc',
63 'chrome_url_launch_handler.h',
64 '<(DEPTH)/win8/delegate_execute/chrome_util.cc',
65 '<(DEPTH)/win8/delegate_execute/chrome_util.h',
66 'devices_handler.cc',
67 'devices_handler.h',
68 'file_picker.h',
69 'file_picker.cc',
70 'metro_dialog_box.cc',
71 'metro_dialog_box.h',
72 'metro_driver.cc',
73 'print_handler.cc',
74 'print_handler.h',
75 'print_document_source.cc',
76 'print_document_source.h',
77 'secondary_tile.h',
78 'secondary_tile.cc',
79 'settings_handler.cc',
80 'settings_handler.h',
81 'stdafx.h',
82 'toast_notification_handler.cc',
83 'toast_notification_handler.h',
84 'winrt_utils.cc',
85 'winrt_utils.h',
86 ],
87 'copies': [
88 {
89 'destination': '<(PRODUCT_DIR)',
90 'files': [
91 'resources/Logo.png',
92 'resources/SecondaryTile.png',
93 'resources/SmallLogo.png',
94 'resources/splash-620x300.png',
95 'resources/VisualElementsManifest.xml',
96 ],
97 },
98 ],
99 },
100 {
101 'target_name': 'metro_driver_unittests',
102 'type': 'executable',
103 'dependencies': [
104 '<(DEPTH)/base/base.gyp:base',
105 '<(DEPTH)/testing/gtest.gyp:gtest',
106 'metro_driver',
107 ],
108 'sources': [
109 'run_all_unittests.cc',
110 'winrt_utils.cc',
111 'winrt_utils.h',
112 'winrt_utils_unittest.cc',
113 ],
114 },
115 ],
116 },],
117 ],
118 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698