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',
25 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
26 'msvs_disabled_warnings': [ 4267, ],
30 'target_name': 'cloud_print_service',
33 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_exe_version.rc',
34 'cloud_print_service.cc',
37 'service_resources.gypi'
40 '<(DEPTH)/cloud_print/cloud_print_resources.gyp:cloud_print_version_resources',
41 '<(DEPTH)/cloud_print/service/service.gyp:cloud_print_service_lib',
45 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE
46 'UACExecutionLevel': '2', # /level='requireAdministrator'
47 'AdditionalDependencies': [
54 'target_name': 'cloud_print_service_config',
57 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_config_exe_version.rc',
58 'cloud_print_service_config.cc',
61 'service_resources.gypi'
64 '<(DEPTH)/cloud_print/cloud_print_resources.gyp:cloud_print_version_resources',
65 '<(DEPTH)/cloud_print/common/common.gyp:cloud_print_install_lib',
66 '<(DEPTH)/cloud_print/service/service.gyp:cloud_print_service_lib',
70 'AdditionalManifestFiles': [
71 'common-controls.manifest',
75 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
76 'UACExecutionLevel': '2', # /level='requireAdministrator'
77 'AdditionalDependencies': [
83 # TODO: Remove once cloud_print_service_config.cc no longer depends
84 # on atlapp.h, http://crbug.com/5027
86 'AdditionalOptions': [
87 # atlapp.h contains a global "using namespace WTL;".
88 '-Wno-header-hygiene',
89 # atlgdi.h does an intentional assignment in an if conditional.
91 # atlgdi.h fails with -Wreorder enabled.
93 # atlgdi.h doesn't use braces around subobject initializers.
94 '-Wno-missing-braces',
102 'target_name': 'cloud_print_service_setup',
103 'type': 'executable',
105 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_setup_exe_version.rc',
110 'service_resources.gypi'
113 '<(DEPTH)/cloud_print/cloud_print_resources.gyp:cloud_print_version_resources',
114 '<(DEPTH)/cloud_print/common/common.gyp:cloud_print_install_lib',
115 '<(DEPTH)/cloud_print/service/service.gyp:cloud_print_service_lib',
119 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
120 'UACExecutionLevel': '2', # /level='requireAdministrator'
121 'AdditionalDependencies': [