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 'conditions': [ | 5 'conditions': [ |
6 ['OS=="win"', { | 6 ['OS=="win"', { |
7 'variables': { | 7 'variables': { |
8 'chromium_code': 1, | 8 'chromium_code': 1, |
9 }, | 9 }, |
10 'includes': [ | 10 'includes': [ |
11 '../../build/util/version.gypi', | 11 '../../build/util/version.gypi', |
12 '../../build/win_precompile.gypi', | 12 '../../build/win_precompile.gypi', |
13 ], | 13 ], |
14 'target_defaults': { | 14 'target_defaults': { |
15 # This and the force include below is a workaround for intsafe.h in | 15 # This and the force include below is a workaround for intsafe.h in |
16 # VS 2010. | 16 # VS 2010. |
17 'msvs_system_include_dirs': [ | 17 'msvs_system_include_dirs': [ |
18 '<(DEPTH)/build', | 18 '<(DEPTH)/build', |
19 ], | 19 ], |
20 'msvs_settings': { | 20 'msvs_settings': { |
21 'VCLinkerTool': { | 21 'VCLinkerTool': { |
22 'AdditionalDependencies': [ | 22 'AdditionalDependencies': [ |
23 'D2D1.lib', | 23 'D2D1.lib', |
24 'D3D11.lib', | 24 'D3D11.lib', |
| 25 'runtimeobject.lib', |
| 26 ], |
| 27 'DelayLoadDLLs': [ |
| 28 'API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL', |
| 29 'API-MS-WIN-CORE-WINRT-L1-1-0.DLL', |
| 30 'API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL', |
25 ], | 31 ], |
26 }, | 32 }, |
27 'VCCLCompilerTool': { | 33 'VCCLCompilerTool': { |
28 'ForcedIncludeFiles': [ 'intsafe_workaround.h', ], | 34 'ForcedIncludeFiles': [ 'intsafe_workaround.h', ], |
29 }, | 35 }, |
30 }, | 36 }, |
31 }, | 37 }, |
32 'targets': [ | 38 'targets': [ |
33 { | 39 { |
34 'target_name': 'metro_driver_version_resources', | 40 'target_name': 'metro_driver_version_resources', |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 '../../ui/metro_viewer/metro_viewer.gyp:metro_viewer_messages', | 75 '../../ui/metro_viewer/metro_viewer.gyp:metro_viewer_messages', |
70 '../../url/url.gyp:url_lib', | 76 '../../url/url.gyp:url_lib', |
71 '../win8.gyp:check_sdk_patch', | 77 '../win8.gyp:check_sdk_patch', |
72 'metro_driver_version_resources', | 78 'metro_driver_version_resources', |
73 ], | 79 ], |
74 'sources': [ | 80 'sources': [ |
75 'display_properties.cc', | 81 'display_properties.cc', |
76 'display_properties.h', | 82 'display_properties.h', |
77 'metro_driver.cc', | 83 'metro_driver.cc', |
78 'metro_driver.h', | 84 'metro_driver.h', |
| 85 'metro_driver_win7.cc', |
79 'stdafx.h', | 86 'stdafx.h', |
80 'winrt_utils.cc', | 87 'winrt_utils.cc', |
81 'winrt_utils.h', | 88 'winrt_utils.h', |
82 '<(SHARED_INTERMEDIATE_DIR)/metro_driver/metro_driver_dll_version.rc
', | 89 '<(SHARED_INTERMEDIATE_DIR)/metro_driver/metro_driver_dll_version.rc
', |
83 ], | 90 ], |
84 'conditions': [ | 91 'conditions': [ |
85 ['use_aura==1', { | 92 ['use_aura==1', { |
86 'dependencies': [ | 93 'dependencies': [ |
87 '../win8.gyp:metro_viewer_constants', | 94 '../win8.gyp:metro_viewer_constants', |
88 ], | 95 ], |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 'run_all_unittests.cc', | 155 'run_all_unittests.cc', |
149 'winrt_utils.cc', | 156 'winrt_utils.cc', |
150 'winrt_utils.h', | 157 'winrt_utils.h', |
151 'winrt_utils_unittest.cc', | 158 'winrt_utils_unittest.cc', |
152 ], | 159 ], |
153 }, | 160 }, |
154 ], | 161 ], |
155 },], | 162 },], |
156 ], | 163 ], |
157 } | 164 } |
OLD | NEW |