blob: daff6916cbdbf962abebd579d0fd136bcfd75570 [file] [log] [blame]
[email protected]b907defe2011-02-23 02:45:341# Copyright (c) 2011 The Chromium Authors. All rights reserved.
[email protected]dd363682009-12-28 20:30:462# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5{
6 'target_defaults': {
7 'variables': {
8 'chrome_common_target': 0,
9 },
10 'target_conditions': [
11 ['chrome_common_target==1', {
12 'include_dirs': [
13 '..',
14 ],
15 'conditions': [
16 ['OS=="win"', {
17 'include_dirs': [
[email protected]cd134c8c2010-03-09 05:23:1218 '<(DEPTH)/third_party/wtl/include',
[email protected]dd363682009-12-28 20:30:4619 ],
[email protected]dd363682009-12-28 20:30:4620 }],
21 ],
22 'sources': [
23 # .cc, .h, and .mm files under chrome/common that are used on all
24 # platforms, including both 32-bit and 64-bit Windows.
25 # Test files are not included.
[email protected]3e0f7d522010-06-18 04:09:1426 'common/about_handler.cc',
27 'common/about_handler.h',
[email protected]646b9b92010-04-30 21:51:5828 'common/app_mode_common_mac.h',
29 'common/app_mode_common_mac.mm',
[email protected]0d2fbd5c2011-03-23 10:40:1530 'common/attrition_experiments.h',
[email protected]b907defe2011-02-23 02:45:3431 'common/auto_start_linux.cc',
32 'common/auto_start_linux.h',
[email protected]19d6e1e82011-01-26 05:08:5833 'common/autofill_messages.h',
[email protected]dd363682009-12-28 20:30:4634 'common/bindings_policy.h',
[email protected]dd363682009-12-28 20:30:4635 'common/child_process_logging.h',
36 'common/child_process_logging_linux.cc',
37 'common/child_process_logging_mac.mm',
38 'common/child_process_logging_win.cc',
[email protected]dd363682009-12-28 20:30:4639 'common/chrome_counters.cc',
40 'common/chrome_counters.h',
[email protected]cf3ac3972010-12-22 20:02:2941 'common/chrome_version_info.cc',
42 'common/chrome_version_info.h',
[email protected]9e823662010-10-13 23:36:0043 'common/content_restriction.h',
[email protected]aee541e2010-03-19 01:52:4544 'common/content_settings.cc',
45 'common/content_settings.h',
[email protected]f895131a2010-07-23 05:36:0246 'common/content_settings_helper.cc',
47 'common/content_settings_helper.h',
[email protected]aee541e2010-03-19 01:52:4548 'common/content_settings_types.h',
[email protected]dd363682009-12-28 20:30:4649 'common/devtools_messages.h',
[email protected]3eb0d8f72010-12-15 23:38:2550 'common/guid.cc',
[email protected]cf3ac3972010-12-22 20:02:2951 'common/guid.h',
[email protected]3eb0d8f72010-12-15 23:38:2552 'common/guid_posix.cc',
53 'common/guid_win.cc',
[email protected]60f36f92011-04-12 16:18:3154 'common/icon_messages.cc',
55 'common/icon_messages.h',
[email protected]1c9c7fb2011-03-11 16:38:3856 'common/instant_types.h',
[email protected]dd363682009-12-28 20:30:4657 'common/logging_chrome.cc',
58 'common/logging_chrome.h',
[email protected]1226abb2010-06-10 18:01:2859 'common/metrics_helpers.cc',
[email protected]3e0f7d522010-06-18 04:09:1460 'common/metrics_helpers.h',
[email protected]293fd7a92010-11-16 21:14:5861 'common/multi_process_lock.h',
62 'common/multi_process_lock_linux.cc',
63 'common/multi_process_lock_mac.cc',
64 'common/multi_process_lock_win.cc',
[email protected]103607e2010-02-01 18:57:0965 'common/nacl_cmd_line.cc',
66 'common/nacl_cmd_line.h',
[email protected]7a4de7a62010-08-17 18:38:2467 'common/nacl_messages.cc',
[email protected]dd363682009-12-28 20:30:4668 'common/nacl_messages.h',
[email protected]7a4de7a62010-08-17 18:38:2469 'common/nacl_types.h',
[email protected]7198402c2011-04-11 12:15:1770 'common/prerender_constants.h',
[email protected]7664ab32011-02-01 23:35:2571 'common/profiling.cc',
72 'common/profiling.h',
[email protected]dd363682009-12-28 20:30:4673 'common/ref_counted_util.h',
[email protected]133139772011-04-14 22:14:1374 'common/safe_browsing/safebrowsing_messages.h',
[email protected]382abc22010-01-17 10:09:3975 'common/sandbox_policy.cc',
76 'common/sandbox_policy.h',
[email protected]5c08f222010-09-22 09:37:2177 'common/switch_utils.cc',
78 'common/switch_utils.h',
[email protected]dd363682009-12-28 20:30:4679 'common/time_format.cc',
80 'common/time_format.h',
[email protected]dd363682009-12-28 20:30:4681 'common/win_safe_util.cc',
82 'common/win_safe_util.h',
83 ],
84 }],
85 ],
86 },
87 'targets': [
88 {
89 'target_name': 'common',
90 'type': '<(library)',
91 'msvs_guid': '899F1280-3441-4D1F-BA04-CCD6208D9146',
92 'variables': {
93 'chrome_common_target': 1,
94 },
95 # TODO(gregoryd): This could be shared with the 64-bit target, but
96 # it does not work due to a gyp issue.
97 'direct_dependent_settings': {
98 'include_dirs': [
99 '..',
100 ],
101 },
102 'dependencies': [
103 # TODO(gregoryd): chrome_resources and chrome_strings could be
104 # shared with the 64-bit target, but it does not work due to a gyp
105 # issue.
[email protected]f86369722011-02-17 13:25:23106 'app/policy/cloud_policy_codegen.gyp:policy',
[email protected]dd363682009-12-28 20:30:46107 'chrome_resources',
108 'chrome_strings',
109 'common_constants',
[email protected]3c3065d2010-05-06 21:59:55110 'common_net',
[email protected]0d64bb72010-07-07 05:36:38111 'default_plugin/default_plugin.gyp:default_plugin',
[email protected]133139772011-04-14 22:14:13112 'safe_browsing_csd_proto',
[email protected]dd363682009-12-28 20:30:46113 'theme_resources',
114 '../app/app.gyp:app_base',
115 '../app/app.gyp:app_resources',
116 '../base/base.gyp:base',
117 '../base/base.gyp:base_i18n',
118 '../build/temp_gyp/googleurl.gyp:googleurl',
[email protected]6c54e7e42011-03-02 20:52:34119 '../content/content.gyp:content_common',
[email protected]dd363682009-12-28 20:30:46120 '../ipc/ipc.gyp:ipc',
121 '../net/net.gyp:net',
[email protected]13095402010-07-20 00:15:43122 '../printing/printing.gyp:printing',
[email protected]dd363682009-12-28 20:30:46123 '../skia/skia.gyp:skia',
[email protected]423bfef2010-06-18 17:17:28124 '../third_party/bzip2/bzip2.gyp:bzip2',
[email protected]dd363682009-12-28 20:30:46125 '../third_party/icu/icu.gyp:icui18n',
126 '../third_party/icu/icu.gyp:icuuc',
127 '../third_party/libxml/libxml.gyp:libxml',
128 '../third_party/sqlite/sqlite.gyp:sqlite',
129 '../third_party/zlib/zlib.gyp:zlib',
[email protected]69d3dfe82010-05-14 03:21:55130 '../webkit/support/webkit_support.gyp:glue',
[email protected]dd363682009-12-28 20:30:46131 ],
132 'sources': [
133 # .cc, .h, and .mm files under chrome/common that are not required for
134 # building 64-bit Windows targets. Test files are not included.
[email protected]cdb8bc282010-11-22 19:23:06135 'common/automation_constants.cc',
136 'common/automation_constants.h',
137 'common/automation_messages.cc',
138 'common/automation_messages.h',
139 'common/automation_messages_internal.h',
140 'common/badge_util.cc',
141 'common/badge_util.h',
[email protected]50e52cd2011-03-10 00:57:29142 'common/chrome_content_client.cc',
143 'common/chrome_content_client.h',
[email protected]490f79c12011-03-17 22:24:43144 'common/chrome_content_plugin_client.cc',
145 'common/chrome_content_plugin_client.h',
[email protected]cdb8bc282010-11-22 19:23:06146 'common/common_glue.cc',
[email protected]fffaf972011-03-24 01:34:35147 'common/common_message_generator.cc',
148 'common/common_message_generator.h',
[email protected]79d68c62011-04-15 21:07:03149 'common/common_param_traits.cc',
150 'common/common_param_traits.h',
[email protected]cdb8bc282010-11-22 19:23:06151 'common/default_plugin.cc',
152 'common/default_plugin.h',
153 'common/deprecated/event_sys-inl.h',
154 'common/deprecated/event_sys.h',
[email protected]dd363682009-12-28 20:30:46155 'common/extensions/extension.cc',
156 'common/extensions/extension.h',
[email protected]7c927b62010-02-24 09:54:13157 'common/extensions/extension_action.cc',
158 'common/extensions/extension_action.h',
[email protected]dd363682009-12-28 20:30:46159 'common/extensions/extension_constants.cc',
160 'common/extensions/extension_constants.h',
[email protected]dd363682009-12-28 20:30:46161 'common/extensions/extension_error_utils.cc',
162 'common/extensions/extension_error_utils.h',
[email protected]867a73e12010-03-19 20:45:46163 'common/extensions/extension_extent.cc',
164 'common/extensions/extension_extent.h',
[email protected]7c927b62010-02-24 09:54:13165 'common/extensions/extension_file_util.cc',
166 'common/extensions/extension_file_util.h',
[email protected]807871f2010-09-16 01:04:48167 'common/extensions/extension_icon_set.cc',
168 'common/extensions/extension_icon_set.h',
[email protected]dd363682009-12-28 20:30:46169 'common/extensions/extension_l10n_util.cc',
170 'common/extensions/extension_l10n_util.h',
[email protected]8a58f9a2010-05-18 18:38:09171 'common/extensions/extension_localization_peer.cc',
172 'common/extensions/extension_localization_peer.h',
[email protected]dd363682009-12-28 20:30:46173 'common/extensions/extension_message_bundle.cc',
174 'common/extensions/extension_message_bundle.h',
[email protected]44c49c92011-03-28 16:17:23175 'common/extensions/extension_messages.cc',
176 'common/extensions/extension_messages.h',
[email protected]dd363682009-12-28 20:30:46177 'common/extensions/extension_resource.cc',
178 'common/extensions/extension_resource.h',
[email protected]ec7db282011-01-29 01:11:36179 'common/extensions/extension_set.cc',
180 'common/extensions/extension_set.h',
[email protected]e2dffe02011-01-20 20:30:06181 'common/extensions/extension_sidebar_defaults.h',
182 'common/extensions/extension_sidebar_utils.cc',
183 'common/extensions/extension_sidebar_utils.h',
[email protected]dd363682009-12-28 20:30:46184 'common/extensions/extension_unpacker.cc',
185 'common/extensions/extension_unpacker.h',
186 'common/extensions/update_manifest.cc',
187 'common/extensions/update_manifest.h',
188 'common/extensions/url_pattern.cc',
189 'common/extensions/url_pattern.h',
190 'common/extensions/user_script.cc',
191 'common/extensions/user_script.h',
[email protected]6658ca82010-05-20 18:20:29192 'common/important_file_writer.cc',
193 'common/important_file_writer.h',
[email protected]ea587b02010-05-21 15:01:35194 'common/json_pref_store.cc',
195 'common/json_pref_store.h',
[email protected]639e6712010-11-11 22:21:43196 'common/json_schema_validator.cc',
197 'common/json_schema_validator.h',
[email protected]dd363682009-12-28 20:30:46198 'common/jstemplate_builder.cc',
199 'common/jstemplate_builder.h',
[email protected]4130d9e2011-03-22 05:19:29200 'common/launchd_mac.h',
201 'common/launchd_mac.mm',
[email protected]dd363682009-12-28 20:30:46202 'common/libxml_utils.cc',
203 'common/libxml_utils.h',
[email protected]dd363682009-12-28 20:30:46204 'common/native_window_notification_source.h',
[email protected]4e0616e2010-05-28 14:55:53205 'common/pepper_plugin_registry.cc',
206 'common/pepper_plugin_registry.h',
[email protected]f2d1f612010-12-09 15:10:17207 'common/persistent_pref_store.h',
[email protected]0f1afed2010-12-15 17:22:28208 'common/pref_store.cc',
[email protected]ce1850e92010-10-15 08:40:58209 'common/pref_store.h',
[email protected]1375e3ab2011-03-24 17:07:22210 'common/print_messages.h',
[email protected]d2f05d02011-01-27 18:51:01211 'common/remoting/chromoting_host_info.cc',
212 'common/remoting/chromoting_host_info.h',
[email protected]7a4de7a62010-08-17 18:38:24213 'common/render_messages.cc',
[email protected]dd363682009-12-28 20:30:46214 'common/render_messages.h',
[email protected]133139772011-04-14 22:14:13215 '<(protoc_out_dir)/chrome/common/safe_browsing/csd.pb.cc',
216 '<(protoc_out_dir)/chrome/common/safe_browsing/csd.pb.h',
[email protected]c08e7932011-03-29 04:08:14217 'common/search_provider.h',
[email protected]cccd3762010-11-12 18:40:01218 'common/security_style.h',
[email protected]38fe1962010-07-31 07:57:00219 'common/service_messages.h',
[email protected]7a4de7a62010-08-17 18:38:24220 'common/service_process_util.cc',
221 'common/service_process_util.h',
[email protected]56f0f262011-02-24 17:14:36222 'common/service_process_util_linux.cc',
223 'common/service_process_util_mac.mm',
[email protected]146354942010-10-13 20:27:04224 'common/service_process_util_posix.cc',
[email protected]56f0f262011-02-24 17:14:36225 'common/service_process_util_posix.h',
[email protected]146354942010-10-13 20:27:04226 'common/service_process_util_win.cc',
[email protected]dd363682009-12-28 20:30:46227 'common/spellcheck_common.cc',
228 'common/spellcheck_common.h',
[email protected]3e267192011-03-25 01:55:45229 'common/spellcheck_messages.h',
[email protected]dd363682009-12-28 20:30:46230 'common/sqlite_utils.cc',
231 'common/sqlite_utils.h',
[email protected]dd363682009-12-28 20:30:46232 'common/thumbnail_score.cc',
233 'common/thumbnail_score.h',
[email protected]dd363682009-12-28 20:30:46234 'common/url_constants.cc',
235 'common/url_constants.h',
236 'common/utility_messages.h',
[email protected]dd363682009-12-28 20:30:46237 'common/view_types.cc',
238 'common/view_types.h',
239 'common/visitedlink_common.cc',
240 'common/visitedlink_common.h',
[email protected]38789d82010-11-17 06:03:44241 'common/web_apps.cc',
242 'common/web_apps.h',
[email protected]cdb8bc282010-11-22 19:23:06243 'common/web_resource/web_resource_unpacker.cc',
244 'common/web_resource/web_resource_unpacker.h',
[email protected]dd363682009-12-28 20:30:46245 'common/worker_thread_ticker.cc',
246 'common/worker_thread_ticker.h',
[email protected]dd363682009-12-28 20:30:46247 'common/zip.cc', # Requires zlib directly.
248 'common/zip.h',
249 ],
250 'conditions': [
[email protected]6f5b3b292010-02-22 20:56:15251 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
[email protected]dd363682009-12-28 20:30:46252 'dependencies': [
253 '../build/linux/system.gyp:gtk',
254 ],
255 'export_dependent_settings': [
256 '../third_party/sqlite/sqlite.gyp:sqlite',
257 ],
258 'link_settings': {
259 'libraries': [
260 '-lX11',
261 '-lXrender',
[email protected]8b46c13b2010-01-26 19:50:54262 '-lXss',
[email protected]dd363682009-12-28 20:30:46263 '-lXext',
264 ],
265 },
266 },],
[email protected]4641d3c2010-08-26 21:44:13267 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {
268 'include_dirs': [
269 '<(SHARED_INTERMEDIATE_DIR)',
270 ],
[email protected]79440c52010-08-27 22:53:02271 # Because posix_version generates a header, we must set the
272 # hard_dependency flag.
273 'hard_dependency': 1,
[email protected]4641d3c2010-08-26 21:44:13274 'actions': [
275 {
276 'action_name': 'posix_version',
277 'variables': {
278 'lastchange_path':
279 '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE',
280 'version_py_path': 'tools/build/version.py',
281 'version_path': 'VERSION',
282 'template_input_path': 'common/chrome_version_info_posix.h.version',
283 },
284 'conditions': [
285 [ 'branding == "Chrome"', {
286 'variables': {
287 'branding_path':
288 'app/theme/google_chrome/BRANDING',
289 },
290 }, { # else branding!="Chrome"
291 'variables': {
292 'branding_path':
293 'app/theme/chromium/BRANDING',
294 },
295 }],
296 ],
297 'inputs': [
298 '<(template_input_path)',
299 '<(version_path)',
300 '<(branding_path)',
301 '<(lastchange_path)',
302 ],
303 'outputs': [
304 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_posix.h',
305 ],
306 'action': [
307 'python',
308 '<(version_py_path)',
309 '-f', '<(version_path)',
310 '-f', '<(branding_path)',
311 '-f', '<(lastchange_path)',
312 '<(template_input_path)',
313 '<@(_outputs)',
314 ],
315 'message': 'Generating version information',
316 },
317 ],
318 }],
[email protected]dd363682009-12-28 20:30:46319 ['OS=="linux" and selinux==1', {
320 'dependencies': [
321 '../build/linux/system.gyp:selinux',
322 ],
323 }],
324 ['OS=="mac"', {
[email protected]56f0f262011-02-24 17:14:36325 'include_dirs': [
326 '../third_party/GTM',
327 ],
[email protected]dd363682009-12-28 20:30:46328 }],
[email protected]382abc22010-01-17 10:09:39329 ['OS!="win"', {
330 'sources!': [
331 'common/sandbox_policy.cc',
332 ],
333 }],
[email protected]8cc9dd622010-06-28 15:13:10334 ['remoting==1', {
335 'dependencies': [
336 '../remoting/remoting.gyp:chromoting_plugin',
337 ],
338 }],
[email protected]dd363682009-12-28 20:30:46339 ],
340 'export_dependent_settings': [
341 '../app/app.gyp:app_base',
342 ],
343 },
[email protected]3c3065d2010-05-06 21:59:55344 {
345 'target_name': 'common_net',
346 'type': '<(library)',
347 'sources': [
[email protected]f3d01742010-05-07 02:53:55348 'common/net/http_return.h',
[email protected]3c3065d2010-05-06 21:59:55349 'common/net/net_resource_provider.cc',
350 'common/net/net_resource_provider.h',
[email protected]3530cd92010-06-27 06:22:01351 'common/net/predictor_common.h',
[email protected]2258c1c92010-10-28 17:51:19352 'common/net/raw_host_resolver_proc.cc',
353 'common/net/raw_host_resolver_proc.h',
[email protected]68d2a05f2010-05-07 21:39:55354 'common/net/url_fetcher.cc',
355 'common/net/url_fetcher.h',
[email protected]d2f05d02011-01-27 18:51:01356 'common/net/gaia/gaia_auth_consumer.cc',
[email protected]a0e77042010-07-01 22:28:23357 'common/net/gaia/gaia_auth_consumer.h',
[email protected]1d8fe712010-11-10 22:47:26358 'common/net/gaia/gaia_auth_fetcher.cc',
359 'common/net/gaia/gaia_auth_fetcher.h',
[email protected]f3d01742010-05-07 02:53:55360 'common/net/gaia/gaia_authenticator.cc',
361 'common/net/gaia/gaia_authenticator.h',
[email protected]8fbfe662011-03-22 00:02:19362 'common/net/gaia/gaia_oauth_client.cc',
363 'common/net/gaia/gaia_oauth_client.h',
[email protected]2b85b67a2011-02-10 23:41:40364 'common/net/gaia/google_service_auth_error.cc',
[email protected]99074c52010-08-19 18:44:19365 'common/net/gaia/google_service_auth_error.h',
[email protected]b1c2a5542010-10-08 12:44:40366 'common/net/x509_certificate_model.cc',
367 'common/net/x509_certificate_model_nss.cc',
368 'common/net/x509_certificate_model_openssl.cc',
369 'common/net/x509_certificate_model.h',
[email protected]3c3065d2010-05-06 21:59:55370 ],
371 'dependencies': [
372 'chrome_resources',
373 'chrome_strings',
[email protected]8dc64b42010-05-14 07:26:42374 '../app/app.gyp:app_base',
[email protected]3c3065d2010-05-06 21:59:55375 '../base/base.gyp:base',
[email protected]f56279c2011-02-02 18:12:31376 '../gpu/gpu.gyp:gpu_ipc',
[email protected]3c3065d2010-05-06 21:59:55377 '../net/net.gyp:net_resources',
[email protected]8dc64b42010-05-14 07:26:42378 '../net/net.gyp:net',
[email protected]b1c2a5542010-10-08 12:44:40379 '../third_party/icu/icu.gyp:icui18n',
380 '../third_party/icu/icu.gyp:icuuc',
[email protected]3c3065d2010-05-06 21:59:55381 ],
[email protected]b1c2a5542010-10-08 12:44:40382 'conditions': [
383 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
[email protected]3ddfe482010-11-02 10:43:45384 'conditions': [
385 ['use_openssl==1', {
386 'dependencies': [
[email protected]32e1dee2010-12-09 18:36:24387 '../third_party/openssl/openssl.gyp:openssl',
[email protected]3ddfe482010-11-02 10:43:45388 ],
389 },
390 { # else !use_openssl
391 'dependencies': [
392 '../build/linux/system.gyp:nss',
393 ],
394 },
395 ],
[email protected]b1c2a5542010-10-08 12:44:40396 ],
397 },
398 { # else: OS is not in the above list
399 'sources!': [
400 'common/net/x509_certificate_model_nss.cc',
401 'common/net/x509_certificate_model_openssl.cc',
402 ],
403 },
404 ],
405 ['use_openssl==1', {
406 'sources!': [
407 'common/net/x509_certificate_model_nss.cc',
408 ],
409 },
410 { # else !use_openssl: remove the unneeded files
411 'sources!': [
412 'common/net/x509_certificate_model_openssl.cc',
413 ],
414 },
415 ],
416 ],
[email protected]3c3065d2010-05-06 21:59:55417 },
[email protected]133139772011-04-14 22:14:13418 {
419 # Protobuf compiler / generator for the safebrowsing client-side detection
420 # (csd) request protocol buffer which is used both in the renderer and in
421 # the browser.
422 'target_name': 'safe_browsing_csd_proto',
423 'type': 'none',
424 'sources': [ 'common/safe_browsing/csd.proto' ],
425 'rules': [
426 {
427 'rule_name': 'genproto',
428 'extension': 'proto',
429 'inputs': [
430 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)',
431 ],
432 'variables': {
433 # The protoc compiler requires a proto_path argument with the
434 # directory containing the .proto file.
435 # There's no generator variable that corresponds to this, so fake
436 # it.
437 'rule_input_relpath': 'common/safe_browsing',
438 },
439 'outputs': [
440 '<(protoc_out_dir)/chrome/<(rule_input_relpath)/<(RULE_INPUT_ROOT).pb.h',
441 '<(protoc_out_dir)/chrome/<(rule_input_relpath)/<(RULE_INPUT_ROOT).pb.cc',
442 ],
443 'action': [
444 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)',
445 '--proto_path=./<(rule_input_relpath)',
446 './<(rule_input_relpath)/<(RULE_INPUT_ROOT)<(RULE_INPUT_EXT)',
447 '--cpp_out=<(protoc_out_dir)/chrome/<(rule_input_relpath)',
448 ],
449 'message': 'Generating C++ code from <(RULE_INPUT_PATH)',
450 },
451 ],
452 'dependencies': [
453 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
454 '../third_party/protobuf/protobuf.gyp:protoc#host',
455 ],
456 'direct_dependent_settings': {
457 'include_dirs': [
458 '<(protoc_out_dir)',
459 ]
460 },
461 'export_dependent_settings': [
462 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
463 ],
464 },
[email protected]dd363682009-12-28 20:30:46465 ],
466 'conditions': [
467 ['OS=="win"', {
468 'targets': [
469 {
470 'target_name': 'common_nacl_win64',
471 'type': '<(library)',
472 'msvs_guid': '3AB5C5E9-470C-419B-A0AE-C7381FB632FA',
473 'variables': {
474 'chrome_common_target': 1,
475 },
476 'dependencies': [
477 # TODO(gregoryd): chrome_resources and chrome_strings could be
478 # shared with the 32-bit target, but it does not work due to a gyp
479 # issue.
480 'chrome_resources',
481 'chrome_strings',
482 'common_constants_win64',
[email protected]f86369722011-02-17 13:25:23483 'app/policy/cloud_policy_codegen.gyp:policy_win64',
[email protected]dd363682009-12-28 20:30:46484 '../app/app.gyp:app_base_nacl_win64',
485 '../app/app.gyp:app_resources',
486 '../base/base.gyp:base_nacl_win64',
487 '../ipc/ipc.gyp:ipc_win64',
[email protected]3e0f7d522010-06-18 04:09:14488 '../third_party/libxml/libxml.gyp:libxml',
[email protected]dd363682009-12-28 20:30:46489 ],
490 'include_dirs': [
[email protected]dd363682009-12-28 20:30:46491 '../third_party/icu/public/i18n',
492 '../third_party/icu/public/common',
493 # We usually get these skia directories by adding a dependency on
494 # skia, bu we don't need it for NaCl's 64-bit Windows support. The
495 # directories are required for resolving the includes in any case.
[email protected]38789d82010-11-17 06:03:44496 '../third_party/skia/include/config',
[email protected]dd363682009-12-28 20:30:46497 '../third_party/skia/include/core',
498 '../skia/config',
[email protected]38789d82010-11-17 06:03:44499 '../skia/config/win',
[email protected]dd363682009-12-28 20:30:46500 ],
501 'defines': [
[email protected]dd363682009-12-28 20:30:46502 '<@(nacl_win64_defines)',
503 ],
504 'sources': [
505 '../webkit/glue/webkit_glue_dummy.cc',
[email protected]7fc13ed2010-03-06 05:06:20506 'common/url_constants.cc',
[email protected]7ef40ffe12011-03-08 05:05:28507 # TODO(bradnelson): once automatic generation of 64 bit targets on
508 # Windows is ready, take this out and add a dependency on
509 # content_common.gypi.
510 '../content/common/file_system/file_system_dispatcher_dummy.cc',
[email protected]b2e375f2011-03-03 23:20:24511 '../content/common/message_router.cc',
[email protected]10e5cf12011-04-13 04:10:40512 '../content/common/quota_dispatcher_dummy.cc',
[email protected]620161e2011-03-07 18:05:26513 '../content/common/resource_dispatcher_dummy.cc',
[email protected]7ef40ffe12011-03-08 05:05:28514 '../content/common/socket_stream_dispatcher_dummy.cc',
[email protected]dd363682009-12-28 20:30:46515 ],
516 'export_dependent_settings': [
517 '../app/app.gyp:app_base_nacl_win64',
[email protected]f86369722011-02-17 13:25:23518 'app/policy/cloud_policy_codegen.gyp:policy_win64',
[email protected]dd363682009-12-28 20:30:46519 ],
520 # TODO(gregoryd): This could be shared with the 32-bit target, but
521 # it does not work due to a gyp issue.
522 'direct_dependent_settings': {
523 'include_dirs': [
524 '..',
525 ],
526 },
527 'configurations': {
528 'Common_Base': {
529 'msvs_target_platform': 'x64',
530 },
531 },
532 },
533 ],
534 }],
535 ],
536}