blob: 3b2a86ae3d4dbe29efddf07edea92ba18be0e1e6 [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]cdb8bc282010-11-22 19:23:06149 'common/default_plugin.cc',
150 'common/default_plugin.h',
151 'common/deprecated/event_sys-inl.h',
152 'common/deprecated/event_sys.h',
[email protected]dd363682009-12-28 20:30:46153 'common/extensions/extension.cc',
154 'common/extensions/extension.h',
[email protected]7c927b62010-02-24 09:54:13155 'common/extensions/extension_action.cc',
156 'common/extensions/extension_action.h',
[email protected]dd363682009-12-28 20:30:46157 'common/extensions/extension_constants.cc',
158 'common/extensions/extension_constants.h',
[email protected]dd363682009-12-28 20:30:46159 'common/extensions/extension_error_utils.cc',
160 'common/extensions/extension_error_utils.h',
[email protected]867a73e12010-03-19 20:45:46161 'common/extensions/extension_extent.cc',
162 'common/extensions/extension_extent.h',
[email protected]7c927b62010-02-24 09:54:13163 'common/extensions/extension_file_util.cc',
164 'common/extensions/extension_file_util.h',
[email protected]807871f2010-09-16 01:04:48165 'common/extensions/extension_icon_set.cc',
166 'common/extensions/extension_icon_set.h',
[email protected]dd363682009-12-28 20:30:46167 'common/extensions/extension_l10n_util.cc',
168 'common/extensions/extension_l10n_util.h',
[email protected]8a58f9a2010-05-18 18:38:09169 'common/extensions/extension_localization_peer.cc',
170 'common/extensions/extension_localization_peer.h',
[email protected]dd363682009-12-28 20:30:46171 'common/extensions/extension_message_bundle.cc',
172 'common/extensions/extension_message_bundle.h',
[email protected]44c49c92011-03-28 16:17:23173 'common/extensions/extension_messages.cc',
174 'common/extensions/extension_messages.h',
[email protected]dd363682009-12-28 20:30:46175 'common/extensions/extension_resource.cc',
176 'common/extensions/extension_resource.h',
[email protected]ec7db282011-01-29 01:11:36177 'common/extensions/extension_set.cc',
178 'common/extensions/extension_set.h',
[email protected]e2dffe02011-01-20 20:30:06179 'common/extensions/extension_sidebar_defaults.h',
180 'common/extensions/extension_sidebar_utils.cc',
181 'common/extensions/extension_sidebar_utils.h',
[email protected]dd363682009-12-28 20:30:46182 'common/extensions/extension_unpacker.cc',
183 'common/extensions/extension_unpacker.h',
184 'common/extensions/update_manifest.cc',
185 'common/extensions/update_manifest.h',
186 'common/extensions/url_pattern.cc',
187 'common/extensions/url_pattern.h',
188 'common/extensions/user_script.cc',
189 'common/extensions/user_script.h',
[email protected]6658ca82010-05-20 18:20:29190 'common/important_file_writer.cc',
191 'common/important_file_writer.h',
[email protected]ea587b02010-05-21 15:01:35192 'common/json_pref_store.cc',
193 'common/json_pref_store.h',
[email protected]639e6712010-11-11 22:21:43194 'common/json_schema_validator.cc',
195 'common/json_schema_validator.h',
[email protected]dd363682009-12-28 20:30:46196 'common/jstemplate_builder.cc',
197 'common/jstemplate_builder.h',
[email protected]4130d9e2011-03-22 05:19:29198 'common/launchd_mac.h',
199 'common/launchd_mac.mm',
[email protected]dd363682009-12-28 20:30:46200 'common/libxml_utils.cc',
201 'common/libxml_utils.h',
[email protected]dd363682009-12-28 20:30:46202 'common/native_window_notification_source.h',
[email protected]4e0616e2010-05-28 14:55:53203 'common/pepper_plugin_registry.cc',
204 'common/pepper_plugin_registry.h',
[email protected]f2d1f612010-12-09 15:10:17205 'common/persistent_pref_store.h',
[email protected]0f1afed2010-12-15 17:22:28206 'common/pref_store.cc',
[email protected]ce1850e92010-10-15 08:40:58207 'common/pref_store.h',
[email protected]1375e3ab2011-03-24 17:07:22208 'common/print_messages.h',
[email protected]d2f05d02011-01-27 18:51:01209 'common/remoting/chromoting_host_info.cc',
210 'common/remoting/chromoting_host_info.h',
[email protected]7a4de7a62010-08-17 18:38:24211 'common/render_messages.cc',
[email protected]dd363682009-12-28 20:30:46212 'common/render_messages.h',
[email protected]133139772011-04-14 22:14:13213 '<(protoc_out_dir)/chrome/common/safe_browsing/csd.pb.cc',
214 '<(protoc_out_dir)/chrome/common/safe_browsing/csd.pb.h',
[email protected]c08e7932011-03-29 04:08:14215 'common/search_provider.h',
[email protected]cccd3762010-11-12 18:40:01216 'common/security_style.h',
[email protected]38fe1962010-07-31 07:57:00217 'common/service_messages.h',
[email protected]7a4de7a62010-08-17 18:38:24218 'common/service_process_util.cc',
219 'common/service_process_util.h',
[email protected]56f0f262011-02-24 17:14:36220 'common/service_process_util_linux.cc',
221 'common/service_process_util_mac.mm',
[email protected]146354942010-10-13 20:27:04222 'common/service_process_util_posix.cc',
[email protected]56f0f262011-02-24 17:14:36223 'common/service_process_util_posix.h',
[email protected]146354942010-10-13 20:27:04224 'common/service_process_util_win.cc',
[email protected]dd363682009-12-28 20:30:46225 'common/spellcheck_common.cc',
226 'common/spellcheck_common.h',
[email protected]3e267192011-03-25 01:55:45227 'common/spellcheck_messages.h',
[email protected]dd363682009-12-28 20:30:46228 'common/sqlite_utils.cc',
229 'common/sqlite_utils.h',
[email protected]dd363682009-12-28 20:30:46230 'common/thumbnail_score.cc',
231 'common/thumbnail_score.h',
[email protected]dd363682009-12-28 20:30:46232 'common/url_constants.cc',
233 'common/url_constants.h',
234 'common/utility_messages.h',
[email protected]dd363682009-12-28 20:30:46235 'common/view_types.cc',
236 'common/view_types.h',
237 'common/visitedlink_common.cc',
238 'common/visitedlink_common.h',
[email protected]38789d82010-11-17 06:03:44239 'common/web_apps.cc',
240 'common/web_apps.h',
[email protected]cdb8bc282010-11-22 19:23:06241 'common/web_resource/web_resource_unpacker.cc',
242 'common/web_resource/web_resource_unpacker.h',
[email protected]dd363682009-12-28 20:30:46243 'common/worker_thread_ticker.cc',
244 'common/worker_thread_ticker.h',
[email protected]dd363682009-12-28 20:30:46245 'common/zip.cc', # Requires zlib directly.
246 'common/zip.h',
247 ],
248 'conditions': [
[email protected]6f5b3b292010-02-22 20:56:15249 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
[email protected]dd363682009-12-28 20:30:46250 'dependencies': [
251 '../build/linux/system.gyp:gtk',
252 ],
253 'export_dependent_settings': [
254 '../third_party/sqlite/sqlite.gyp:sqlite',
255 ],
256 'link_settings': {
257 'libraries': [
258 '-lX11',
259 '-lXrender',
[email protected]8b46c13b2010-01-26 19:50:54260 '-lXss',
[email protected]dd363682009-12-28 20:30:46261 '-lXext',
262 ],
263 },
264 },],
[email protected]4641d3c2010-08-26 21:44:13265 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {
266 'include_dirs': [
267 '<(SHARED_INTERMEDIATE_DIR)',
268 ],
[email protected]79440c52010-08-27 22:53:02269 # Because posix_version generates a header, we must set the
270 # hard_dependency flag.
271 'hard_dependency': 1,
[email protected]4641d3c2010-08-26 21:44:13272 'actions': [
273 {
274 'action_name': 'posix_version',
275 'variables': {
276 'lastchange_path':
277 '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE',
278 'version_py_path': 'tools/build/version.py',
279 'version_path': 'VERSION',
280 'template_input_path': 'common/chrome_version_info_posix.h.version',
281 },
282 'conditions': [
283 [ 'branding == "Chrome"', {
284 'variables': {
285 'branding_path':
286 'app/theme/google_chrome/BRANDING',
287 },
288 }, { # else branding!="Chrome"
289 'variables': {
290 'branding_path':
291 'app/theme/chromium/BRANDING',
292 },
293 }],
294 ],
295 'inputs': [
296 '<(template_input_path)',
297 '<(version_path)',
298 '<(branding_path)',
299 '<(lastchange_path)',
300 ],
301 'outputs': [
302 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_posix.h',
303 ],
304 'action': [
305 'python',
306 '<(version_py_path)',
307 '-f', '<(version_path)',
308 '-f', '<(branding_path)',
309 '-f', '<(lastchange_path)',
310 '<(template_input_path)',
311 '<@(_outputs)',
312 ],
313 'message': 'Generating version information',
314 },
315 ],
316 }],
[email protected]dd363682009-12-28 20:30:46317 ['OS=="linux" and selinux==1', {
318 'dependencies': [
319 '../build/linux/system.gyp:selinux',
320 ],
321 }],
322 ['OS=="mac"', {
[email protected]56f0f262011-02-24 17:14:36323 'include_dirs': [
324 '../third_party/GTM',
325 ],
[email protected]dd363682009-12-28 20:30:46326 }],
[email protected]382abc22010-01-17 10:09:39327 ['OS!="win"', {
328 'sources!': [
329 'common/sandbox_policy.cc',
330 ],
331 }],
[email protected]8cc9dd622010-06-28 15:13:10332 ['remoting==1', {
333 'dependencies': [
334 '../remoting/remoting.gyp:chromoting_plugin',
335 ],
336 }],
[email protected]dd363682009-12-28 20:30:46337 ],
338 'export_dependent_settings': [
339 '../app/app.gyp:app_base',
340 ],
341 },
[email protected]3c3065d2010-05-06 21:59:55342 {
343 'target_name': 'common_net',
344 'type': '<(library)',
345 'sources': [
[email protected]f3d01742010-05-07 02:53:55346 'common/net/http_return.h',
[email protected]3c3065d2010-05-06 21:59:55347 'common/net/net_resource_provider.cc',
348 'common/net/net_resource_provider.h',
[email protected]3530cd92010-06-27 06:22:01349 'common/net/predictor_common.h',
[email protected]2258c1c92010-10-28 17:51:19350 'common/net/raw_host_resolver_proc.cc',
351 'common/net/raw_host_resolver_proc.h',
[email protected]68d2a05f2010-05-07 21:39:55352 'common/net/url_fetcher.cc',
353 'common/net/url_fetcher.h',
[email protected]d2f05d02011-01-27 18:51:01354 'common/net/gaia/gaia_auth_consumer.cc',
[email protected]a0e77042010-07-01 22:28:23355 'common/net/gaia/gaia_auth_consumer.h',
[email protected]1d8fe712010-11-10 22:47:26356 'common/net/gaia/gaia_auth_fetcher.cc',
357 'common/net/gaia/gaia_auth_fetcher.h',
[email protected]f3d01742010-05-07 02:53:55358 'common/net/gaia/gaia_authenticator.cc',
359 'common/net/gaia/gaia_authenticator.h',
[email protected]8fbfe662011-03-22 00:02:19360 'common/net/gaia/gaia_oauth_client.cc',
361 'common/net/gaia/gaia_oauth_client.h',
[email protected]2b85b67a2011-02-10 23:41:40362 'common/net/gaia/google_service_auth_error.cc',
[email protected]99074c52010-08-19 18:44:19363 'common/net/gaia/google_service_auth_error.h',
[email protected]b1c2a5542010-10-08 12:44:40364 'common/net/x509_certificate_model.cc',
365 'common/net/x509_certificate_model_nss.cc',
366 'common/net/x509_certificate_model_openssl.cc',
367 'common/net/x509_certificate_model.h',
[email protected]3c3065d2010-05-06 21:59:55368 ],
369 'dependencies': [
370 'chrome_resources',
371 'chrome_strings',
[email protected]8dc64b42010-05-14 07:26:42372 '../app/app.gyp:app_base',
[email protected]3c3065d2010-05-06 21:59:55373 '../base/base.gyp:base',
[email protected]f56279c2011-02-02 18:12:31374 '../gpu/gpu.gyp:gpu_ipc',
[email protected]3c3065d2010-05-06 21:59:55375 '../net/net.gyp:net_resources',
[email protected]8dc64b42010-05-14 07:26:42376 '../net/net.gyp:net',
[email protected]b1c2a5542010-10-08 12:44:40377 '../third_party/icu/icu.gyp:icui18n',
378 '../third_party/icu/icu.gyp:icuuc',
[email protected]3c3065d2010-05-06 21:59:55379 ],
[email protected]b1c2a5542010-10-08 12:44:40380 'conditions': [
381 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
[email protected]3ddfe482010-11-02 10:43:45382 'conditions': [
383 ['use_openssl==1', {
384 'dependencies': [
[email protected]32e1dee2010-12-09 18:36:24385 '../third_party/openssl/openssl.gyp:openssl',
[email protected]3ddfe482010-11-02 10:43:45386 ],
387 },
388 { # else !use_openssl
389 'dependencies': [
390 '../build/linux/system.gyp:nss',
391 ],
392 },
393 ],
[email protected]b1c2a5542010-10-08 12:44:40394 ],
395 },
396 { # else: OS is not in the above list
397 'sources!': [
398 'common/net/x509_certificate_model_nss.cc',
399 'common/net/x509_certificate_model_openssl.cc',
400 ],
401 },
402 ],
403 ['use_openssl==1', {
404 'sources!': [
405 'common/net/x509_certificate_model_nss.cc',
406 ],
407 },
408 { # else !use_openssl: remove the unneeded files
409 'sources!': [
410 'common/net/x509_certificate_model_openssl.cc',
411 ],
412 },
413 ],
414 ],
[email protected]3c3065d2010-05-06 21:59:55415 },
[email protected]133139772011-04-14 22:14:13416 {
417 # Protobuf compiler / generator for the safebrowsing client-side detection
418 # (csd) request protocol buffer which is used both in the renderer and in
419 # the browser.
420 'target_name': 'safe_browsing_csd_proto',
421 'type': 'none',
422 'sources': [ 'common/safe_browsing/csd.proto' ],
423 'rules': [
424 {
425 'rule_name': 'genproto',
426 'extension': 'proto',
427 'inputs': [
428 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)',
429 ],
430 'variables': {
431 # The protoc compiler requires a proto_path argument with the
432 # directory containing the .proto file.
433 # There's no generator variable that corresponds to this, so fake
434 # it.
435 'rule_input_relpath': 'common/safe_browsing',
436 },
437 'outputs': [
438 '<(protoc_out_dir)/chrome/<(rule_input_relpath)/<(RULE_INPUT_ROOT).pb.h',
439 '<(protoc_out_dir)/chrome/<(rule_input_relpath)/<(RULE_INPUT_ROOT).pb.cc',
440 ],
441 'action': [
442 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)',
443 '--proto_path=./<(rule_input_relpath)',
444 './<(rule_input_relpath)/<(RULE_INPUT_ROOT)<(RULE_INPUT_EXT)',
445 '--cpp_out=<(protoc_out_dir)/chrome/<(rule_input_relpath)',
446 ],
447 'message': 'Generating C++ code from <(RULE_INPUT_PATH)',
448 },
449 ],
450 'dependencies': [
451 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
452 '../third_party/protobuf/protobuf.gyp:protoc#host',
453 ],
454 'direct_dependent_settings': {
455 'include_dirs': [
456 '<(protoc_out_dir)',
457 ]
458 },
459 'export_dependent_settings': [
460 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
461 ],
462 },
[email protected]dd363682009-12-28 20:30:46463 ],
464 'conditions': [
465 ['OS=="win"', {
466 'targets': [
467 {
468 'target_name': 'common_nacl_win64',
469 'type': '<(library)',
470 'msvs_guid': '3AB5C5E9-470C-419B-A0AE-C7381FB632FA',
471 'variables': {
472 'chrome_common_target': 1,
473 },
474 'dependencies': [
475 # TODO(gregoryd): chrome_resources and chrome_strings could be
476 # shared with the 32-bit target, but it does not work due to a gyp
477 # issue.
478 'chrome_resources',
479 'chrome_strings',
480 'common_constants_win64',
[email protected]f86369722011-02-17 13:25:23481 'app/policy/cloud_policy_codegen.gyp:policy_win64',
[email protected]dd363682009-12-28 20:30:46482 '../app/app.gyp:app_base_nacl_win64',
483 '../app/app.gyp:app_resources',
484 '../base/base.gyp:base_nacl_win64',
485 '../ipc/ipc.gyp:ipc_win64',
[email protected]3e0f7d522010-06-18 04:09:14486 '../third_party/libxml/libxml.gyp:libxml',
[email protected]dd363682009-12-28 20:30:46487 ],
488 'include_dirs': [
[email protected]dd363682009-12-28 20:30:46489 '../third_party/icu/public/i18n',
490 '../third_party/icu/public/common',
491 # We usually get these skia directories by adding a dependency on
492 # skia, bu we don't need it for NaCl's 64-bit Windows support. The
493 # directories are required for resolving the includes in any case.
[email protected]38789d82010-11-17 06:03:44494 '../third_party/skia/include/config',
[email protected]dd363682009-12-28 20:30:46495 '../third_party/skia/include/core',
496 '../skia/config',
[email protected]38789d82010-11-17 06:03:44497 '../skia/config/win',
[email protected]dd363682009-12-28 20:30:46498 ],
499 'defines': [
[email protected]dd363682009-12-28 20:30:46500 '<@(nacl_win64_defines)',
501 ],
502 'sources': [
503 '../webkit/glue/webkit_glue_dummy.cc',
[email protected]7fc13ed2010-03-06 05:06:20504 'common/url_constants.cc',
[email protected]7ef40ffe12011-03-08 05:05:28505 # TODO(bradnelson): once automatic generation of 64 bit targets on
506 # Windows is ready, take this out and add a dependency on
507 # content_common.gypi.
508 '../content/common/file_system/file_system_dispatcher_dummy.cc',
[email protected]b2e375f2011-03-03 23:20:24509 '../content/common/message_router.cc',
[email protected]10e5cf12011-04-13 04:10:40510 '../content/common/quota_dispatcher_dummy.cc',
[email protected]620161e2011-03-07 18:05:26511 '../content/common/resource_dispatcher_dummy.cc',
[email protected]7ef40ffe12011-03-08 05:05:28512 '../content/common/socket_stream_dispatcher_dummy.cc',
[email protected]dd363682009-12-28 20:30:46513 ],
514 'export_dependent_settings': [
515 '../app/app.gyp:app_base_nacl_win64',
[email protected]f86369722011-02-17 13:25:23516 'app/policy/cloud_policy_codegen.gyp:policy_win64',
[email protected]dd363682009-12-28 20:30:46517 ],
518 # TODO(gregoryd): This could be shared with the 32-bit target, but
519 # it does not work due to a gyp issue.
520 'direct_dependent_settings': {
521 'include_dirs': [
522 '..',
523 ],
524 },
525 'configurations': {
526 'Common_Base': {
527 'msvs_target_platform': 'x64',
528 },
529 },
530 },
531 ],
532 }],
533 ],
534}