Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: cloud_print/service/win/service.gyp

Issue 1407623003: Revert of Add cloud_print to the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cloud_print/service/win/installer.cc ('k') | cloud_print/service/win/service_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 { 4 {
5 'target_defaults': { 5 'target_defaults': {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 'enable_wexit_time_destructors': 1, 8 'enable_wexit_time_destructors': 1,
9 }, 9 },
10 'include_dirs': [ 10 'include_dirs': [
11 '<(DEPTH)', 11 '<(DEPTH)',
12 # To allow including "version.h" 12 # To allow including "version.h"
13 '<(SHARED_INTERMEDIATE_DIR)', 13 '<(SHARED_INTERMEDIATE_DIR)',
14 ], 14 ],
15 'defines' : [ 15 'defines' : [
16 'COMPILE_CONTENT_STATICALLY', 16 'COMPILE_CONTENT_STATICALLY',
17 'SECURITY_WIN32', 17 'SECURITY_WIN32',
18 'STRICT', 18 'STRICT',
19 '_ATL_APARTMENT_THREADED', 19 '_ATL_APARTMENT_THREADED',
20 '_ATL_CSTRING_EXPLICIT_CONSTRUCTORS', 20 '_ATL_CSTRING_EXPLICIT_CONSTRUCTORS',
21 '_ATL_NO_COM_SUPPORT', 21 '_ATL_NO_COM_SUPPORT',
22 '_ATL_NO_AUTOMATIC_NAMESPACE', 22 '_ATL_NO_AUTOMATIC_NAMESPACE',
23 '_ATL_NO_EXCEPTIONS', 23 '_ATL_NO_EXCEPTIONS',
24 ], 24 ],
25 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
26 'msvs_disabled_warnings': [ 4267, ],
25 }, 27 },
26 'targets': [ 28 'targets': [
27 { 29 {
28 # GN version: //cloud_print/service/win:cloud_print_service
29 'target_name': 'cloud_print_service', 30 'target_name': 'cloud_print_service',
30 'type': 'executable', 31 'type': 'executable',
31 'sources': [ 32 'sources': [
32 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_exe_version. rc', 33 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_exe_version. rc',
33 'cloud_print_service.cc', 34 'cloud_print_service.cc',
34 ], 35 ],
35 'includes': [ 36 'includes': [
36 'service_resources.gypi' 37 'service_resources.gypi'
37 ], 38 ],
38 'dependencies': [ 39 'dependencies': [
39 '<(DEPTH)/cloud_print/cloud_print_resources.gyp:cloud_print_version_reso urces', 40 '<(DEPTH)/cloud_print/cloud_print_resources.gyp:cloud_print_version_reso urces',
40 '<(DEPTH)/cloud_print/service/service.gyp:cloud_print_service_lib', 41 '<(DEPTH)/cloud_print/service/service.gyp:cloud_print_service_lib',
41 ], 42 ],
42 'msvs_settings': { 43 'msvs_settings': {
43 'VCLinkerTool': { 44 'VCLinkerTool': {
44 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE 45 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE
45 'UACExecutionLevel': '2', # /level='requireAdministrator' 46 'UACExecutionLevel': '2', # /level='requireAdministrator'
46 'AdditionalDependencies': [ 47 'AdditionalDependencies': [
47 'secur32.lib', 48 'secur32.lib',
48 ], 49 ],
49 }, 50 },
50 }, 51 },
51 }, 52 },
52 { 53 {
53 # GN version: //cloud_print/service/win:cloud_print_service_config
54 'target_name': 'cloud_print_service_config', 54 'target_name': 'cloud_print_service_config',
55 'type': 'executable', 55 'type': 'executable',
56 'sources': [ 56 'sources': [
57 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_config_exe_v ersion.rc', 57 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_config_exe_v ersion.rc',
58 'cloud_print_service_config.cc', 58 'cloud_print_service_config.cc',
59 ], 59 ],
60 'includes': [ 60 'includes': [
61 'service_resources.gypi' 61 'service_resources.gypi'
62 ], 62 ],
63 'dependencies': [ 63 'dependencies': [
(...skipping 28 matching lines...) Expand all
92 '-Wno-reorder', 92 '-Wno-reorder',
93 # atlgdi.h doesn't use braces around subobject initializers. 93 # atlgdi.h doesn't use braces around subobject initializers.
94 '-Wno-missing-braces', 94 '-Wno-missing-braces',
95 ], 95 ],
96 }, 96 },
97 }], 97 }],
98 ], 98 ],
99 }, 99 },
100 }, 100 },
101 { 101 {
102 # GN version: //cloud_print/service/win:cloud_print_service_setup
103 'target_name': 'cloud_print_service_setup', 102 'target_name': 'cloud_print_service_setup',
104 'type': 'executable', 103 'type': 'executable',
105 'sources': [ 104 'sources': [
106 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_setup_exe_ve rsion.rc', 105 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_setup_exe_ve rsion.rc',
107 'installer.cc', 106 'installer.cc',
108 'installer.h', 107 'installer.h',
109 ], 108 ],
110 'includes': [ 109 'includes': [
111 'service_resources.gypi' 110 'service_resources.gypi'
112 ], 111 ],
113 'dependencies': [ 112 'dependencies': [
114 '<(DEPTH)/cloud_print/cloud_print_resources.gyp:cloud_print_version_reso urces', 113 '<(DEPTH)/cloud_print/cloud_print_resources.gyp:cloud_print_version_reso urces',
115 '<(DEPTH)/cloud_print/common/common.gyp:cloud_print_install_lib', 114 '<(DEPTH)/cloud_print/common/common.gyp:cloud_print_install_lib',
116 '<(DEPTH)/cloud_print/service/service.gyp:cloud_print_service_lib', 115 '<(DEPTH)/cloud_print/service/service.gyp:cloud_print_service_lib',
117 ], 116 ],
118 'msvs_settings': { 117 'msvs_settings': {
119 'VCLinkerTool': { 118 'VCLinkerTool': {
120 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS 119 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
121 'UACExecutionLevel': '2', # /level='requireAdministrator' 120 'UACExecutionLevel': '2', # /level='requireAdministrator'
122 'AdditionalDependencies': [ 121 'AdditionalDependencies': [
123 'secur32.lib', 122 'secur32.lib',
124 ], 123 ],
125 }, 124 },
126 }, 125 },
127 }, 126 },
128 ], 127 ],
129 } 128 }
OLDNEW
« no previous file with comments | « cloud_print/service/win/installer.cc ('k') | cloud_print/service/win/service_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698