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

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

Issue 1408623002: Add cloud_print to the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes 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
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, ],
27 }, 25 },
28 'targets': [ 26 'targets': [
29 { 27 {
28 # GN version: //cloud_print/service/win:cloud_print_service
30 'target_name': 'cloud_print_service', 29 'target_name': 'cloud_print_service',
31 'type': 'executable', 30 'type': 'executable',
32 'sources': [ 31 'sources': [
33 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_exe_version. rc', 32 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_exe_version. rc',
34 'cloud_print_service.cc', 33 'cloud_print_service.cc',
35 ], 34 ],
36 'includes': [ 35 'includes': [
37 'service_resources.gypi' 36 'service_resources.gypi'
38 ], 37 ],
39 'dependencies': [ 38 'dependencies': [
40 '<(DEPTH)/cloud_print/cloud_print_resources.gyp:cloud_print_version_reso urces', 39 '<(DEPTH)/cloud_print/cloud_print_resources.gyp:cloud_print_version_reso urces',
41 '<(DEPTH)/cloud_print/service/service.gyp:cloud_print_service_lib', 40 '<(DEPTH)/cloud_print/service/service.gyp:cloud_print_service_lib',
42 ], 41 ],
43 'msvs_settings': { 42 'msvs_settings': {
44 'VCLinkerTool': { 43 'VCLinkerTool': {
45 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE 44 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE
46 'UACExecutionLevel': '2', # /level='requireAdministrator' 45 'UACExecutionLevel': '2', # /level='requireAdministrator'
47 'AdditionalDependencies': [ 46 'AdditionalDependencies': [
48 'secur32.lib', 47 'secur32.lib',
49 ], 48 ],
50 }, 49 },
51 }, 50 },
52 }, 51 },
53 { 52 {
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
102 'target_name': 'cloud_print_service_setup', 103 'target_name': 'cloud_print_service_setup',
103 'type': 'executable', 104 'type': 'executable',
104 'sources': [ 105 'sources': [
105 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_setup_exe_ve rsion.rc', 106 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_setup_exe_ve rsion.rc',
106 'installer.cc', 107 'installer.cc',
107 'installer.h', 108 'installer.h',
108 ], 109 ],
109 'includes': [ 110 'includes': [
110 'service_resources.gypi' 111 'service_resources.gypi'
111 ], 112 ],
112 'dependencies': [ 113 'dependencies': [
113 '<(DEPTH)/cloud_print/cloud_print_resources.gyp:cloud_print_version_reso urces', 114 '<(DEPTH)/cloud_print/cloud_print_resources.gyp:cloud_print_version_reso urces',
114 '<(DEPTH)/cloud_print/common/common.gyp:cloud_print_install_lib', 115 '<(DEPTH)/cloud_print/common/common.gyp:cloud_print_install_lib',
115 '<(DEPTH)/cloud_print/service/service.gyp:cloud_print_service_lib', 116 '<(DEPTH)/cloud_print/service/service.gyp:cloud_print_service_lib',
116 ], 117 ],
117 'msvs_settings': { 118 'msvs_settings': {
118 'VCLinkerTool': { 119 'VCLinkerTool': {
119 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS 120 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
120 'UACExecutionLevel': '2', # /level='requireAdministrator' 121 'UACExecutionLevel': '2', # /level='requireAdministrator'
121 'AdditionalDependencies': [ 122 'AdditionalDependencies': [
122 'secur32.lib', 123 'secur32.lib',
123 ], 124 ],
124 }, 125 },
125 }, 126 },
126 }, 127 },
127 ], 128 ],
128 } 129 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698