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