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.
8 'enable_wexit_time_destructors': 1,
12 # To allow including "version.h"
13 '<(SHARED_INTERMEDIATE_DIR)',
16 'COMPILE_CONTENT_STATICALLY',
19 '_ATL_APARTMENT_THREADED',
20 '_ATL_CSTRING_EXPLICIT_CONSTRUCTORS',
21 '_ATL_NO_COM_SUPPORT',
22 '_ATL_NO_AUTOMATIC_NAMESPACE',
27 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
28 'msvs_disabled_warnings': [ 4267, ],
34 'target_name': 'service_resources',
37 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/cloud_print',
41 'action_name': 'service_resources',
43 'grit_grd_file': 'win/service_resources.grd',
45 'includes': [ '../../build/grit_action.gypi' ],
48 'includes': [ '../../build/grit_target.gypi' ],
51 'target_name': 'cloud_print_service_lib',
52 'type': 'static_library',
54 '<(DEPTH)/base/base.gyp:base',
55 '<(DEPTH)/base/base.gyp:base_static',
56 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
57 '<(DEPTH)/components/components.gyp:cloud_devices_common',
58 '<(DEPTH)/google_apis/google_apis.gyp:google_apis',
59 '<(DEPTH)/ipc/ipc.gyp:ipc',
60 '<(DEPTH)/net/net.gyp:net',
61 '<(DEPTH)/url/url.gyp:url_lib',
67 '<(DEPTH)/chrome/chrome.gyp:chrome_version_header',
68 '<(DEPTH)/chrome/chrome.gyp:launcher_support',
69 '<(DEPTH)/chrome/common_constants.gyp:common_constants',
72 ['enable_printing!=0', {
74 '<(DEPTH)/printing/printing.gyp:printing',
79 '<(DEPTH)/content/public/common/content_switches.h',
80 '<(DEPTH)/content/public/common/content_switches.cc',
81 '<(DEPTH)/cloud_print/common/win/cloud_print_utils.cc',
82 '<(DEPTH)/cloud_print/common/win/cloud_print_utils.h',
83 'service_constants.cc',
84 'service_constants.h',
87 'service_switches.cc',
89 'win/chrome_launcher.cc',
90 'win/chrome_launcher.h',
91 'win/local_security_policy.cc',
92 'win/local_security_policy.h',
93 'win/service_controller.cc',
94 'win/service_controller.h',
95 'win/service_listener.cc',
96 'win/service_listener.h',
97 'win/service_utils.cc',
98 'win/service_utils.h',
99 'win/setup_listener.cc',
100 'win/setup_listener.h',
104 'target_name': 'cloud_print_service',
105 'type': 'executable',
107 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_exe_version.rc',
108 'win/cloud_print_service.cc',
111 'win/service_resources.gypi'
114 'cloud_print_service_lib',
118 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE
119 'UACExecutionLevel': '2', # /level='requireAdministrator'
120 'AdditionalDependencies': [
127 'target_name': 'cloud_print_service_config',
128 'type': 'executable',
130 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_config_exe_version.rc',
131 'win/cloud_print_service_config.cc',
134 'win/service_resources.gypi'
137 '<(DEPTH)/cloud_print/common/common.gyp:cloud_print_install_lib',
138 'cloud_print_service_lib',
142 'AdditionalManifestFiles': [
143 'common-controls.manifest',
147 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
148 'UACExecutionLevel': '2', # /level='requireAdministrator'
149 'AdditionalDependencies': [
156 'target_name': 'cloud_print_service_setup',
157 'type': 'executable',
159 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_setup_exe_version.rc',
164 'win/service_resources.gypi'
167 '<(DEPTH)/cloud_print/common/common.gyp:cloud_print_install_lib',
168 'cloud_print_service_lib',
172 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
173 'UACExecutionLevel': '2', # /level='requireAdministrator'
174 'AdditionalDependencies': [