Supervised user whitelists: Cleanup
[chromium-blink-merge.git] / win8 / delegate_execute / delegate_execute.gyp
blob0138cb44f613631d484c32b7b8fac2cce34bcbef
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   'variables': {
6     'chromium_code': 1,
7   },
8   'includes': [
9     '../../build/util/version.gypi',
10     '../../build/win_precompile.gypi',
11   ],
12   'targets': [
13     {
14       'target_name': 'delegate_execute_version_resources',
15       'type': 'none',
16       'conditions': [
17         ['branding == "Chrome"', {
18           'variables': {
19              'branding_path': '../../chrome/app/theme/google_chrome/BRANDING',
20           },
21         }, { # else branding!="Chrome"
22           'variables': {
23              'branding_path': '../../chrome/app/theme/chromium/BRANDING',
24           },
25         }],
26       ],
27       'variables': {
28         'output_dir': 'delegate_execute',
29         'template_input_path': '../../chrome/app/chrome_version.rc.version',
30       },
31       'sources': [
32         'delegate_execute_exe.ver',
33       ],
34       'includes': [
35         '../../chrome/version_resource_rules.gypi',
36       ],
37     },
38     {
39       'target_name': 'delegate_execute',
40       'type': 'executable',
41       'dependencies': [
42         '../../base/base.gyp:base',
43         '../../breakpad/breakpad.gyp:breakpad_handler',
44         '../../chrome/chrome.gyp:installer_util',
45         '../../content/content.gyp:content_common',
46         '../../google_update/google_update.gyp:google_update',
47         '../../ui/base/ui_base.gyp:ui_base',
48         '../../ui/gfx/gfx.gyp:gfx',
49         '../../ui/gfx/gfx.gyp:gfx_geometry',
50         'delegate_execute_version_resources',
51       ],
52       'sources': [
53         'chrome_util.cc',
54         'chrome_util.h',
55         'command_execute_impl.cc',
56         'command_execute_impl.h',
57         'command_execute_impl.rgs',
58         'crash_server_init.cc',
59         'crash_server_init.h',
60         'delegate_execute.cc',
61         'delegate_execute.rc',
62         'delegate_execute_operation.cc',
63         'delegate_execute_operation.h',
64         'delegate_execute_util.cc',
65         'delegate_execute_util.h',
66         'resource.h',
67         '<(SHARED_INTERMEDIATE_DIR)/delegate_execute/delegate_execute_exe_version.rc',
68       ],
69       'msvs_settings': {
70         'VCLinkerTool': {
71           'SubSystem': '2',  # Set /SUBSYSTEM:WINDOWS
72         },
73       },
74       'conditions': [
75         ['use_aura==1', {
76           'dependencies': [
77             '../win8.gyp:metro_viewer_constants',
78           ],
79         }],
80       ],
81     },
82     {
83       'target_name': 'delegate_execute_unittests',
84       'type': 'executable',
85       'dependencies': [
86         '../../base/base.gyp:base',
87         '../../base/base.gyp:run_all_unittests',
88         '../../testing/gtest.gyp:gtest',
89       ],
90       'sources': [
91         'delegate_execute_util.cc',
92         'delegate_execute_util.h',
93         'delegate_execute_util_unittest.cc',
94       ],
95     },
96   ],