blob: 5f6487305e01cd0ed3e1c5b870674cdc17099ee7 [file] [log] [blame]
[email protected]e284e6d82010-01-29 19:49:451# Copyright (c) 2010 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]dd363682009-12-28 20:30:4630 'common/bindings_policy.h',
31 'common/child_process.cc',
32 'common/child_process.h',
33 'common/child_process_info.cc',
34 'common/child_process_info.h',
35 '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',
39 'common/child_thread.cc',
40 'common/child_thread.h',
41 'common/chrome_counters.cc',
42 'common/chrome_counters.h',
43 'common/common_param_traits.cc',
44 'common/common_param_traits.h',
[email protected]9e823662010-10-13 23:36:0045 'common/content_restriction.h',
[email protected]aee541e2010-03-19 01:52:4546 'common/content_settings.cc',
47 'common/content_settings.h',
[email protected]f895131a2010-07-23 05:36:0248 'common/content_settings_helper.cc',
49 'common/content_settings_helper.h',
[email protected]aee541e2010-03-19 01:52:4550 'common/content_settings_types.h',
[email protected]dd363682009-12-28 20:30:4651 'common/debug_flags.cc',
52 'common/debug_flags.h',
[email protected]7a4de7a62010-08-17 18:38:2453 'common/devtools_messages.cc',
[email protected]dd363682009-12-28 20:30:4654 'common/devtools_messages.h',
55 'common/devtools_messages_internal.h',
[email protected]38e08982010-10-22 17:28:4356 'common/dx_diag_node.cc',
[email protected]81f85b32010-10-08 18:03:2157 'common/dx_diag_node.h',
[email protected]c5a272d2010-09-27 18:37:0858 'common/file_system/webfilesystem_callback_dispatcher.cc',
59 'common/file_system/webfilesystem_callback_dispatcher.h',
[email protected]52785d4c2010-08-25 19:44:4960 'common/file_system/webfilesystem_impl.cc',
61 'common/file_system/webfilesystem_impl.h',
[email protected]ff7321d2010-09-30 01:24:3662 'common/file_system/webfilewriter_impl.cc',
63 'common/file_system/webfilewriter_impl.h',
[email protected]20199662010-06-17 03:29:2664 'common/font_descriptor_mac.h',
65 'common/font_descriptor_mac.mm',
[email protected]58c321d2010-02-19 12:11:2866 'common/geoposition.cc',
[email protected]7c927b62010-02-24 09:54:1367 'common/geoposition.h',
[email protected]38e08982010-10-22 17:28:4368 'common/gpu_create_command_buffer_config.cc',
69 'common/gpu_create_command_buffer_config.h',
[email protected]1bf14bc2010-07-09 16:10:4370 'common/gpu_info.h',
71 'common/gpu_info.cc',
[email protected]7a4de7a62010-08-17 18:38:2472 'common/gpu_messages.cc',
[email protected]c0fc0942010-01-13 00:55:3773 'common/gpu_messages.h',
74 'common/gpu_messages_internal.h',
[email protected]4bce24e2010-09-07 20:45:0175 'common/gpu_param_traits.h',
[email protected]ee68378a2010-08-10 01:05:4176 'common/gpu_video_common.cc',
77 'common/gpu_video_common.h',
[email protected]5c71640c2010-07-14 14:29:4078 'common/indexed_db_key.cc',
79 'common/indexed_db_key.h',
[email protected]52ebf2b2010-09-09 18:56:0580 'common/indexed_db_param_traits.cc',
81 'common/indexed_db_param_traits.h',
[email protected]dd363682009-12-28 20:30:4682 'common/logging_chrome.cc',
83 'common/logging_chrome.h',
84 'common/main_function_params.h',
85 'common/message_router.cc',
86 'common/message_router.h',
[email protected]1226abb2010-06-10 18:01:2887 'common/metrics_helpers.cc',
[email protected]3e0f7d522010-06-18 04:09:1488 'common/metrics_helpers.h',
[email protected]293fd7a92010-11-16 21:14:5889 'common/multi_process_lock.h',
90 'common/multi_process_lock_linux.cc',
91 'common/multi_process_lock_mac.cc',
92 'common/multi_process_lock_win.cc',
[email protected]103607e2010-02-01 18:57:0993 'common/nacl_cmd_line.cc',
94 'common/nacl_cmd_line.h',
[email protected]7a4de7a62010-08-17 18:38:2495 'common/nacl_messages.cc',
[email protected]dd363682009-12-28 20:30:4696 'common/nacl_messages.h',
[email protected]0cfe5dae2010-08-17 00:24:5497 'common/nacl_messages_internal.h',
[email protected]7a4de7a62010-08-17 18:38:2498 'common/nacl_types.h',
[email protected]201366472010-07-16 17:22:4999 'common/notification_details.cc',
[email protected]dd363682009-12-28 20:30:46100 'common/notification_details.h',
101 'common/notification_observer.h',
102 'common/notification_registrar.cc',
103 'common/notification_registrar.h',
104 'common/notification_service.cc',
105 'common/notification_service.h',
[email protected]201366472010-07-16 17:22:49106 'common/notification_source.cc',
[email protected]dd363682009-12-28 20:30:46107 'common/notification_source.h',
108 'common/notification_type.h',
109 'common/process_watcher_mac.cc',
110 'common/process_watcher_posix.cc',
111 'common/process_watcher_win.cc',
112 'common/process_watcher.h',
113 'common/property_bag.cc',
114 'common/property_bag.h',
115 'common/ref_counted_util.h',
[email protected]9b2331d92010-10-04 23:11:19116 'common/resource_response.cc',
[email protected]7c927b62010-02-24 09:54:13117 'common/resource_response.h',
[email protected]dd363682009-12-28 20:30:46118 'common/result_codes.h',
119 'common/sandbox_init_wrapper.h',
120 'common/sandbox_init_wrapper_linux.cc',
121 'common/sandbox_init_wrapper_mac.cc',
122 'common/sandbox_init_wrapper_win.cc',
123 'common/sandbox_mac.h',
124 'common/sandbox_mac.mm',
[email protected]382abc22010-01-17 10:09:39125 'common/sandbox_policy.cc',
126 'common/sandbox_policy.h',
[email protected]5c71640c2010-07-14 14:29:40127 'common/serialized_script_value.cc',
128 'common/serialized_script_value.h',
[email protected]5c08f222010-09-22 09:37:21129 'common/switch_utils.cc',
130 'common/switch_utils.h',
[email protected]dd363682009-12-28 20:30:46131 'common/time_format.cc',
132 'common/time_format.h',
[email protected]4641d3c2010-08-26 21:44:13133 'common/chrome_version_info.h',
134 'common/chrome_version_info.cc',
[email protected]22339b12010-08-27 18:29:24135 'common/webblobregistry_impl.cc',
136 'common/webblobregistry_impl.h',
[email protected]dd363682009-12-28 20:30:46137 'common/win_safe_util.cc',
138 'common/win_safe_util.h',
139 ],
140 }],
141 ],
142 },
143 'targets': [
144 {
145 'target_name': 'common',
146 'type': '<(library)',
147 'msvs_guid': '899F1280-3441-4D1F-BA04-CCD6208D9146',
148 'variables': {
149 'chrome_common_target': 1,
150 },
151 # TODO(gregoryd): This could be shared with the 64-bit target, but
152 # it does not work due to a gyp issue.
153 'direct_dependent_settings': {
154 'include_dirs': [
155 '..',
156 ],
157 },
158 'dependencies': [
159 # TODO(gregoryd): chrome_resources and chrome_strings could be
160 # shared with the 64-bit target, but it does not work due to a gyp
161 # issue.
162 'chrome_resources',
163 'chrome_strings',
164 'common_constants',
[email protected]3c3065d2010-05-06 21:59:55165 'common_net',
[email protected]0d64bb72010-07-07 05:36:38166 'default_plugin/default_plugin.gyp:default_plugin',
[email protected]dd363682009-12-28 20:30:46167 'theme_resources',
168 '../app/app.gyp:app_base',
169 '../app/app.gyp:app_resources',
170 '../base/base.gyp:base',
171 '../base/base.gyp:base_i18n',
172 '../build/temp_gyp/googleurl.gyp:googleurl',
173 '../ipc/ipc.gyp:ipc',
174 '../net/net.gyp:net',
[email protected]13095402010-07-20 00:15:43175 '../printing/printing.gyp:printing',
[email protected]dd363682009-12-28 20:30:46176 '../skia/skia.gyp:skia',
[email protected]423bfef2010-06-18 17:17:28177 '../third_party/bzip2/bzip2.gyp:bzip2',
[email protected]dd363682009-12-28 20:30:46178 '../third_party/icu/icu.gyp:icui18n',
179 '../third_party/icu/icu.gyp:icuuc',
180 '../third_party/libxml/libxml.gyp:libxml',
181 '../third_party/sqlite/sqlite.gyp:sqlite',
182 '../third_party/zlib/zlib.gyp:zlib',
183 '../third_party/npapi/npapi.gyp:npapi',
[email protected]69d3dfe82010-05-14 03:21:55184 '../webkit/support/webkit_support.gyp:appcache',
[email protected]22339b12010-08-27 18:29:24185 '../webkit/support/webkit_support.gyp:blob',
[email protected]69d3dfe82010-05-14 03:21:55186 '../webkit/support/webkit_support.gyp:glue',
[email protected]dd363682009-12-28 20:30:46187 ],
188 'sources': [
189 # .cc, .h, and .mm files under chrome/common that are not required for
190 # building 64-bit Windows targets. Test files are not included.
191 'common/desktop_notifications/active_notification_tracker.h',
192 'common/desktop_notifications/active_notification_tracker.cc',
193 'common/extensions/extension.cc',
194 'common/extensions/extension.h',
[email protected]7c927b62010-02-24 09:54:13195 'common/extensions/extension_action.cc',
196 'common/extensions/extension_action.h',
[email protected]dd363682009-12-28 20:30:46197 'common/extensions/extension_constants.cc',
198 'common/extensions/extension_constants.h',
[email protected]dd363682009-12-28 20:30:46199 'common/extensions/extension_error_utils.cc',
200 'common/extensions/extension_error_utils.h',
[email protected]867a73e12010-03-19 20:45:46201 'common/extensions/extension_extent.cc',
202 'common/extensions/extension_extent.h',
[email protected]7c927b62010-02-24 09:54:13203 'common/extensions/extension_file_util.cc',
204 'common/extensions/extension_file_util.h',
[email protected]807871f2010-09-16 01:04:48205 'common/extensions/extension_icon_set.cc',
206 'common/extensions/extension_icon_set.h',
[email protected]dd363682009-12-28 20:30:46207 'common/extensions/extension_l10n_util.cc',
208 'common/extensions/extension_l10n_util.h',
[email protected]8a58f9a2010-05-18 18:38:09209 'common/extensions/extension_localization_peer.cc',
210 'common/extensions/extension_localization_peer.h',
[email protected]dd363682009-12-28 20:30:46211 'common/extensions/extension_message_bundle.cc',
212 'common/extensions/extension_message_bundle.h',
213 'common/extensions/extension_resource.cc',
214 'common/extensions/extension_resource.h',
215 'common/extensions/extension_unpacker.cc',
216 'common/extensions/extension_unpacker.h',
217 'common/extensions/update_manifest.cc',
218 'common/extensions/update_manifest.h',
219 'common/extensions/url_pattern.cc',
220 'common/extensions/url_pattern.h',
221 'common/extensions/user_script.cc',
222 'common/extensions/user_script.h',
[email protected]dd363682009-12-28 20:30:46223 'common/web_resource/web_resource_unpacker.cc',
224 'common/web_resource/web_resource_unpacker.h',
225 'common/appcache/appcache_backend_proxy.cc',
226 'common/appcache/appcache_backend_proxy.h',
227 'common/appcache/appcache_dispatcher.cc',
228 'common/appcache/appcache_dispatcher.h',
[email protected]dd363682009-12-28 20:30:46229 'common/automation_constants.cc',
230 'common/automation_constants.h',
[email protected]a8ba6362010-11-10 20:02:25231 'common/automation_messages.cc',
232 'common/automation_messages.h',
233 'common/automation_messages_internal.h',
[email protected]d27893f62010-07-03 05:47:42234 'common/child_process_host.cc',
235 'common/child_process_host.h',
[email protected]dd363682009-12-28 20:30:46236 'common/chrome_descriptors.h',
237 'common/chrome_plugin_api.h',
238 'common/chrome_plugin_lib.cc',
239 'common/chrome_plugin_lib.h',
240 'common/chrome_plugin_util.cc',
241 'common/chrome_plugin_util.h',
[email protected]dd363682009-12-28 20:30:46242 'common/common_glue.cc',
243 'common/css_colors.h',
[email protected]2b437e232010-04-02 01:30:08244 'common/database_util.cc',
245 'common/database_util.h',
[email protected]dd363682009-12-28 20:30:46246 'common/db_message_filter.cc',
247 'common/db_message_filter.h',
[email protected]2290cb862010-06-02 16:50:58248 'common/default_plugin.cc',
249 'common/default_plugin.h',
[email protected]106113b32010-04-26 22:17:37250 'common/deprecated/event_sys-inl.h',
251 'common/deprecated/event_sys.h',
[email protected]2290cb862010-06-02 16:50:58252 'common/dom_storage_common.h',
[email protected]52785d4c2010-08-25 19:44:49253 'common/file_system/file_system_dispatcher.cc',
254 'common/file_system/file_system_dispatcher.h',
[email protected]865f37922010-05-23 16:43:44255 'common/font_loader_mac.h',
256 'common/font_loader_mac.mm',
[email protected]dd363682009-12-28 20:30:46257 'common/gears_api.h',
258 'common/gpu_plugin.cc',
259 'common/gpu_plugin.h',
[email protected]6658ca82010-05-20 18:20:29260 'common/important_file_writer.cc',
261 'common/important_file_writer.h',
[email protected]ea587b02010-05-21 15:01:35262 'common/json_pref_store.cc',
263 'common/json_pref_store.h',
[email protected]639e6712010-11-11 22:21:43264 'common/json_schema_validator.cc',
265 'common/json_schema_validator.h',
[email protected]dd363682009-12-28 20:30:46266 'common/jstemplate_builder.cc',
267 'common/jstemplate_builder.h',
268 'common/libxml_utils.cc',
269 'common/libxml_utils.h',
270 'common/mru_cache.h',
271 'common/navigation_gesture.h',
272 'common/navigation_types.h',
273 'common/native_web_keyboard_event.h',
274 'common/native_web_keyboard_event_linux.cc',
275 'common/native_web_keyboard_event_mac.mm',
276 'common/native_web_keyboard_event_win.cc',
277 'common/native_window_notification_source.h',
[email protected]cccd3762010-11-12 18:40:01278 'common/page_type.h',
[email protected]bb0a6a02010-04-01 21:17:00279 'common/page_transition_types.cc',
[email protected]dd363682009-12-28 20:30:46280 'common/page_transition_types.h',
281 'common/page_zoom.h',
[email protected]4e0616e2010-05-28 14:55:53282 'common/pepper_plugin_registry.cc',
283 'common/pepper_plugin_registry.h',
[email protected]dd363682009-12-28 20:30:46284 'common/plugin_carbon_interpose_constants_mac.h',
285 'common/plugin_carbon_interpose_constants_mac.cc',
[email protected]7a4de7a62010-08-17 18:38:24286 'common/plugin_messages.cc',
[email protected]dd363682009-12-28 20:30:46287 'common/plugin_messages.h',
288 'common/plugin_messages_internal.h',
[email protected]ce1850e92010-10-15 08:40:58289 'common/pref_store.cc',
290 'common/pref_store.h',
[email protected]7a4de7a62010-08-17 18:38:24291 'common/render_messages.cc',
[email protected]dd363682009-12-28 20:30:46292 'common/render_messages.h',
[email protected]939856a2010-08-24 20:29:02293 'common/render_messages_params.cc',
294 'common/render_messages_params.h',
[email protected]dd363682009-12-28 20:30:46295 'common/render_messages_internal.h',
[email protected]9b2331d92010-10-04 23:11:19296 'common/renderer_preferences.cc',
[email protected]dd363682009-12-28 20:30:46297 'common/renderer_preferences.h',
298 'common/resource_dispatcher.cc',
299 'common/resource_dispatcher.h',
300 'common/security_filter_peer.cc',
301 'common/security_filter_peer.h',
[email protected]cccd3762010-11-12 18:40:01302 'common/security_style.h',
[email protected]7a4de7a62010-08-17 18:38:24303 'common/service_messages.cc',
[email protected]38fe1962010-07-31 07:57:00304 'common/service_messages.h',
[email protected]541f55a2010-09-07 16:42:53305 'common/service_messages_internal.h',
[email protected]7a4de7a62010-08-17 18:38:24306 'common/service_process_type.h',
307 'common/service_process_util.cc',
308 'common/service_process_util.h',
[email protected]146354942010-10-13 20:27:04309 'common/service_process_util_posix.cc',
310 'common/service_process_util_win.cc',
[email protected]dd363682009-12-28 20:30:46311 'common/socket_stream_dispatcher.cc',
312 'common/socket_stream_dispatcher.h',
313 'common/spellcheck_common.cc',
314 'common/spellcheck_common.h',
315 'common/sqlite_compiled_statement.cc',
316 'common/sqlite_compiled_statement.h',
317 'common/sqlite_utils.cc',
318 'common/sqlite_utils.h',
[email protected]dd363682009-12-28 20:30:46319 'common/thumbnail_score.cc',
320 'common/thumbnail_score.h',
[email protected]dd363682009-12-28 20:30:46321 'common/url_constants.cc',
322 'common/url_constants.h',
[email protected]7a4de7a62010-08-17 18:38:24323 'common/utility_messages.cc',
[email protected]dd363682009-12-28 20:30:46324 'common/utility_messages.h',
325 'common/utility_messages_internal.h',
326 'common/view_types.cc',
327 'common/view_types.h',
328 'common/visitedlink_common.cc',
329 'common/visitedlink_common.h',
[email protected]38789d82010-11-17 06:03:44330 'common/web_apps.cc',
331 'common/web_apps.h',
[email protected]2b437e232010-04-02 01:30:08332 'common/web_database_observer_impl.cc',
333 'common/web_database_observer_impl.h',
[email protected]7a4de7a62010-08-17 18:38:24334 'common/webkit_param_traits.cc',
[email protected]dd363682009-12-28 20:30:46335 'common/webkit_param_traits.h',
336 'common/webmessageportchannel_impl.cc',
337 'common/webmessageportchannel_impl.h',
[email protected]534c66c2010-04-28 22:53:11338 'common/window_container_type.cc',
339 'common/window_container_type.h',
[email protected]7a4de7a62010-08-17 18:38:24340 'common/worker_messages.cc',
[email protected]dd363682009-12-28 20:30:46341 'common/worker_messages.h',
342 'common/worker_messages_internal.h',
343 'common/worker_thread_ticker.cc',
344 'common/worker_thread_ticker.h',
[email protected]dd363682009-12-28 20:30:46345 'common/zip.cc', # Requires zlib directly.
346 'common/zip.h',
347 ],
348 'conditions': [
[email protected]6f5b3b292010-02-22 20:56:15349 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
[email protected]dd363682009-12-28 20:30:46350 'dependencies': [
351 '../build/linux/system.gyp:gtk',
352 ],
353 'export_dependent_settings': [
354 '../third_party/sqlite/sqlite.gyp:sqlite',
355 ],
356 'link_settings': {
357 'libraries': [
358 '-lX11',
359 '-lXrender',
[email protected]8b46c13b2010-01-26 19:50:54360 '-lXss',
[email protected]dd363682009-12-28 20:30:46361 '-lXext',
362 ],
363 },
364 },],
[email protected]4641d3c2010-08-26 21:44:13365 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {
366 'include_dirs': [
367 '<(SHARED_INTERMEDIATE_DIR)',
368 ],
[email protected]79440c52010-08-27 22:53:02369 # Because posix_version generates a header, we must set the
370 # hard_dependency flag.
371 'hard_dependency': 1,
[email protected]4641d3c2010-08-26 21:44:13372 'actions': [
373 {
374 'action_name': 'posix_version',
375 'variables': {
376 'lastchange_path':
377 '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE',
378 'version_py_path': 'tools/build/version.py',
379 'version_path': 'VERSION',
380 'template_input_path': 'common/chrome_version_info_posix.h.version',
381 },
382 'conditions': [
383 [ 'branding == "Chrome"', {
384 'variables': {
385 'branding_path':
386 'app/theme/google_chrome/BRANDING',
387 },
388 }, { # else branding!="Chrome"
389 'variables': {
390 'branding_path':
391 'app/theme/chromium/BRANDING',
392 },
393 }],
394 ],
395 'inputs': [
396 '<(template_input_path)',
397 '<(version_path)',
398 '<(branding_path)',
399 '<(lastchange_path)',
400 ],
401 'outputs': [
402 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_posix.h',
403 ],
404 'action': [
405 'python',
406 '<(version_py_path)',
407 '-f', '<(version_path)',
408 '-f', '<(branding_path)',
409 '-f', '<(lastchange_path)',
410 '<(template_input_path)',
411 '<@(_outputs)',
412 ],
413 'message': 'Generating version information',
414 },
415 ],
416 }],
[email protected]dd363682009-12-28 20:30:46417 ['OS=="linux" and selinux==1', {
418 'dependencies': [
419 '../build/linux/system.gyp:selinux',
420 ],
421 }],
422 ['OS=="mac"', {
423 'sources!': [
424 'common/process_watcher_posix.cc',
425 ],
[email protected]1e652d022010-04-16 19:09:11426 'link_settings': {
427 'mac_bundle_resources': [
428 'common/common.sb',
429 ],
430 },
[email protected]dd363682009-12-28 20:30:46431 }],
[email protected]382abc22010-01-17 10:09:39432 ['OS!="win"', {
433 'sources!': [
434 'common/sandbox_policy.cc',
435 ],
436 }],
[email protected]8cc9dd622010-06-28 15:13:10437 ['remoting==1', {
438 'dependencies': [
439 '../remoting/remoting.gyp:chromoting_plugin',
440 ],
441 }],
[email protected]dd363682009-12-28 20:30:46442 ],
443 'export_dependent_settings': [
444 '../app/app.gyp:app_base',
445 ],
446 },
[email protected]3c3065d2010-05-06 21:59:55447 {
448 'target_name': 'common_net',
449 'type': '<(library)',
450 'sources': [
[email protected]f3d01742010-05-07 02:53:55451 'common/net/http_return.h',
[email protected]3c3065d2010-05-06 21:59:55452 'common/net/net_resource_provider.cc',
453 'common/net/net_resource_provider.h',
[email protected]3530cd92010-06-27 06:22:01454 'common/net/predictor_common.h',
[email protected]2258c1c92010-10-28 17:51:19455 'common/net/raw_host_resolver_proc.cc',
456 'common/net/raw_host_resolver_proc.h',
[email protected]3c3065d2010-05-06 21:59:55457 'common/net/socket_stream.h',
[email protected]68d2a05f2010-05-07 21:39:55458 'common/net/url_fetcher.cc',
459 'common/net/url_fetcher.h',
460 'common/net/url_fetcher_protect.cc',
461 'common/net/url_fetcher_protect.h',
462 'common/net/url_request_context_getter.cc',
463 'common/net/url_request_context_getter.h',
[email protected]3c3065d2010-05-06 21:59:55464 'common/net/url_request_intercept_job.cc',
465 'common/net/url_request_intercept_job.h',
[email protected]a0e77042010-07-01 22:28:23466 'common/net/gaia/gaia_auth_consumer.h',
[email protected]1d8fe712010-11-10 22:47:26467 'common/net/gaia/gaia_auth_fetcher.cc',
468 'common/net/gaia/gaia_auth_fetcher.h',
[email protected]f3d01742010-05-07 02:53:55469 'common/net/gaia/gaia_authenticator.cc',
470 'common/net/gaia/gaia_authenticator.h',
[email protected]99074c52010-08-19 18:44:19471 'common/net/gaia/google_service_auth_error.h',
[email protected]b1c2a5542010-10-08 12:44:40472 'common/net/x509_certificate_model.cc',
473 'common/net/x509_certificate_model_nss.cc',
474 'common/net/x509_certificate_model_openssl.cc',
475 'common/net/x509_certificate_model.h',
[email protected]3c3065d2010-05-06 21:59:55476 ],
477 'dependencies': [
478 'chrome_resources',
479 'chrome_strings',
[email protected]8dc64b42010-05-14 07:26:42480 '../app/app.gyp:app_base',
[email protected]3c3065d2010-05-06 21:59:55481 '../base/base.gyp:base',
[email protected]3c3065d2010-05-06 21:59:55482 '../net/net.gyp:net_resources',
[email protected]8dc64b42010-05-14 07:26:42483 '../net/net.gyp:net',
[email protected]b1c2a5542010-10-08 12:44:40484 '../third_party/icu/icu.gyp:icui18n',
485 '../third_party/icu/icu.gyp:icuuc',
[email protected]3c3065d2010-05-06 21:59:55486 ],
[email protected]b1c2a5542010-10-08 12:44:40487 'conditions': [
488 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
[email protected]3ddfe482010-11-02 10:43:45489 'conditions': [
490 ['use_openssl==1', {
491 'dependencies': [
492 '../build/linux/system.gyp:openssl',
493 ],
494 },
495 { # else !use_openssl
496 'dependencies': [
497 '../build/linux/system.gyp:nss',
498 ],
499 },
500 ],
[email protected]b1c2a5542010-10-08 12:44:40501 ],
502 },
503 { # else: OS is not in the above list
504 'sources!': [
505 'common/net/x509_certificate_model_nss.cc',
506 'common/net/x509_certificate_model_openssl.cc',
507 ],
508 },
509 ],
510 ['use_openssl==1', {
511 'sources!': [
512 'common/net/x509_certificate_model_nss.cc',
513 ],
514 },
515 { # else !use_openssl: remove the unneeded files
516 'sources!': [
517 'common/net/x509_certificate_model_openssl.cc',
518 ],
519 },
520 ],
521 ],
[email protected]3c3065d2010-05-06 21:59:55522 },
[email protected]dd363682009-12-28 20:30:46523 ],
524 'conditions': [
525 ['OS=="win"', {
526 'targets': [
527 {
528 'target_name': 'common_nacl_win64',
529 'type': '<(library)',
530 'msvs_guid': '3AB5C5E9-470C-419B-A0AE-C7381FB632FA',
531 'variables': {
532 'chrome_common_target': 1,
533 },
534 'dependencies': [
535 # TODO(gregoryd): chrome_resources and chrome_strings could be
536 # shared with the 32-bit target, but it does not work due to a gyp
537 # issue.
538 'chrome_resources',
539 'chrome_strings',
540 'common_constants_win64',
541 '../app/app.gyp:app_base_nacl_win64',
542 '../app/app.gyp:app_resources',
543 '../base/base.gyp:base_nacl_win64',
544 '../ipc/ipc.gyp:ipc_win64',
[email protected]3e0f7d522010-06-18 04:09:14545 '../third_party/libxml/libxml.gyp:libxml',
[email protected]dd363682009-12-28 20:30:46546 ],
547 'include_dirs': [
548 '../third_party/npapi',
549 '../third_party/icu/public/i18n',
550 '../third_party/icu/public/common',
551 # We usually get these skia directories by adding a dependency on
552 # skia, bu we don't need it for NaCl's 64-bit Windows support. The
553 # directories are required for resolving the includes in any case.
[email protected]38789d82010-11-17 06:03:44554 '../third_party/skia/include/config',
[email protected]dd363682009-12-28 20:30:46555 '../third_party/skia/include/core',
556 '../skia/config',
[email protected]38789d82010-11-17 06:03:44557 '../skia/config/win',
[email protected]dd363682009-12-28 20:30:46558 ],
559 'defines': [
560 'EXCLUDE_SKIA_DEPENDENCIES',
561 '<@(nacl_win64_defines)',
562 ],
563 'sources': [
564 '../webkit/glue/webkit_glue_dummy.cc',
[email protected]52785d4c2010-08-25 19:44:49565 'common/file_system/file_system_dispatcher_dummy.cc',
[email protected]dd363682009-12-28 20:30:46566 'common/resource_dispatcher_dummy.cc',
567 'common/socket_stream_dispatcher_dummy.cc',
[email protected]7fc13ed2010-03-06 05:06:20568 'common/url_constants.cc',
[email protected]dd363682009-12-28 20:30:46569 ],
570 'export_dependent_settings': [
571 '../app/app.gyp:app_base_nacl_win64',
572 ],
573 # TODO(gregoryd): This could be shared with the 32-bit target, but
574 # it does not work due to a gyp issue.
575 'direct_dependent_settings': {
576 'include_dirs': [
577 '..',
578 ],
579 },
580 'configurations': {
581 'Common_Base': {
582 'msvs_target_platform': 'x64',
583 },
584 },
585 },
586 ],
587 }],
588 ],
589}