[email protected] | e284e6d8 | 2010-01-29 19:49:45 | [diff] [blame] | 1 | # Copyright (c) 2010 The Chromium Authors. All rights reserved. |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 2 | # 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] | cd134c8c | 2010-03-09 05:23:12 | [diff] [blame] | 18 | '<(DEPTH)/third_party/wtl/include', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 19 | ], |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 20 | }], |
| 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] | 3e0f7d52 | 2010-06-18 04:09:14 | [diff] [blame] | 26 | 'common/about_handler.cc', |
| 27 | 'common/about_handler.h', |
[email protected] | 646b9b9 | 2010-04-30 21:51:58 | [diff] [blame] | 28 | 'common/app_mode_common_mac.h', |
| 29 | 'common/app_mode_common_mac.mm', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 30 | '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] | aee541e | 2010-03-19 01:52:45 | [diff] [blame] | 45 | 'common/content_settings.cc', |
| 46 | 'common/content_settings.h', |
[email protected] | f895131a | 2010-07-23 05:36:02 | [diff] [blame] | 47 | 'common/content_settings_helper.cc', |
| 48 | 'common/content_settings_helper.h', |
[email protected] | aee541e | 2010-03-19 01:52:45 | [diff] [blame] | 49 | 'common/content_settings_types.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 50 | 'common/debug_flags.cc', |
| 51 | 'common/debug_flags.h', |
| 52 | 'common/devtools_messages.h', |
| 53 | 'common/devtools_messages_internal.h', |
[email protected] | 2019966 | 2010-06-17 03:29:26 | [diff] [blame] | 54 | 'common/font_descriptor_mac.h', |
| 55 | 'common/font_descriptor_mac.mm', |
[email protected] | 58c321d | 2010-02-19 12:11:28 | [diff] [blame] | 56 | 'common/geoposition.cc', |
[email protected] | 7c927b6 | 2010-02-24 09:54:13 | [diff] [blame] | 57 | 'common/geoposition.h', |
[email protected] | 1bf14bc | 2010-07-09 16:10:43 | [diff] [blame] | 58 | 'common/gpu_info.h', |
| 59 | 'common/gpu_info.cc', |
[email protected] | c0fc094 | 2010-01-13 00:55:37 | [diff] [blame] | 60 | 'common/gpu_messages.h', |
| 61 | 'common/gpu_messages_internal.h', |
[email protected] | 5c71640c | 2010-07-14 14:29:40 | [diff] [blame] | 62 | 'common/indexed_db_key.cc', |
| 63 | 'common/indexed_db_key.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 64 | 'common/logging_chrome.cc', |
| 65 | 'common/logging_chrome.h', |
| 66 | 'common/main_function_params.h', |
| 67 | 'common/message_router.cc', |
| 68 | 'common/message_router.h', |
[email protected] | 1226abb | 2010-06-10 18:01:28 | [diff] [blame] | 69 | 'common/metrics_helpers.cc', |
[email protected] | 3e0f7d52 | 2010-06-18 04:09:14 | [diff] [blame] | 70 | 'common/metrics_helpers.h', |
[email protected] | 103607e | 2010-02-01 18:57:09 | [diff] [blame] | 71 | 'common/nacl_cmd_line.cc', |
| 72 | 'common/nacl_cmd_line.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 73 | 'common/nacl_messages.h', |
[email protected] | 103607e | 2010-02-01 18:57:09 | [diff] [blame] | 74 | 'common/nacl_types.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 75 | 'common/nacl_messages_internal.h', |
[email protected] | 20136647 | 2010-07-16 17:22:49 | [diff] [blame] | 76 | 'common/notification_details.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 77 | 'common/notification_details.h', |
| 78 | 'common/notification_observer.h', |
| 79 | 'common/notification_registrar.cc', |
| 80 | 'common/notification_registrar.h', |
| 81 | 'common/notification_service.cc', |
| 82 | 'common/notification_service.h', |
[email protected] | 20136647 | 2010-07-16 17:22:49 | [diff] [blame] | 83 | 'common/notification_source.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 84 | 'common/notification_source.h', |
| 85 | 'common/notification_type.h', |
[email protected] | ed17c7b | 2010-07-14 12:03:33 | [diff] [blame] | 86 | 'common/plugin_group.cc', |
| 87 | 'common/plugin_group.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 88 | 'common/process_watcher_mac.cc', |
| 89 | 'common/process_watcher_posix.cc', |
| 90 | 'common/process_watcher_win.cc', |
| 91 | 'common/process_watcher.h', |
| 92 | 'common/property_bag.cc', |
| 93 | 'common/property_bag.h', |
| 94 | 'common/ref_counted_util.h', |
[email protected] | 7c927b6 | 2010-02-24 09:54:13 | [diff] [blame] | 95 | 'common/resource_response.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 96 | 'common/result_codes.h', |
| 97 | 'common/sandbox_init_wrapper.h', |
| 98 | 'common/sandbox_init_wrapper_linux.cc', |
| 99 | 'common/sandbox_init_wrapper_mac.cc', |
| 100 | 'common/sandbox_init_wrapper_win.cc', |
| 101 | 'common/sandbox_mac.h', |
| 102 | 'common/sandbox_mac.mm', |
[email protected] | 382abc2 | 2010-01-17 10:09:39 | [diff] [blame] | 103 | 'common/sandbox_policy.cc', |
| 104 | 'common/sandbox_policy.h', |
[email protected] | 5c71640c | 2010-07-14 14:29:40 | [diff] [blame] | 105 | 'common/serialized_script_value.cc', |
| 106 | 'common/serialized_script_value.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 107 | 'common/task_queue.cc', |
| 108 | 'common/task_queue.h', |
| 109 | 'common/time_format.cc', |
| 110 | 'common/time_format.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 111 | 'common/win_safe_util.cc', |
| 112 | 'common/win_safe_util.h', |
| 113 | ], |
| 114 | }], |
| 115 | ], |
| 116 | }, |
| 117 | 'targets': [ |
| 118 | { |
| 119 | 'target_name': 'common', |
| 120 | 'type': '<(library)', |
| 121 | 'msvs_guid': '899F1280-3441-4D1F-BA04-CCD6208D9146', |
| 122 | 'variables': { |
| 123 | 'chrome_common_target': 1, |
| 124 | }, |
| 125 | # TODO(gregoryd): This could be shared with the 64-bit target, but |
| 126 | # it does not work due to a gyp issue. |
| 127 | 'direct_dependent_settings': { |
| 128 | 'include_dirs': [ |
| 129 | '..', |
| 130 | ], |
| 131 | }, |
| 132 | 'dependencies': [ |
| 133 | # TODO(gregoryd): chrome_resources and chrome_strings could be |
| 134 | # shared with the 64-bit target, but it does not work due to a gyp |
| 135 | # issue. |
| 136 | 'chrome_resources', |
| 137 | 'chrome_strings', |
| 138 | 'common_constants', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 139 | 'common_net', |
[email protected] | 0d64bb7 | 2010-07-07 05:36:38 | [diff] [blame] | 140 | 'default_plugin/default_plugin.gyp:default_plugin', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 141 | 'theme_resources', |
| 142 | '../app/app.gyp:app_base', |
| 143 | '../app/app.gyp:app_resources', |
| 144 | '../base/base.gyp:base', |
| 145 | '../base/base.gyp:base_i18n', |
| 146 | '../build/temp_gyp/googleurl.gyp:googleurl', |
| 147 | '../ipc/ipc.gyp:ipc', |
| 148 | '../net/net.gyp:net', |
[email protected] | 1309540 | 2010-07-20 00:15:43 | [diff] [blame] | 149 | '../printing/printing.gyp:printing', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 150 | '../skia/skia.gyp:skia', |
[email protected] | 423bfef | 2010-06-18 17:17:28 | [diff] [blame] | 151 | '../third_party/bzip2/bzip2.gyp:bzip2', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 152 | '../third_party/icu/icu.gyp:icui18n', |
| 153 | '../third_party/icu/icu.gyp:icuuc', |
| 154 | '../third_party/libxml/libxml.gyp:libxml', |
| 155 | '../third_party/sqlite/sqlite.gyp:sqlite', |
| 156 | '../third_party/zlib/zlib.gyp:zlib', |
| 157 | '../third_party/npapi/npapi.gyp:npapi', |
[email protected] | 69d3dfe8 | 2010-05-14 03:21:55 | [diff] [blame] | 158 | '../webkit/support/webkit_support.gyp:appcache', |
| 159 | '../webkit/support/webkit_support.gyp:glue', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 160 | ], |
| 161 | 'sources': [ |
| 162 | # .cc, .h, and .mm files under chrome/common that are not required for |
| 163 | # building 64-bit Windows targets. Test files are not included. |
| 164 | 'common/desktop_notifications/active_notification_tracker.h', |
| 165 | 'common/desktop_notifications/active_notification_tracker.cc', |
| 166 | 'common/extensions/extension.cc', |
| 167 | 'common/extensions/extension.h', |
[email protected] | 7c927b6 | 2010-02-24 09:54:13 | [diff] [blame] | 168 | 'common/extensions/extension_action.cc', |
| 169 | 'common/extensions/extension_action.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 170 | 'common/extensions/extension_constants.cc', |
| 171 | 'common/extensions/extension_constants.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 172 | 'common/extensions/extension_error_utils.cc', |
| 173 | 'common/extensions/extension_error_utils.h', |
[email protected] | 867a73e1 | 2010-03-19 20:45:46 | [diff] [blame] | 174 | 'common/extensions/extension_extent.cc', |
| 175 | 'common/extensions/extension_extent.h', |
[email protected] | 7c927b6 | 2010-02-24 09:54:13 | [diff] [blame] | 176 | 'common/extensions/extension_file_util.cc', |
| 177 | 'common/extensions/extension_file_util.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 178 | 'common/extensions/extension_l10n_util.cc', |
| 179 | 'common/extensions/extension_l10n_util.h', |
[email protected] | 8a58f9a | 2010-05-18 18:38:09 | [diff] [blame] | 180 | 'common/extensions/extension_localization_peer.cc', |
| 181 | 'common/extensions/extension_localization_peer.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 182 | 'common/extensions/extension_message_bundle.cc', |
| 183 | 'common/extensions/extension_message_bundle.h', |
| 184 | 'common/extensions/extension_resource.cc', |
| 185 | 'common/extensions/extension_resource.h', |
| 186 | 'common/extensions/extension_unpacker.cc', |
| 187 | 'common/extensions/extension_unpacker.h', |
| 188 | 'common/extensions/update_manifest.cc', |
| 189 | 'common/extensions/update_manifest.h', |
| 190 | 'common/extensions/url_pattern.cc', |
| 191 | 'common/extensions/url_pattern.h', |
| 192 | 'common/extensions/user_script.cc', |
| 193 | 'common/extensions/user_script.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 194 | 'common/web_resource/web_resource_unpacker.cc', |
| 195 | 'common/web_resource/web_resource_unpacker.h', |
| 196 | 'common/appcache/appcache_backend_proxy.cc', |
| 197 | 'common/appcache/appcache_backend_proxy.h', |
| 198 | 'common/appcache/appcache_dispatcher.cc', |
| 199 | 'common/appcache/appcache_dispatcher.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 200 | 'common/automation_constants.cc', |
| 201 | 'common/automation_constants.h', |
[email protected] | d27893f6 | 2010-07-03 05:47:42 | [diff] [blame] | 202 | 'common/child_process_host.cc', |
| 203 | 'common/child_process_host.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 204 | 'common/chrome_descriptors.h', |
| 205 | 'common/chrome_plugin_api.h', |
| 206 | 'common/chrome_plugin_lib.cc', |
| 207 | 'common/chrome_plugin_lib.h', |
| 208 | 'common/chrome_plugin_util.cc', |
| 209 | 'common/chrome_plugin_util.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 210 | 'common/common_glue.cc', |
| 211 | 'common/css_colors.h', |
[email protected] | 2b437e23 | 2010-04-02 01:30:08 | [diff] [blame] | 212 | 'common/database_util.cc', |
| 213 | 'common/database_util.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 214 | 'common/db_message_filter.cc', |
| 215 | 'common/db_message_filter.h', |
[email protected] | 2290cb86 | 2010-06-02 16:50:58 | [diff] [blame] | 216 | 'common/default_plugin.cc', |
| 217 | 'common/default_plugin.h', |
[email protected] | 106113b3 | 2010-04-26 22:17:37 | [diff] [blame] | 218 | 'common/deprecated/event_sys-inl.h', |
| 219 | 'common/deprecated/event_sys.h', |
[email protected] | 2290cb86 | 2010-06-02 16:50:58 | [diff] [blame] | 220 | 'common/dom_storage_common.h', |
[email protected] | 865f3792 | 2010-05-23 16:43:44 | [diff] [blame] | 221 | 'common/font_loader_mac.h', |
| 222 | 'common/font_loader_mac.mm', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 223 | 'common/gears_api.h', |
| 224 | 'common/gpu_plugin.cc', |
| 225 | 'common/gpu_plugin.h', |
[email protected] | 6658ca8 | 2010-05-20 18:20:29 | [diff] [blame] | 226 | 'common/important_file_writer.cc', |
| 227 | 'common/important_file_writer.h', |
[email protected] | ea587b0 | 2010-05-21 15:01:35 | [diff] [blame] | 228 | 'common/json_pref_store.cc', |
| 229 | 'common/json_pref_store.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 230 | 'common/jstemplate_builder.cc', |
| 231 | 'common/jstemplate_builder.h', |
| 232 | 'common/libxml_utils.cc', |
| 233 | 'common/libxml_utils.h', |
| 234 | 'common/mru_cache.h', |
| 235 | 'common/navigation_gesture.h', |
| 236 | 'common/navigation_types.h', |
| 237 | 'common/native_web_keyboard_event.h', |
| 238 | 'common/native_web_keyboard_event_linux.cc', |
| 239 | 'common/native_web_keyboard_event_mac.mm', |
| 240 | 'common/native_web_keyboard_event_win.cc', |
| 241 | 'common/native_window_notification_source.h', |
| 242 | 'common/owned_widget_gtk.cc', |
| 243 | 'common/owned_widget_gtk.h', |
[email protected] | bb0a6a0 | 2010-04-01 21:17:00 | [diff] [blame] | 244 | 'common/page_transition_types.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 245 | 'common/page_transition_types.h', |
| 246 | 'common/page_zoom.h', |
[email protected] | 4e0616e | 2010-05-28 14:55:53 | [diff] [blame] | 247 | 'common/pepper_plugin_registry.cc', |
| 248 | 'common/pepper_plugin_registry.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 249 | 'common/plugin_carbon_interpose_constants_mac.h', |
| 250 | 'common/plugin_carbon_interpose_constants_mac.cc', |
| 251 | 'common/plugin_messages.h', |
| 252 | 'common/plugin_messages_internal.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 253 | 'common/render_messages.h', |
| 254 | 'common/render_messages_internal.h', |
| 255 | 'common/renderer_preferences.h', |
| 256 | 'common/resource_dispatcher.cc', |
| 257 | 'common/resource_dispatcher.h', |
| 258 | 'common/security_filter_peer.cc', |
| 259 | 'common/security_filter_peer.h', |
[email protected] | 38fe196 | 2010-07-31 07:57:00 | [diff] [blame^] | 260 | 'common/service_messages.h', |
| 261 | 'common/services_messages_internal.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 262 | 'common/socket_stream_dispatcher.cc', |
| 263 | 'common/socket_stream_dispatcher.h', |
| 264 | 'common/spellcheck_common.cc', |
| 265 | 'common/spellcheck_common.h', |
| 266 | 'common/sqlite_compiled_statement.cc', |
| 267 | 'common/sqlite_compiled_statement.h', |
| 268 | 'common/sqlite_utils.cc', |
| 269 | 'common/sqlite_utils.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 270 | 'common/thumbnail_score.cc', |
| 271 | 'common/thumbnail_score.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 272 | 'common/url_constants.cc', |
| 273 | 'common/url_constants.h', |
| 274 | 'common/utility_messages.h', |
| 275 | 'common/utility_messages_internal.h', |
| 276 | 'common/view_types.cc', |
| 277 | 'common/view_types.h', |
| 278 | 'common/visitedlink_common.cc', |
| 279 | 'common/visitedlink_common.h', |
[email protected] | 2b437e23 | 2010-04-02 01:30:08 | [diff] [blame] | 280 | 'common/web_database_observer_impl.cc', |
| 281 | 'common/web_database_observer_impl.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 282 | 'common/webkit_param_traits.h', |
| 283 | 'common/webmessageportchannel_impl.cc', |
| 284 | 'common/webmessageportchannel_impl.h', |
[email protected] | 534c66c | 2010-04-28 22:53:11 | [diff] [blame] | 285 | 'common/window_container_type.cc', |
| 286 | 'common/window_container_type.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 287 | 'common/worker_messages.h', |
| 288 | 'common/worker_messages_internal.h', |
| 289 | 'common/worker_thread_ticker.cc', |
| 290 | 'common/worker_thread_ticker.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 291 | 'common/zip.cc', # Requires zlib directly. |
| 292 | 'common/zip.h', |
| 293 | ], |
| 294 | 'conditions': [ |
[email protected] | 6f5b3b29 | 2010-02-22 20:56:15 | [diff] [blame] | 295 | ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 296 | 'dependencies': [ |
| 297 | '../build/linux/system.gyp:gtk', |
| 298 | ], |
| 299 | 'export_dependent_settings': [ |
| 300 | '../third_party/sqlite/sqlite.gyp:sqlite', |
| 301 | ], |
| 302 | 'link_settings': { |
| 303 | 'libraries': [ |
| 304 | '-lX11', |
| 305 | '-lXrender', |
[email protected] | 8b46c13b | 2010-01-26 19:50:54 | [diff] [blame] | 306 | '-lXss', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 307 | '-lXext', |
| 308 | ], |
| 309 | }, |
| 310 | },], |
| 311 | ['OS=="linux" and selinux==1', { |
| 312 | 'dependencies': [ |
| 313 | '../build/linux/system.gyp:selinux', |
| 314 | ], |
| 315 | }], |
| 316 | ['OS=="mac"', { |
| 317 | 'sources!': [ |
| 318 | 'common/process_watcher_posix.cc', |
| 319 | ], |
[email protected] | 1e652d02 | 2010-04-16 19:09:11 | [diff] [blame] | 320 | 'link_settings': { |
| 321 | 'mac_bundle_resources': [ |
| 322 | 'common/common.sb', |
| 323 | ], |
| 324 | }, |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 325 | }], |
[email protected] | 382abc2 | 2010-01-17 10:09:39 | [diff] [blame] | 326 | ['OS!="win"', { |
| 327 | 'sources!': [ |
| 328 | 'common/sandbox_policy.cc', |
| 329 | ], |
| 330 | }], |
[email protected] | 8cc9dd62 | 2010-06-28 15:13:10 | [diff] [blame] | 331 | ['remoting==1', { |
| 332 | 'dependencies': [ |
| 333 | '../remoting/remoting.gyp:chromoting_plugin', |
| 334 | ], |
| 335 | }], |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 336 | ], |
| 337 | 'export_dependent_settings': [ |
| 338 | '../app/app.gyp:app_base', |
| 339 | ], |
| 340 | }, |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 341 | { |
| 342 | 'target_name': 'common_net', |
| 343 | 'type': '<(library)', |
| 344 | 'sources': [ |
[email protected] | f3d0174 | 2010-05-07 02:53:55 | [diff] [blame] | 345 | 'common/net/http_return.h', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 346 | 'common/net/net_resource_provider.cc', |
| 347 | 'common/net/net_resource_provider.h', |
[email protected] | 3530cd9 | 2010-06-27 06:22:01 | [diff] [blame] | 348 | 'common/net/predictor_common.h', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 349 | 'common/net/socket_stream.h', |
[email protected] | 68d2a05f | 2010-05-07 21:39:55 | [diff] [blame] | 350 | 'common/net/url_fetcher.cc', |
| 351 | 'common/net/url_fetcher.h', |
| 352 | 'common/net/url_fetcher_protect.cc', |
| 353 | 'common/net/url_fetcher_protect.h', |
| 354 | 'common/net/url_request_context_getter.cc', |
| 355 | 'common/net/url_request_context_getter.h', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 356 | 'common/net/url_request_intercept_job.cc', |
| 357 | 'common/net/url_request_intercept_job.h', |
[email protected] | a0e7704 | 2010-07-01 22:28:23 | [diff] [blame] | 358 | 'common/net/gaia/gaia_auth_consumer.h', |
[email protected] | f3d0174 | 2010-05-07 02:53:55 | [diff] [blame] | 359 | 'common/net/gaia/gaia_authenticator.cc', |
| 360 | 'common/net/gaia/gaia_authenticator.h', |
[email protected] | a0e7704 | 2010-07-01 22:28:23 | [diff] [blame] | 361 | 'common/net/gaia/gaia_authenticator2.cc', |
| 362 | 'common/net/gaia/gaia_authenticator2.h', |
[email protected] | f3d0174 | 2010-05-07 02:53:55 | [diff] [blame] | 363 | 'common/net/gaia/signin.h', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 364 | ], |
| 365 | 'dependencies': [ |
| 366 | 'chrome_resources', |
| 367 | 'chrome_strings', |
[email protected] | 8dc64b4 | 2010-05-14 07:26:42 | [diff] [blame] | 368 | '../app/app.gyp:app_base', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 369 | '../base/base.gyp:base', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 370 | '../net/net.gyp:net_resources', |
[email protected] | 8dc64b4 | 2010-05-14 07:26:42 | [diff] [blame] | 371 | '../net/net.gyp:net', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 372 | ], |
| 373 | }, |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 374 | ], |
| 375 | 'conditions': [ |
| 376 | ['OS=="win"', { |
| 377 | 'targets': [ |
| 378 | { |
| 379 | 'target_name': 'common_nacl_win64', |
| 380 | 'type': '<(library)', |
| 381 | 'msvs_guid': '3AB5C5E9-470C-419B-A0AE-C7381FB632FA', |
| 382 | 'variables': { |
| 383 | 'chrome_common_target': 1, |
| 384 | }, |
| 385 | 'dependencies': [ |
| 386 | # TODO(gregoryd): chrome_resources and chrome_strings could be |
| 387 | # shared with the 32-bit target, but it does not work due to a gyp |
| 388 | # issue. |
| 389 | 'chrome_resources', |
| 390 | 'chrome_strings', |
| 391 | 'common_constants_win64', |
| 392 | '../app/app.gyp:app_base_nacl_win64', |
| 393 | '../app/app.gyp:app_resources', |
| 394 | '../base/base.gyp:base_nacl_win64', |
| 395 | '../ipc/ipc.gyp:ipc_win64', |
[email protected] | 3e0f7d52 | 2010-06-18 04:09:14 | [diff] [blame] | 396 | '../third_party/libxml/libxml.gyp:libxml', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 397 | ], |
| 398 | 'include_dirs': [ |
| 399 | '../third_party/npapi', |
| 400 | '../third_party/icu/public/i18n', |
| 401 | '../third_party/icu/public/common', |
| 402 | # We usually get these skia directories by adding a dependency on |
| 403 | # skia, bu we don't need it for NaCl's 64-bit Windows support. The |
| 404 | # directories are required for resolving the includes in any case. |
| 405 | '../third_party/skia/include/core', |
| 406 | '../skia/config', |
| 407 | ], |
| 408 | 'defines': [ |
| 409 | 'EXCLUDE_SKIA_DEPENDENCIES', |
| 410 | '<@(nacl_win64_defines)', |
| 411 | ], |
| 412 | 'sources': [ |
| 413 | '../webkit/glue/webkit_glue_dummy.cc', |
| 414 | 'common/resource_dispatcher_dummy.cc', |
| 415 | 'common/socket_stream_dispatcher_dummy.cc', |
[email protected] | 7fc13ed | 2010-03-06 05:06:20 | [diff] [blame] | 416 | 'common/url_constants.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 417 | ], |
| 418 | 'export_dependent_settings': [ |
| 419 | '../app/app.gyp:app_base_nacl_win64', |
| 420 | ], |
| 421 | # TODO(gregoryd): This could be shared with the 32-bit target, but |
| 422 | # it does not work due to a gyp issue. |
| 423 | 'direct_dependent_settings': { |
| 424 | 'include_dirs': [ |
| 425 | '..', |
| 426 | ], |
| 427 | }, |
| 428 | 'configurations': { |
| 429 | 'Common_Base': { |
| 430 | 'msvs_target_platform': 'x64', |
| 431 | }, |
| 432 | }, |
| 433 | }, |
| 434 | ], |
| 435 | }], |
| 436 | ], |
| 437 | } |