[Eraser strings] Remove unused Supervised User infobar and corresponding strings
[chromium-blink-merge.git] / win8 / metro_driver / metro_driver.gyp
blob2720bb5b8d6f632cc624d2dd43604fa434c60c5a
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.
5   'conditions': [
6     ['OS=="win"', {
7       'variables': {
8         'chromium_code': 1,
9       },
10       'includes': [
11         '../../build/util/version.gypi',
12         '../../build/win_precompile.gypi',
13       ],
14       'target_defaults': {
15         'msvs_settings': {
16           'VCLinkerTool': {
17             'AdditionalDependencies': [
18               'D2D1.lib',
19               'D3D11.lib',
20               'runtimeobject.lib',
21             ],
22             'DelayLoadDLLs': [
23               'API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL',
24               'API-MS-WIN-CORE-WINRT-L1-1-0.DLL',
25               'API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL',
26             ],
27           },
28         },
29       },
30       'targets': [
31         {
32           'target_name': 'metro_driver_version_resources',
33           'type': 'none',
34           'variables': {
35             'output_dir': 'metro_driver',
36             'branding_path': '../../chrome/app/theme/<(branding_path_component)/BRANDING',
37             'template_input_path': '../../chrome/app/chrome_version.rc.version',
38           },
39           'sources': [
40             'metro_driver_dll.ver',
41           ],
42           'includes': [
43             '../../chrome/version_resource_rules.gypi',
44           ],
45         },
46         {
47           'target_name': 'metro_driver',
48           'type': 'shared_library',
49           'dependencies': [
50             '../../base/base.gyp:base',
51             '../../chrome/common_constants.gyp:common_constants',
52             '../../chrome/chrome.gyp:installer_util',
53             '../../crypto/crypto.gyp:crypto',
54             '../../ipc/ipc.gyp:ipc',
55             '../../sandbox/sandbox.gyp:sandbox',
56             '../../ui/metro_viewer/metro_viewer.gyp:metro_viewer_messages',
57             '../../ui/gfx/gfx.gyp:gfx',
58             '../../ui/gfx/gfx.gyp:gfx_geometry',
59             '../../url/url.gyp:url_lib',
60             'metro_driver_version_resources',
61           ],
62           'sources': [
63             'display_properties.cc',
64             'display_properties.h',
65             'metro_driver.cc',
66             'metro_driver.h',
67             'metro_driver_win7.cc',
68             'stdafx.h',
69             'winrt_utils.cc',
70             'winrt_utils.h',
71             '<(SHARED_INTERMEDIATE_DIR)/metro_driver/metro_driver_dll_version.rc',
72           ],
73           'conditions': [
74             ['use_aura==1', {
75               'dependencies': [
76                 '../win8.gyp:metro_viewer_constants',
77               ],
78               'sources': [
79                 'chrome_app_view_ash.cc',
80                 'chrome_app_view_ash.h',
81                 'direct3d_helper.cc',
82                 'direct3d_helper.h',
83                 'file_picker_ash.cc',
84                 'file_picker_ash.h',
85               ],
86               'includes': [
87                 'ime/ime.gypi',
88               ],
89             }, {  # use_aura!=1
90               'sources': [
91                 'chrome_app_view.cc',
92                 'chrome_app_view.h',
93                 'chrome_url_launch_handler.cc',
94                 'chrome_url_launch_handler.h',
95                 'devices_handler.cc',
96                 'devices_handler.h',
97                 'file_picker.cc',
98                 'file_picker.h',
99                 'metro_dialog_box.cc',
100                 'metro_dialog_box.h',
101                 'print_document_source.cc',
102                 'print_document_source.h',
103                 'print_handler.cc',
104                 'print_handler.h',
105                 'secondary_tile.cc',
106                 'secondary_tile.h',
107                 'settings_handler.cc',
108                 'settings_handler.h',
109                 'toast_notification_handler.cc',
110                 'toast_notification_handler.h',
111               ],
112             }],
113           ],
114           'copies': [
115             {
116               'destination': '<(PRODUCT_DIR)',
117               'files': [
118                 'resources/Logo.png',
119                 'resources/SecondaryTile.png',
120                 'resources/SmallLogo.png',
121                 'resources/splash-620x300.png',
122                 'resources/VisualElementsManifest.xml',
123               ],
124             },
125           ],
126         },
127         {
128           'target_name': 'metro_driver_unittests',
129           'type': 'executable',
130           'dependencies': [
131             '../../base/base.gyp:base',
132             '../../chrome/chrome.gyp:installer_util',
133             '../../testing/gtest.gyp:gtest',
134             'metro_driver',
135           ],
136           'sources': [
137             'run_all_unittests.cc',
138             'winrt_utils.cc',
139             'winrt_utils.h',
140             'winrt_utils_unittest.cc',
141           ],
142         },
143       ],
144     },],
145   ],