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