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.
11 '../../build/util/version.gypi',
12 '../../build/win_precompile.gypi',
15 # This and the force include below is a workaround for intsafe.h in
17 'msvs_system_include_dirs': [
22 'AdditionalDependencies': [
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',
34 'ForcedIncludeFiles': [ 'intsafe_workaround.h', ],
40 'target_name': 'metro_driver_version_resources',
43 ['branding == "Chrome"', {
45 'branding_path': '../../chrome/app/theme/google_chrome/BRANDING',
47 }, { # else branding!="Chrome"
49 'branding_path': '../../chrome/app/theme/chromium/BRANDING',
54 'output_dir': 'metro_driver',
55 'template_input_path': '../../chrome/app/chrome_version.rc.version',
58 'metro_driver_dll.ver',
61 '../../chrome/version_resource_rules.gypi',
65 'target_name': 'metro_driver',
66 'type': 'shared_library',
68 '../../base/base.gyp:base',
69 '../../chrome/common_constants.gyp:common_constants',
70 '../../chrome/chrome.gyp:installer_util',
71 '../../crypto/crypto.gyp:crypto',
72 '../../google_update/google_update.gyp:google_update',
73 '../../ipc/ipc.gyp:ipc',
74 '../../sandbox/sandbox.gyp:sandbox',
75 '../../ui/metro_viewer/metro_viewer.gyp:metro_viewer_messages',
76 '../../url/url.gyp:url_lib',
77 'metro_driver_version_resources',
80 'display_properties.cc',
81 'display_properties.h',
84 'metro_driver_win7.cc',
88 '<(SHARED_INTERMEDIATE_DIR)/metro_driver/metro_driver_dll_version.rc',
93 '../win8.gyp:metro_viewer_constants',
96 'chrome_app_view_ash.cc',
97 'chrome_app_view_ash.h',
100 'file_picker_ash.cc',
108 'chrome_app_view.cc',
110 'chrome_url_launch_handler.cc',
111 'chrome_url_launch_handler.h',
112 'devices_handler.cc',
116 'metro_dialog_box.cc',
117 'metro_dialog_box.h',
118 'print_document_source.cc',
119 'print_document_source.h',
124 'settings_handler.cc',
125 'settings_handler.h',
126 'toast_notification_handler.cc',
127 'toast_notification_handler.h',
133 'destination': '<(PRODUCT_DIR)',
135 'resources/Logo.png',
136 'resources/SecondaryTile.png',
137 'resources/SmallLogo.png',
138 'resources/splash-620x300.png',
139 'resources/VisualElementsManifest.xml',
145 'target_name': 'metro_driver_unittests',
146 'type': 'executable',
148 '../../base/base.gyp:base',
149 '../../chrome/chrome.gyp:installer_util',
150 '../../testing/gtest.gyp:gtest',
154 'run_all_unittests.cc',
157 'winrt_utils_unittest.cc',