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
|
# 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.
{
'target_defaults': {
'variables': {
'chromium_code': 1,
},
'include_dirs': [
'<(DEPTH)',
],
},
'targets': [
{
'target_name': 'cloud_print_service_lib',
'type': 'static_library',
'dependencies': [
'<(DEPTH)/base/base.gyp:base',
'<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl',
'<(DEPTH)/net/net.gyp:net',
'<(DEPTH)/printing/printing.gyp:printing',
],
'sources': [
'service_state.cc',
'service_state.h',
'service_switches.cc',
'service_switches.h',
'win/chrome_launcher.cc',
'win/chrome_launcher.h',
'win/local_security_policy.cc',
'win/local_security_policy.h',
],
'conditions': [
['OS=="win"', {
'dependencies': [
'<(DEPTH)/chrome/chrome.gyp:launcher_support',
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [ 4267, ],
}],
],
},
{
'target_name': 'cloud_print_service',
'type': 'executable',
'include_dirs': [
# To allow including "version.h"
'<(SHARED_INTERMEDIATE_DIR)',
],
'sources': [
'win/cloud_print_service.cc',
'win/cloud_print_service.h',
'win/cloud_print_service.rc',
'win/resource.h',
],
'dependencies': [
'cloud_print_service_lib',
],
'conditions': [
['OS=="win"', {
'dependencies': [
'<(DEPTH)/chrome/chrome.gyp:chrome_version_header',
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [ 4267, ],
}],
],
'msvs_settings': {
'VCLinkerTool': {
'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE
'UACExecutionLevel': '2', # /level='requireAdministrator'
'AdditionalDependencies': [
'secur32.lib',
],
},
},
},
],
}
|