[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] | 9e82366 | 2010-10-13 23:36:00 | [diff] [blame] | 45 | 'common/content_restriction.h', |
[email protected] | aee541e | 2010-03-19 01:52:45 | [diff] [blame] | 46 | 'common/content_settings.cc', |
| 47 | 'common/content_settings.h', |
[email protected] | f895131a | 2010-07-23 05:36:02 | [diff] [blame] | 48 | 'common/content_settings_helper.cc', |
| 49 | 'common/content_settings_helper.h', |
[email protected] | aee541e | 2010-03-19 01:52:45 | [diff] [blame] | 50 | 'common/content_settings_types.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 51 | 'common/debug_flags.cc', |
| 52 | 'common/debug_flags.h', |
[email protected] | 7a4de7a6 | 2010-08-17 18:38:24 | [diff] [blame] | 53 | 'common/devtools_messages.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 54 | 'common/devtools_messages.h', |
| 55 | 'common/devtools_messages_internal.h', |
[email protected] | 38e0898 | 2010-10-22 17:28:43 | [diff] [blame] | 56 | 'common/dx_diag_node.cc', |
[email protected] | 81f85b3 | 2010-10-08 18:03:21 | [diff] [blame] | 57 | 'common/dx_diag_node.h', |
[email protected] | c5a272d | 2010-09-27 18:37:08 | [diff] [blame] | 58 | 'common/file_system/webfilesystem_callback_dispatcher.cc', |
| 59 | 'common/file_system/webfilesystem_callback_dispatcher.h', |
[email protected] | 52785d4c | 2010-08-25 19:44:49 | [diff] [blame] | 60 | 'common/file_system/webfilesystem_impl.cc', |
| 61 | 'common/file_system/webfilesystem_impl.h', |
[email protected] | ff7321d | 2010-09-30 01:24:36 | [diff] [blame] | 62 | 'common/file_system/webfilewriter_impl.cc', |
| 63 | 'common/file_system/webfilewriter_impl.h', |
[email protected] | 2019966 | 2010-06-17 03:29:26 | [diff] [blame] | 64 | 'common/font_descriptor_mac.h', |
| 65 | 'common/font_descriptor_mac.mm', |
[email protected] | 58c321d | 2010-02-19 12:11:28 | [diff] [blame] | 66 | 'common/geoposition.cc', |
[email protected] | 7c927b6 | 2010-02-24 09:54:13 | [diff] [blame] | 67 | 'common/geoposition.h', |
[email protected] | 38e0898 | 2010-10-22 17:28:43 | [diff] [blame] | 68 | 'common/gpu_create_command_buffer_config.cc', |
| 69 | 'common/gpu_create_command_buffer_config.h', |
[email protected] | 1bf14bc | 2010-07-09 16:10:43 | [diff] [blame] | 70 | 'common/gpu_info.h', |
| 71 | 'common/gpu_info.cc', |
[email protected] | 7a4de7a6 | 2010-08-17 18:38:24 | [diff] [blame] | 72 | 'common/gpu_messages.cc', |
[email protected] | c0fc094 | 2010-01-13 00:55:37 | [diff] [blame] | 73 | 'common/gpu_messages.h', |
| 74 | 'common/gpu_messages_internal.h', |
[email protected] | 4bce24e | 2010-09-07 20:45:01 | [diff] [blame] | 75 | 'common/gpu_param_traits.h', |
[email protected] | ee68378a | 2010-08-10 01:05:41 | [diff] [blame] | 76 | 'common/gpu_video_common.cc', |
| 77 | 'common/gpu_video_common.h', |
[email protected] | 5c71640c | 2010-07-14 14:29:40 | [diff] [blame] | 78 | 'common/indexed_db_key.cc', |
| 79 | 'common/indexed_db_key.h', |
[email protected] | 52ebf2b | 2010-09-09 18:56:05 | [diff] [blame] | 80 | 'common/indexed_db_param_traits.cc', |
| 81 | 'common/indexed_db_param_traits.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 82 | '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] | 1226abb | 2010-06-10 18:01:28 | [diff] [blame] | 87 | 'common/metrics_helpers.cc', |
[email protected] | 3e0f7d52 | 2010-06-18 04:09:14 | [diff] [blame] | 88 | 'common/metrics_helpers.h', |
[email protected] | 293fd7a9 | 2010-11-16 21:14:58 | [diff] [blame] | 89 | '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] | 103607e | 2010-02-01 18:57:09 | [diff] [blame] | 93 | 'common/nacl_cmd_line.cc', |
| 94 | 'common/nacl_cmd_line.h', |
[email protected] | 7a4de7a6 | 2010-08-17 18:38:24 | [diff] [blame] | 95 | 'common/nacl_messages.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 96 | 'common/nacl_messages.h', |
[email protected] | 0cfe5dae | 2010-08-17 00:24:54 | [diff] [blame] | 97 | 'common/nacl_messages_internal.h', |
[email protected] | 7a4de7a6 | 2010-08-17 18:38:24 | [diff] [blame] | 98 | 'common/nacl_types.h', |
[email protected] | 20136647 | 2010-07-16 17:22:49 | [diff] [blame] | 99 | 'common/notification_details.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 100 | '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] | 20136647 | 2010-07-16 17:22:49 | [diff] [blame] | 106 | 'common/notification_source.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 107 | '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] | 9b2331d9 | 2010-10-04 23:11:19 | [diff] [blame] | 116 | 'common/resource_response.cc', |
[email protected] | 7c927b6 | 2010-02-24 09:54:13 | [diff] [blame] | 117 | 'common/resource_response.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 118 | '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] | 382abc2 | 2010-01-17 10:09:39 | [diff] [blame] | 125 | 'common/sandbox_policy.cc', |
| 126 | 'common/sandbox_policy.h', |
[email protected] | 5c71640c | 2010-07-14 14:29:40 | [diff] [blame] | 127 | 'common/serialized_script_value.cc', |
| 128 | 'common/serialized_script_value.h', |
[email protected] | 5c08f22 | 2010-09-22 09:37:21 | [diff] [blame] | 129 | 'common/switch_utils.cc', |
| 130 | 'common/switch_utils.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 131 | 'common/time_format.cc', |
| 132 | 'common/time_format.h', |
[email protected] | 4641d3c | 2010-08-26 21:44:13 | [diff] [blame] | 133 | 'common/chrome_version_info.h', |
| 134 | 'common/chrome_version_info.cc', |
[email protected] | 22339b1 | 2010-08-27 18:29:24 | [diff] [blame] | 135 | 'common/webblobregistry_impl.cc', |
| 136 | 'common/webblobregistry_impl.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 137 | '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] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 165 | 'common_net', |
[email protected] | 0d64bb7 | 2010-07-07 05:36:38 | [diff] [blame] | 166 | 'default_plugin/default_plugin.gyp:default_plugin', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 167 | '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] | 1309540 | 2010-07-20 00:15:43 | [diff] [blame] | 175 | '../printing/printing.gyp:printing', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 176 | '../skia/skia.gyp:skia', |
[email protected] | 423bfef | 2010-06-18 17:17:28 | [diff] [blame] | 177 | '../third_party/bzip2/bzip2.gyp:bzip2', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 178 | '../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] | 69d3dfe8 | 2010-05-14 03:21:55 | [diff] [blame] | 184 | '../webkit/support/webkit_support.gyp:appcache', |
[email protected] | 22339b1 | 2010-08-27 18:29:24 | [diff] [blame] | 185 | '../webkit/support/webkit_support.gyp:blob', |
[email protected] | 69d3dfe8 | 2010-05-14 03:21:55 | [diff] [blame] | 186 | '../webkit/support/webkit_support.gyp:glue', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 187 | ], |
| 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] | 7c927b6 | 2010-02-24 09:54:13 | [diff] [blame] | 195 | 'common/extensions/extension_action.cc', |
| 196 | 'common/extensions/extension_action.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 197 | 'common/extensions/extension_constants.cc', |
| 198 | 'common/extensions/extension_constants.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 199 | 'common/extensions/extension_error_utils.cc', |
| 200 | 'common/extensions/extension_error_utils.h', |
[email protected] | 867a73e1 | 2010-03-19 20:45:46 | [diff] [blame] | 201 | 'common/extensions/extension_extent.cc', |
| 202 | 'common/extensions/extension_extent.h', |
[email protected] | 7c927b6 | 2010-02-24 09:54:13 | [diff] [blame] | 203 | 'common/extensions/extension_file_util.cc', |
| 204 | 'common/extensions/extension_file_util.h', |
[email protected] | 807871f | 2010-09-16 01:04:48 | [diff] [blame] | 205 | 'common/extensions/extension_icon_set.cc', |
| 206 | 'common/extensions/extension_icon_set.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 207 | 'common/extensions/extension_l10n_util.cc', |
| 208 | 'common/extensions/extension_l10n_util.h', |
[email protected] | 8a58f9a | 2010-05-18 18:38:09 | [diff] [blame] | 209 | 'common/extensions/extension_localization_peer.cc', |
| 210 | 'common/extensions/extension_localization_peer.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 211 | '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] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 223 | '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] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 229 | 'common/automation_constants.cc', |
| 230 | 'common/automation_constants.h', |
[email protected] | a8ba636 | 2010-11-10 20:02:25 | [diff] [blame] | 231 | 'common/automation_messages.cc', |
| 232 | 'common/automation_messages.h', |
| 233 | 'common/automation_messages_internal.h', |
[email protected] | d27893f6 | 2010-07-03 05:47:42 | [diff] [blame] | 234 | 'common/child_process_host.cc', |
| 235 | 'common/child_process_host.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 236 | '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] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 242 | 'common/common_glue.cc', |
| 243 | 'common/css_colors.h', |
[email protected] | 2b437e23 | 2010-04-02 01:30:08 | [diff] [blame] | 244 | 'common/database_util.cc', |
| 245 | 'common/database_util.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 246 | 'common/db_message_filter.cc', |
| 247 | 'common/db_message_filter.h', |
[email protected] | 2290cb86 | 2010-06-02 16:50:58 | [diff] [blame] | 248 | 'common/default_plugin.cc', |
| 249 | 'common/default_plugin.h', |
[email protected] | 106113b3 | 2010-04-26 22:17:37 | [diff] [blame] | 250 | 'common/deprecated/event_sys-inl.h', |
| 251 | 'common/deprecated/event_sys.h', |
[email protected] | 2290cb86 | 2010-06-02 16:50:58 | [diff] [blame] | 252 | 'common/dom_storage_common.h', |
[email protected] | 52785d4c | 2010-08-25 19:44:49 | [diff] [blame] | 253 | 'common/file_system/file_system_dispatcher.cc', |
| 254 | 'common/file_system/file_system_dispatcher.h', |
[email protected] | 865f3792 | 2010-05-23 16:43:44 | [diff] [blame] | 255 | 'common/font_loader_mac.h', |
| 256 | 'common/font_loader_mac.mm', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 257 | 'common/gears_api.h', |
| 258 | 'common/gpu_plugin.cc', |
| 259 | 'common/gpu_plugin.h', |
[email protected] | 6658ca8 | 2010-05-20 18:20:29 | [diff] [blame] | 260 | 'common/important_file_writer.cc', |
| 261 | 'common/important_file_writer.h', |
[email protected] | ea587b0 | 2010-05-21 15:01:35 | [diff] [blame] | 262 | 'common/json_pref_store.cc', |
| 263 | 'common/json_pref_store.h', |
[email protected] | 639e671 | 2010-11-11 22:21:43 | [diff] [blame] | 264 | 'common/json_schema_validator.cc', |
| 265 | 'common/json_schema_validator.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 266 | '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] | cccd376 | 2010-11-12 18:40:01 | [diff] [blame] | 278 | 'common/page_type.h', |
[email protected] | bb0a6a0 | 2010-04-01 21:17:00 | [diff] [blame] | 279 | 'common/page_transition_types.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 280 | 'common/page_transition_types.h', |
| 281 | 'common/page_zoom.h', |
[email protected] | 4e0616e | 2010-05-28 14:55:53 | [diff] [blame] | 282 | 'common/pepper_plugin_registry.cc', |
| 283 | 'common/pepper_plugin_registry.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 284 | 'common/plugin_carbon_interpose_constants_mac.h', |
| 285 | 'common/plugin_carbon_interpose_constants_mac.cc', |
[email protected] | 7a4de7a6 | 2010-08-17 18:38:24 | [diff] [blame] | 286 | 'common/plugin_messages.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 287 | 'common/plugin_messages.h', |
| 288 | 'common/plugin_messages_internal.h', |
[email protected] | ce1850e9 | 2010-10-15 08:40:58 | [diff] [blame] | 289 | 'common/pref_store.cc', |
| 290 | 'common/pref_store.h', |
[email protected] | 7a4de7a6 | 2010-08-17 18:38:24 | [diff] [blame] | 291 | 'common/render_messages.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 292 | 'common/render_messages.h', |
[email protected] | 939856a | 2010-08-24 20:29:02 | [diff] [blame] | 293 | 'common/render_messages_params.cc', |
| 294 | 'common/render_messages_params.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 295 | 'common/render_messages_internal.h', |
[email protected] | 9b2331d9 | 2010-10-04 23:11:19 | [diff] [blame] | 296 | 'common/renderer_preferences.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 297 | '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] | cccd376 | 2010-11-12 18:40:01 | [diff] [blame] | 302 | 'common/security_style.h', |
[email protected] | 7a4de7a6 | 2010-08-17 18:38:24 | [diff] [blame] | 303 | 'common/service_messages.cc', |
[email protected] | 38fe196 | 2010-07-31 07:57:00 | [diff] [blame] | 304 | 'common/service_messages.h', |
[email protected] | 541f55a | 2010-09-07 16:42:53 | [diff] [blame] | 305 | 'common/service_messages_internal.h', |
[email protected] | 7a4de7a6 | 2010-08-17 18:38:24 | [diff] [blame] | 306 | 'common/service_process_type.h', |
| 307 | 'common/service_process_util.cc', |
| 308 | 'common/service_process_util.h', |
[email protected] | 14635494 | 2010-10-13 20:27:04 | [diff] [blame] | 309 | 'common/service_process_util_posix.cc', |
| 310 | 'common/service_process_util_win.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 311 | '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] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 319 | 'common/thumbnail_score.cc', |
| 320 | 'common/thumbnail_score.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 321 | 'common/url_constants.cc', |
| 322 | 'common/url_constants.h', |
[email protected] | 7a4de7a6 | 2010-08-17 18:38:24 | [diff] [blame] | 323 | 'common/utility_messages.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 324 | '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] | 38789d8 | 2010-11-17 06:03:44 | [diff] [blame^] | 330 | 'common/web_apps.cc', |
| 331 | 'common/web_apps.h', |
[email protected] | 2b437e23 | 2010-04-02 01:30:08 | [diff] [blame] | 332 | 'common/web_database_observer_impl.cc', |
| 333 | 'common/web_database_observer_impl.h', |
[email protected] | 7a4de7a6 | 2010-08-17 18:38:24 | [diff] [blame] | 334 | 'common/webkit_param_traits.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 335 | 'common/webkit_param_traits.h', |
| 336 | 'common/webmessageportchannel_impl.cc', |
| 337 | 'common/webmessageportchannel_impl.h', |
[email protected] | 534c66c | 2010-04-28 22:53:11 | [diff] [blame] | 338 | 'common/window_container_type.cc', |
| 339 | 'common/window_container_type.h', |
[email protected] | 7a4de7a6 | 2010-08-17 18:38:24 | [diff] [blame] | 340 | 'common/worker_messages.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 341 | 'common/worker_messages.h', |
| 342 | 'common/worker_messages_internal.h', |
| 343 | 'common/worker_thread_ticker.cc', |
| 344 | 'common/worker_thread_ticker.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 345 | 'common/zip.cc', # Requires zlib directly. |
| 346 | 'common/zip.h', |
| 347 | ], |
| 348 | 'conditions': [ |
[email protected] | 6f5b3b29 | 2010-02-22 20:56:15 | [diff] [blame] | 349 | ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 350 | '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] | 8b46c13b | 2010-01-26 19:50:54 | [diff] [blame] | 360 | '-lXss', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 361 | '-lXext', |
| 362 | ], |
| 363 | }, |
| 364 | },], |
[email protected] | 4641d3c | 2010-08-26 21:44:13 | [diff] [blame] | 365 | [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', { |
| 366 | 'include_dirs': [ |
| 367 | '<(SHARED_INTERMEDIATE_DIR)', |
| 368 | ], |
[email protected] | 79440c5 | 2010-08-27 22:53:02 | [diff] [blame] | 369 | # Because posix_version generates a header, we must set the |
| 370 | # hard_dependency flag. |
| 371 | 'hard_dependency': 1, |
[email protected] | 4641d3c | 2010-08-26 21:44:13 | [diff] [blame] | 372 | '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] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 417 | ['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] | 1e652d02 | 2010-04-16 19:09:11 | [diff] [blame] | 426 | 'link_settings': { |
| 427 | 'mac_bundle_resources': [ |
| 428 | 'common/common.sb', |
| 429 | ], |
| 430 | }, |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 431 | }], |
[email protected] | 382abc2 | 2010-01-17 10:09:39 | [diff] [blame] | 432 | ['OS!="win"', { |
| 433 | 'sources!': [ |
| 434 | 'common/sandbox_policy.cc', |
| 435 | ], |
| 436 | }], |
[email protected] | 8cc9dd62 | 2010-06-28 15:13:10 | [diff] [blame] | 437 | ['remoting==1', { |
| 438 | 'dependencies': [ |
| 439 | '../remoting/remoting.gyp:chromoting_plugin', |
| 440 | ], |
| 441 | }], |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 442 | ], |
| 443 | 'export_dependent_settings': [ |
| 444 | '../app/app.gyp:app_base', |
| 445 | ], |
| 446 | }, |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 447 | { |
| 448 | 'target_name': 'common_net', |
| 449 | 'type': '<(library)', |
| 450 | 'sources': [ |
[email protected] | f3d0174 | 2010-05-07 02:53:55 | [diff] [blame] | 451 | 'common/net/http_return.h', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 452 | 'common/net/net_resource_provider.cc', |
| 453 | 'common/net/net_resource_provider.h', |
[email protected] | 3530cd9 | 2010-06-27 06:22:01 | [diff] [blame] | 454 | 'common/net/predictor_common.h', |
[email protected] | 2258c1c9 | 2010-10-28 17:51:19 | [diff] [blame] | 455 | 'common/net/raw_host_resolver_proc.cc', |
| 456 | 'common/net/raw_host_resolver_proc.h', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 457 | 'common/net/socket_stream.h', |
[email protected] | 68d2a05f | 2010-05-07 21:39:55 | [diff] [blame] | 458 | '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] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 464 | 'common/net/url_request_intercept_job.cc', |
| 465 | 'common/net/url_request_intercept_job.h', |
[email protected] | a0e7704 | 2010-07-01 22:28:23 | [diff] [blame] | 466 | 'common/net/gaia/gaia_auth_consumer.h', |
[email protected] | 1d8fe71 | 2010-11-10 22:47:26 | [diff] [blame] | 467 | 'common/net/gaia/gaia_auth_fetcher.cc', |
| 468 | 'common/net/gaia/gaia_auth_fetcher.h', |
[email protected] | f3d0174 | 2010-05-07 02:53:55 | [diff] [blame] | 469 | 'common/net/gaia/gaia_authenticator.cc', |
| 470 | 'common/net/gaia/gaia_authenticator.h', |
[email protected] | 99074c5 | 2010-08-19 18:44:19 | [diff] [blame] | 471 | 'common/net/gaia/google_service_auth_error.h', |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 472 | '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] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 476 | ], |
| 477 | 'dependencies': [ |
| 478 | 'chrome_resources', |
| 479 | 'chrome_strings', |
[email protected] | 8dc64b4 | 2010-05-14 07:26:42 | [diff] [blame] | 480 | '../app/app.gyp:app_base', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 481 | '../base/base.gyp:base', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 482 | '../net/net.gyp:net_resources', |
[email protected] | 8dc64b4 | 2010-05-14 07:26:42 | [diff] [blame] | 483 | '../net/net.gyp:net', |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 484 | '../third_party/icu/icu.gyp:icui18n', |
| 485 | '../third_party/icu/icu.gyp:icuuc', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 486 | ], |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 487 | 'conditions': [ |
| 488 | [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { |
[email protected] | 3ddfe48 | 2010-11-02 10:43:45 | [diff] [blame] | 489 | '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] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 501 | ], |
| 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] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 522 | }, |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 523 | ], |
| 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] | 3e0f7d52 | 2010-06-18 04:09:14 | [diff] [blame] | 545 | '../third_party/libxml/libxml.gyp:libxml', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 546 | ], |
| 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] | 38789d8 | 2010-11-17 06:03:44 | [diff] [blame^] | 554 | '../third_party/skia/include/config', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 555 | '../third_party/skia/include/core', |
| 556 | '../skia/config', |
[email protected] | 38789d8 | 2010-11-17 06:03:44 | [diff] [blame^] | 557 | '../skia/config/win', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 558 | ], |
| 559 | 'defines': [ |
| 560 | 'EXCLUDE_SKIA_DEPENDENCIES', |
| 561 | '<@(nacl_win64_defines)', |
| 562 | ], |
| 563 | 'sources': [ |
| 564 | '../webkit/glue/webkit_glue_dummy.cc', |
[email protected] | 52785d4c | 2010-08-25 19:44:49 | [diff] [blame] | 565 | 'common/file_system/file_system_dispatcher_dummy.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 566 | 'common/resource_dispatcher_dummy.cc', |
| 567 | 'common/socket_stream_dispatcher_dummy.cc', |
[email protected] | 7fc13ed | 2010-03-06 05:06:20 | [diff] [blame] | 568 | 'common/url_constants.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 569 | ], |
| 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 | } |