blob: 68052a5321e10dadeed95ee971c30bf70d13faae [file] [log] [blame]
[email protected]098fa7a2013-03-08 22:11:171# Copyright (c) 2013 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{
[email protected]dd363682009-12-28 20:30:466 'targets': [
7 {
8 'target_name': 'common',
[email protected]5a547332011-05-19 23:18:539 'type': 'static_library',
[email protected]dd363682009-12-28 20:30:4610 'variables': {
11 'chrome_common_target': 1,
[email protected]4f68ed72012-10-30 05:24:0712 'enable_wexit_time_destructors': 1,
[email protected]dd363682009-12-28 20:30:4613 },
[email protected]93156cec2011-09-12 21:14:4414 'include_dirs': [
15 '..',
[email protected]b50368b2012-02-18 00:02:1316 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_content_client.cc.
[email protected]93156cec2011-09-12 21:14:4417 ],
[email protected]dd363682009-12-28 20:30:4618 'direct_dependent_settings': {
19 'include_dirs': [
20 '..',
21 ],
22 },
23 'dependencies': [
24 # TODO(gregoryd): chrome_resources and chrome_strings could be
25 # shared with the 64-bit target, but it does not work due to a gyp
26 # issue.
[email protected]3c3065d2010-05-06 21:59:5527 'common_net',
[email protected]b9bbf5532011-11-03 07:35:2228 'common_version',
[email protected]52927222013-03-19 22:38:1229 'installer_util',
[email protected]7ae45d0502012-01-31 00:29:2630 'metrics_proto',
[email protected]37794d02011-11-30 18:24:2931 '<(DEPTH)/base/base.gyp:base',
32 '<(DEPTH)/base/base.gyp:base_i18n',
[email protected]f59f33e2012-11-01 12:05:2733 '<(DEPTH)/base/base.gyp:base_prefs',
[email protected]37794d02011-11-30 18:24:2934 '<(DEPTH)/base/base.gyp:base_static',
[email protected]37794d02011-11-30 18:24:2935 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
36 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
37 '<(DEPTH)/chrome/chrome_resources.gyp:theme_resources',
[email protected]99245a02012-10-09 20:57:4938 '<(DEPTH)/chrome/common_constants.gyp:common_constants',
[email protected]5b38caf2014-04-18 05:32:0639 '<(DEPTH)/components/components.gyp:cloud_devices_common',
[email protected]fb1397ce2013-08-13 22:55:0740 '<(DEPTH)/components/components.gyp:json_schema',
[email protected]2a172e42014-02-21 04:06:1041 '<(DEPTH)/components/components.gyp:metrics',
[email protected]f522afa2014-01-08 15:36:3642 '<(DEPTH)/components/components.gyp:policy_component_common',
[email protected]eba93c92014-01-07 17:34:1743 '<(DEPTH)/components/components.gyp:translate_core_common',
[email protected]50ae9f12013-08-29 18:03:2244 '<(DEPTH)/components/components.gyp:variations',
[email protected]37794d02011-11-30 18:24:2945 '<(DEPTH)/content/content.gyp:content_common',
[email protected]00c82c92014-03-14 21:32:0746 '<(DEPTH)/crypto/crypto.gyp:crypto',
[email protected]99c0125b2014-04-17 05:21:5747 '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings',
[email protected]ff0c6382014-03-20 20:15:4148 '<(DEPTH)/media/cast/transport/cast_transport.gyp:cast_transport',
[email protected]37794d02011-11-30 18:24:2949 '<(DEPTH)/net/net.gyp:net',
[email protected]37794d02011-11-30 18:24:2950 '<(DEPTH)/skia/skia.gyp:skia',
[email protected]37794d02011-11-30 18:24:2951 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
52 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
53 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
54 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite',
[email protected]720ceda2013-08-22 19:14:3755 '<(DEPTH)/third_party/zlib/google/zip.gyp:zip',
[email protected]1c0c3f42013-11-20 02:03:2856 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
[email protected]002cc08f2013-06-03 05:40:2957 '<(DEPTH)/url/url.gyp:url_lib',
[email protected]dd363682009-12-28 20:30:4658 ],
59 'sources': [
[email protected]4bbdf9e2013-05-31 02:09:3860 '../apps/app_shim/app_shim_launch.h',
[email protected]acd2121c2013-03-18 05:54:5061 '../apps/app_shim/app_shim_messages.h',
[email protected]4a6d74152011-09-26 20:42:3062 'common/all_messages.h',
[email protected]93156cec2011-09-12 21:14:4463 'common/attrition_experiments.h',
64 'common/auto_start_linux.cc',
65 'common/auto_start_linux.h',
[email protected]b7f64d742013-05-21 04:04:0466 'common/autocomplete_match_type.cc',
67 'common/autocomplete_match_type.h',
[email protected]cdb8bc282010-11-22 19:23:0668 'common/badge_util.cc',
69 'common/badge_util.h',
[email protected]93156cec2011-09-12 21:14:4470 'common/child_process_logging.h',
[email protected]93156cec2011-09-12 21:14:4471 'common/child_process_logging_win.cc',
[email protected]50e52cd2011-03-10 00:57:2972 'common/chrome_content_client.cc',
73 'common/chrome_content_client.h',
[email protected]18e78c582013-05-22 22:40:5574 'common/chrome_content_client_constants.cc',
[email protected]b7d1efa62012-11-16 11:22:0275 'common/chrome_content_client_ios.mm',
[email protected]c530c852011-10-24 18:18:3476 'common/chrome_result_codes.h',
[email protected]19a5c7442011-10-21 20:00:4177 'common/chrome_utility_messages.h',
[email protected]93156cec2011-09-12 21:14:4478 'common/chrome_version_info.cc',
[email protected]281288d2012-11-09 03:03:2379 'common/chrome_version_info_android.cc',
[email protected]3a12f882011-12-14 06:39:2580 'common/chrome_version_info_chromeos.cc',
[email protected]1f26b9a2012-02-28 00:29:3881 'common/chrome_version_info_posix.cc',
[email protected]93156cec2011-09-12 21:14:4482 'common/chrome_version_info_mac.mm',
83 'common/chrome_version_info_win.cc',
84 'common/chrome_version_info.h',
[email protected]13aec6c42011-10-27 21:22:0885 'common/cloud_print/cloud_print_class_mac.h',
86 'common/cloud_print/cloud_print_class_mac.mm',
[email protected]3eadbf22012-12-03 08:34:4687 'common/cloud_print/cloud_print_constants.cc',
88 'common/cloud_print/cloud_print_constants.h',
[email protected]b106ca52012-03-13 06:08:4689 'common/cloud_print/cloud_print_helpers.cc',
90 'common/cloud_print/cloud_print_helpers.h',
[email protected]de119cf22011-05-11 20:41:3591 'common/cloud_print/cloud_print_proxy_info.cc',
92 'common/cloud_print/cloud_print_proxy_info.h',
[email protected]fffaf972011-03-24 01:34:3593 'common/common_message_generator.cc',
94 'common/common_message_generator.h',
[email protected]79d68c62011-04-15 21:07:0395 'common/common_param_traits.cc',
96 'common/common_param_traits.h',
[email protected]af049dd2012-06-26 01:01:4297 'common/common_param_traits_macros.h',
[email protected]3c71576ce2013-07-23 02:00:0198 'common/content_restriction.h',
[email protected]93156cec2011-09-12 21:14:4499 'common/content_settings.cc',
100 'common/content_settings.h',
101 'common/content_settings_helper.cc',
102 'common/content_settings_helper.h',
[email protected]1d03fa32011-09-21 08:19:27103 'common/content_settings_pattern.cc',
104 'common/content_settings_pattern.h',
105 'common/content_settings_pattern_parser.cc',
106 'common/content_settings_pattern_parser.h',
[email protected]93156cec2011-09-12 21:14:44107 'common/content_settings_types.h',
[email protected]50cdead2013-01-03 18:36:33108 'common/crash_keys.cc',
109 'common/crash_keys.h',
[email protected]083917c82011-07-13 00:34:35110 'common/custom_handlers/protocol_handler.cc',
111 'common/custom_handlers/protocol_handler.h',
[email protected]29699c22012-10-03 23:57:39112 'common/descriptors_android.h',
[email protected]2b12c322013-09-19 06:53:56113 'common/encrypted_media_messages_android.h',
[email protected]fd46e7a2014-04-16 17:59:47114 'common/extensions/ad_injection_constants.cc',
115 'common/extensions/ad_injection_constants.h',
[email protected]c0c64f82014-02-12 01:40:16116 'common/extensions/api/bluetooth/bluetooth_manifest_data.cc',
117 'common/extensions/api/bluetooth/bluetooth_manifest_data.h',
118 'common/extensions/api/bluetooth/bluetooth_manifest_handler.cc',
119 'common/extensions/api/bluetooth/bluetooth_manifest_handler.h',
120 'common/extensions/api/bluetooth/bluetooth_manifest_permission.cc',
121 'common/extensions/api/bluetooth/bluetooth_manifest_permission.h',
[email protected]b76c288a2013-01-24 02:30:34122 'common/extensions/api/commands/commands_handler.cc',
123 'common/extensions/api/commands/commands_handler.h',
[email protected]23b3c0a2013-01-16 23:36:36124 'common/extensions/api/extension_action/action_info.cc',
125 'common/extensions/api/extension_action/action_info.h',
[email protected]f9655482013-02-13 09:22:51126 'common/extensions/api/extension_action/browser_action_handler.cc',
127 'common/extensions/api/extension_action/browser_action_handler.h',
128 'common/extensions/api/extension_action/page_action_handler.cc',
129 'common/extensions/api/extension_action/page_action_handler.h',
[email protected]a31c3982013-07-13 04:33:31130 'common/extensions/api/file_browser_handlers/file_browser_handler.cc',
131 'common/extensions/api/file_browser_handlers/file_browser_handler.h',
[email protected]06492ed2013-03-24 22:13:14132 'common/extensions/api/file_handlers/file_handlers_parser.cc',
133 'common/extensions/api/file_handlers/file_handlers_parser.h',
[email protected]0273969d2013-01-30 22:16:31134 'common/extensions/api/i18n/default_locale_handler.cc',
135 'common/extensions/api/i18n/default_locale_handler.h',
[email protected]29e0c4e72013-02-01 04:42:56136 'common/extensions/api/identity/oauth2_manifest_handler.cc',
137 'common/extensions/api/identity/oauth2_manifest_handler.h',
[email protected]4af65592013-01-04 21:06:19138 'common/extensions/api/input_ime/input_components_handler.cc',
139 'common/extensions/api/input_ime/input_components_handler.h',
[email protected]09a8631eb2013-03-27 22:52:44140 'common/extensions/api/managed_mode_private/managed_mode_handler.cc',
141 'common/extensions/api/managed_mode_private/managed_mode_handler.h',
[email protected]a31c3982013-07-13 04:33:31142 'common/extensions/api/media_galleries_private/media_galleries_handler.h',
143 'common/extensions/api/media_galleries_private/media_galleries_handler.cc',
[email protected]d356c982012-12-12 19:32:55144 'common/extensions/api/omnibox/omnibox_handler.cc',
145 'common/extensions/api/omnibox/omnibox_handler.h',
[email protected]098fa7a2013-03-08 22:11:17146 'common/extensions/api/plugins/plugins_handler.cc',
147 'common/extensions/api/plugins/plugins_handler.h',
[email protected]692a8062013-01-10 04:14:42148 'common/extensions/api/speech/tts_engine_manifest_handler.cc',
149 'common/extensions/api/speech/tts_engine_manifest_handler.h',
[email protected]76628452013-04-26 04:39:32150 'common/extensions/api/spellcheck/spellcheck_handler.cc',
151 'common/extensions/api/spellcheck/spellcheck_handler.h',
[email protected]a31c3982013-07-13 04:33:31152 'common/extensions/api/storage/storage_schema_manifest_handler.cc',
153 'common/extensions/api/storage/storage_schema_manifest_handler.h',
[email protected]4e786932013-03-25 19:21:04154 'common/extensions/api/system_indicator/system_indicator_handler.cc',
155 'common/extensions/api/system_indicator/system_indicator_handler.h',
[email protected]43197ea22013-09-10 15:31:56156 'common/extensions/api/url_handlers/url_handlers_parser.cc',
157 'common/extensions/api/url_handlers/url_handlers_parser.h',
[email protected]c80fe5f2014-03-26 04:36:30158 'common/extensions/api/webstore/webstore_api_constants.cc',
159 'common/extensions/api/webstore/webstore_api_constants.h',
[email protected]fb820c02014-03-13 15:07:08160 'common/extensions/chrome_extension_messages.h',
[email protected]ad8b4ba2013-08-09 19:52:44161 'common/extensions/chrome_extensions_client.cc',
162 'common/extensions/chrome_extensions_client.h',
[email protected]d592b1bd2013-05-06 06:40:47163 'common/extensions/chrome_manifest_handlers.cc',
164 'common/extensions/chrome_manifest_handlers.h',
[email protected]65907942012-05-22 19:59:47165 'common/extensions/command.cc',
166 'common/extensions/command.h',
[email protected]d15e8a02013-05-30 03:24:26167 'common/extensions/dom_action_types.h',
[email protected]dd363682009-12-28 20:30:46168 'common/extensions/extension_constants.cc',
169 'common/extensions/extension_constants.h',
[email protected]7c927b62010-02-24 09:54:13170 'common/extensions/extension_file_util.cc',
171 'common/extensions/extension_file_util.h',
[email protected]808d1512011-12-14 16:29:59172 'common/extensions/extension_process_policy.cc',
173 'common/extensions/extension_process_policy.h',
[email protected]3e29cff2014-04-02 22:42:25174 'common/extensions/features/chrome_channel_feature_filter.cc',
175 'common/extensions/features/chrome_channel_feature_filter.h',
[email protected]15d4d2d2013-08-09 06:49:03176 'common/extensions/features/feature_channel.cc',
177 'common/extensions/features/feature_channel.h',
[email protected]e6be3fe2014-04-11 13:17:51178 'common/extensions/file_handler_info.cc',
179 'common/extensions/file_handler_info.h',
[email protected]561e33d52013-04-03 06:58:43180 'common/extensions/manifest_handlers/app_isolation_info.cc',
181 'common/extensions/manifest_handlers/app_isolation_info.h',
[email protected]6b414c232013-06-05 07:53:34182 'common/extensions/manifest_handlers/app_launch_info.cc',
183 'common/extensions/manifest_handlers/app_launch_info.h',
[email protected]334ec0a2013-03-24 01:36:16184 'common/extensions/manifest_handlers/content_scripts_handler.cc',
185 'common/extensions/manifest_handlers/content_scripts_handler.h',
[email protected]5c259802013-04-24 09:27:05186 'common/extensions/manifest_handlers/externally_connectable.cc',
187 'common/extensions/manifest_handlers/externally_connectable.h',
[email protected]28707cdc2013-07-18 21:38:08188 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
189 'common/extensions/manifest_handlers/minimum_chrome_version_checker.h',
[email protected]31622542013-05-30 19:42:30190 'common/extensions/manifest_handlers/nacl_modules_handler.cc',
191 'common/extensions/manifest_handlers/nacl_modules_handler.h',
[email protected]ebdea8e2013-10-23 14:29:58192 'common/extensions/manifest_handlers/settings_overrides_handler.cc',
193 'common/extensions/manifest_handlers/settings_overrides_handler.h',
[email protected]72b49d42013-04-19 12:47:31194 'common/extensions/manifest_handlers/theme_handler.cc',
195 'common/extensions/manifest_handlers/theme_handler.h',
[email protected]e59d5712014-03-10 17:29:13196 'common/extensions/manifest_handlers/ui_overrides_handler.cc',
197 'common/extensions/manifest_handlers/ui_overrides_handler.h',
[email protected]a405f6d2013-01-11 11:50:13198 'common/extensions/manifest_url_handler.cc',
199 'common/extensions/manifest_url_handler.h',
[email protected]92549352013-03-12 07:55:57200 'common/extensions/mime_types_handler.cc',
201 'common/extensions/mime_types_handler.h',
[email protected]e676f8f2013-04-04 09:04:37202 'common/extensions/permissions/chrome_api_permissions.cc',
203 'common/extensions/permissions/chrome_api_permissions.h',
[email protected]c41003472013-10-19 15:37:25204 'common/extensions/permissions/chrome_permission_message_provider.cc',
205 'common/extensions/permissions/chrome_permission_message_provider.h',
[email protected]8f3bcbd2013-06-05 08:42:40206 'common/extensions/sync_helper.cc',
207 'common/extensions/sync_helper.h',
[email protected]dd363682009-12-28 20:30:46208 'common/extensions/update_manifest.cc',
209 'common/extensions/update_manifest.h',
[email protected]78dfe382013-07-17 18:05:42210 'common/favicon/favicon_url_parser.cc',
211 'common/favicon/favicon_url_parser.h',
[email protected]6ae45eb2012-11-29 23:27:28212 'common/icon_with_badge_image_source.cc',
213 'common/icon_with_badge_image_source.h',
[email protected]946b4ee02013-07-16 21:57:52214 'common/importer/firefox_importer_utils.cc',
215 'common/importer/firefox_importer_utils.h',
216 'common/importer/firefox_importer_utils_linux.cc',
217 'common/importer/firefox_importer_utils_mac.mm',
218 'common/importer/firefox_importer_utils_win.cc',
219 'common/importer/ie_importer_test_registry_overrider_win.cc',
220 'common/importer/ie_importer_test_registry_overrider_win.h',
221 'common/importer/ie_importer_utils_win.cc',
222 'common/importer/ie_importer_utils_win.h',
[email protected]b7fa4992013-07-03 00:32:13223 'common/importer/imported_bookmark_entry.cc',
224 'common/importer/imported_bookmark_entry.h',
225 'common/importer/imported_favicon_usage.cc',
226 'common/importer/imported_favicon_usage.h',
[email protected]946b4ee02013-07-16 21:57:52227 'common/importer/importer_bridge.cc',
228 'common/importer/importer_bridge.h',
[email protected]b7fa4992013-07-03 00:32:13229 'common/importer/importer_data_types.cc',
230 'common/importer/importer_data_types.h',
231 'common/importer/importer_type.h',
[email protected]3eb29c1c2013-06-29 00:07:14232 'common/importer/importer_url_row.cc',
233 'common/importer/importer_url_row.h',
[email protected]b7fa4992013-07-03 00:32:13234 'common/importer/profile_import_process_messages.cc',
235 'common/importer/profile_import_process_messages.h',
[email protected]b5be8662013-07-17 00:20:43236 'common/importer/safari_importer_utils.h',
237 'common/importer/safari_importer_utils.mm',
[email protected]8b169b4b2013-03-23 18:24:46238 'common/instant_restricted_id_cache.h',
[email protected]0e7cb682012-08-15 04:04:38239 'common/instant_types.cc',
[email protected]93156cec2011-09-12 21:14:44240 'common/instant_types.h',
[email protected]499512b2012-08-08 19:27:49241 'common/localized_error.cc',
242 'common/localized_error.h',
[email protected]909ee8b2013-09-22 00:53:00243 'common/local_discovery/service_discovery_client.cc',
244 'common/local_discovery/service_discovery_client.h',
[email protected]93156cec2011-09-12 21:14:44245 'common/logging_chrome.cc',
246 'common/logging_chrome.h',
[email protected]46821242011-08-19 13:59:59247 'common/mac/app_mode_common.h',
248 'common/mac/app_mode_common.mm',
[email protected]00ecec52011-08-19 20:01:24249 'common/mac/cfbundle_blocker.h',
250 'common/mac/cfbundle_blocker.mm',
[email protected]46821242011-08-19 13:59:59251 'common/mac/launchd.h',
252 'common/mac/launchd.mm',
[email protected]d02437b2011-09-06 17:25:15253 'common/mac/objc_method_swizzle.h',
254 'common/mac/objc_method_swizzle.mm',
255 'common/mac/objc_zombie.h',
256 'common/mac/objc_zombie.mm',
[email protected]6ef98b5a2013-05-31 23:58:31257 'common/media/webrtc_logging_messages.h',
[email protected]d16b2e02014-04-03 17:53:01258 'common/media/webrtc_logging_message_data.cc',
259 'common/media/webrtc_logging_message_data.h',
[email protected]c277e2b2013-08-02 15:41:08260 'common/metrics/caching_permuted_entropy_provider.cc',
261 'common/metrics/caching_permuted_entropy_provider.h',
[email protected]e182be02012-01-27 02:35:44262 'common/metrics/metrics_log_base.cc',
263 'common/metrics/metrics_log_base.h',
[email protected]2e4cd1a2012-01-12 08:51:03264 'common/metrics/metrics_log_manager.cc',
265 'common/metrics/metrics_log_manager.h',
[email protected]e182be02012-01-27 02:35:44266 'common/metrics/metrics_service_base.cc',
267 'common/metrics/metrics_service_base.h',
[email protected]d383ffc2013-12-06 15:27:28268 'common/metrics/variations/experiment_labels.cc',
269 'common/metrics/variations/experiment_labels.h',
[email protected]e90c7562013-02-27 20:22:18270 'common/metrics/variations/uniformity_field_trials.cc',
271 'common/metrics/variations/uniformity_field_trials.h',
[email protected]cf265dc02012-08-15 01:01:16272 'common/metrics/variations/variations_util.cc',
273 'common/metrics/variations/variations_util.h',
[email protected]93156cec2011-09-12 21:14:44274 'common/multi_process_lock.h',
275 'common/multi_process_lock_linux.cc',
276 'common/multi_process_lock_mac.cc',
277 'common/multi_process_lock_win.cc',
[email protected]ca98bd32013-04-09 05:16:05278 'common/omnibox_focus_state.h',
[email protected]6ef98b5a2013-05-31 23:58:31279 'common/partial_circular_buffer.cc',
280 'common/partial_circular_buffer.h',
[email protected]9b4f6082012-04-24 01:43:07281 'common/pepper_flash.cc',
282 'common/pepper_flash.h',
[email protected]9d450492013-06-13 23:08:37283 'common/pepper_permission_util.cc',
284 'common/pepper_permission_util.h',
[email protected]be85e7d2012-10-31 08:34:20285 'common/pref_names_util.cc',
286 'common/pref_names_util.h',
[email protected]1ee57dd72014-02-11 23:58:40287 'common/prerender_types.h',
[email protected]b4bd67a2011-08-22 19:04:09288 'common/print_messages.cc',
[email protected]1375e3ab2011-03-24 17:07:22289 'common/print_messages.h',
[email protected]93156cec2011-09-12 21:14:44290 'common/profiling.cc',
291 'common/profiling.h',
[email protected]93156cec2011-09-12 21:14:44292 'common/ref_counted_util.h',
[email protected]7a4de7a62010-08-17 18:38:24293 'common/render_messages.cc',
[email protected]dd363682009-12-28 20:30:46294 'common/render_messages.h',
[email protected]f6fd9042013-02-14 18:43:58295 'common/safe_browsing/download_protection_util.cc',
296 'common/safe_browsing/download_protection_util.h',
[email protected]93156cec2011-09-12 21:14:44297 'common/safe_browsing/safebrowsing_messages.h',
[email protected]f6fd9042013-02-14 18:43:58298 'common/safe_browsing/zip_analyzer.cc',
299 'common/safe_browsing/zip_analyzer.h',
[email protected]c08e7932011-03-29 04:08:14300 'common/search_provider.h',
[email protected]c3917742012-11-21 01:51:14301 'common/search_types.h',
[email protected]2309e912013-10-01 01:33:30302 'common/search_urls.cc',
303 'common/search_urls.h',
[email protected]38fe1962010-07-31 07:57:00304 'common/service_messages.h',
[email protected]7a4de7a62010-08-17 18:38:24305 'common/service_process_util.cc',
306 'common/service_process_util.h',
[email protected]56f0f262011-02-24 17:14:36307 'common/service_process_util_linux.cc',
308 'common/service_process_util_mac.mm',
[email protected]146354942010-10-13 20:27:04309 'common/service_process_util_posix.cc',
[email protected]56f0f262011-02-24 17:14:36310 'common/service_process_util_posix.h',
[email protected]146354942010-10-13 20:27:04311 'common/service_process_util_win.cc',
[email protected]dd363682009-12-28 20:30:46312 'common/spellcheck_common.cc',
313 'common/spellcheck_common.h',
[email protected]f6add48e2013-05-14 00:58:07314 'common/spellcheck_marker.h',
[email protected]3e267192011-03-25 01:55:45315 'common/spellcheck_messages.h',
[email protected]7ed49c22012-02-17 02:14:53316 'common/spellcheck_result.h',
[email protected]93156cec2011-09-12 21:14:44317 'common/switch_utils.cc',
318 'common/switch_utils.h',
[email protected]dd363682009-12-28 20:30:46319 'common/thumbnail_score.cc',
320 'common/thumbnail_score.h',
[email protected]7a06d282013-05-03 04:39:33321 'common/tts_messages.h',
322 'common/tts_utterance_request.cc',
323 'common/tts_utterance_request.h',
[email protected]dd363682009-12-28 20:30:46324 'common/url_constants.cc',
325 'common/url_constants.h',
[email protected]93f50462013-05-10 04:40:40326 'common/web_application_info.cc',
327 'common/web_application_info.h',
[email protected]dd363682009-12-28 20:30:46328 'common/worker_thread_ticker.cc',
329 'common/worker_thread_ticker.h',
[email protected]dd363682009-12-28 20:30:46330 ],
331 'conditions': [
[email protected]989ae862013-03-13 04:22:58332 ['enable_extensions==1', {
[email protected]989ae862013-03-13 04:22:58333 'dependencies': [
[email protected]1ff64292013-07-18 20:37:15334 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
[email protected]e3a9ccfc2013-06-03 00:22:30335 '../device/usb/usb.gyp:device_usb',
[email protected]989ae862013-03-13 04:22:58336 ],
337 }, { # enable_extensions == 0
338 'sources/': [
339 ['exclude', '^common/extensions/api/'],
[email protected]989ae862013-03-13 04:22:58340 ['include', 'common/extensions/api/extension_action/action_info.cc'],
341 ['include', 'common/extensions/api/extension_action/action_info.h'],
[email protected]989ae862013-03-13 04:22:58342 ['include', 'common/extensions/api/i18n/default_locale_handler.cc'],
343 ['include', 'common/extensions/api/i18n/default_locale_handler.h'],
344 ['include', 'common/extensions/api/identity/oauth2_manifest_handler.cc'],
345 ['include', 'common/extensions/api/identity/oauth2_manifest_handler.h'],
[email protected]09a8631eb2013-03-27 22:52:44346 ['include', 'common/extensions/api/managed_mode_private/managed_mode_handler.cc'],
347 ['include', 'common/extensions/api/managed_mode_private/managed_mode_handler.h'],
[email protected]d02e3542013-07-15 12:27:25348 ['include', 'common/extensions/api/plugins/plugins_handler.cc'],
349 ['include', 'common/extensions/api/plugins/plugins_handler.h'],
[email protected]d02e3542013-07-15 12:27:25350 ['include', 'common/extensions/api/storage/storage_schema_manifest_handler.cc'],
351 ['include', 'common/extensions/api/storage/storage_schema_manifest_handler.h'],
[email protected]989ae862013-03-13 04:22:58352 ],
353 }],
[email protected]c51694f2013-06-25 02:50:24354 ['OS=="win" or OS=="mac"', {
355 'sources': [
[email protected]00c82c92014-03-14 21:32:07356 'common/extensions/api/networking_private/networking_private_crypto.cc',
357 'common/extensions/api/networking_private/networking_private_crypto.h',
[email protected]580ce3d62013-07-31 05:28:48358 'common/media_galleries/itunes_library.cc',
359 'common/media_galleries/itunes_library.h',
[email protected]62116d02013-06-26 04:32:00360 'common/media_galleries/picasa_types.cc',
361 'common/media_galleries/picasa_types.h',
362 'common/media_galleries/pmp_constants.h',
[email protected]c51694f2013-06-25 02:50:24363 ],
364 }],
[email protected]19fa62bf2013-10-17 17:55:41365 ['OS=="mac"', {
366 'sources': [
367 'common/media_galleries/iphoto_library.cc',
368 'common/media_galleries/iphoto_library.h',
369 ],
370 }],
[email protected]fdaed545c2012-10-20 19:13:04371 ['OS != "ios"', {
372 'dependencies': [
[email protected]e3a8ebb92014-03-31 01:54:38373 '<(DEPTH)/apps/common/api/api.gyp:apps_api',
[email protected]68cb5652014-03-12 06:41:29374 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
[email protected]d04f81912013-06-18 14:52:13375 '<(DEPTH)/components/components.gyp:autofill_core_common',
[email protected]45b53fb2013-12-12 19:28:06376 '<(DEPTH)/components/components.gyp:autofill_content_common',
[email protected]faaa917f2014-02-05 10:43:28377 '<(DEPTH)/components/components.gyp:password_manager_core_common',
[email protected]63c7f0c2014-03-25 21:12:59378 '<(DEPTH)/components/components.gyp:signin_core_common',
[email protected]381500972014-04-04 05:07:49379 '<(DEPTH)/components/components.gyp:translate_content_common',
[email protected]058fe532013-11-28 06:45:59380 '<(DEPTH)/components/nacl.gyp:nacl_common',
[email protected]54ac11b2013-12-04 19:50:37381 '<(DEPTH)/components/components.gyp:visitedlink_common',
[email protected]5eda6dc2014-03-28 16:12:56382 '<(DEPTH)/extensions/common/api/api.gyp:extensions_api',
[email protected]558878cc82013-11-09 01:25:51383 '<(DEPTH)/extensions/extensions.gyp:extensions_common',
[email protected]fdaed545c2012-10-20 19:13:04384 '<(DEPTH)/ipc/ipc.gyp:ipc',
[email protected]fdaed545c2012-10-20 19:13:04385 '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h',
[email protected]e3a8ebb92014-03-31 01:54:38386 '<(DEPTH)/third_party/re2/re2.gyp:re2',
[email protected]fdaed545c2012-10-20 19:13:04387 '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
[email protected]fdaed545c2012-10-20 19:13:04388 ],
[email protected]5eda6dc2014-03-28 16:12:56389 'export_dependent_settings': [
390 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
391 ],
[email protected]fdaed545c2012-10-20 19:13:04392 }, { # OS == ios
393 'sources/': [
[email protected]fdaed545c2012-10-20 19:13:04394 ['exclude', '^common/child_process_'],
395 ['exclude', '^common/chrome_content_client\\.cc$'],
396 ['exclude', '^common/chrome_version_info_posix\\.cc$'],
397 ['exclude', '^common/common_message_generator\\.cc$'],
398 ['exclude', '^common/common_param_traits'],
399 ['exclude', '^common/custom_handlers/'],
400 ['exclude', '^common/extensions/'],
[email protected]fdaed545c2012-10-20 19:13:04401 ['exclude', '^common/logging_chrome\\.'],
402 ['exclude', '^common/multi_process_'],
403 ['exclude', '^common/nacl_'],
404 ['exclude', '^common/pepper_flash\\.'],
405 ['exclude', '^common/profiling\\.'],
406 ['exclude', '^common/service_process_util_'],
407 ['exclude', '^common/spellcheck_'],
[email protected]1352ca92013-04-30 02:30:27408 ['exclude', '^common/validation_message_'],
[email protected]fdaed545c2012-10-20 19:13:04409 ['exclude', '^common/web_apps\\.'],
410 # TODO(ios): Include files here as they are made to work; once
411 # everything is online, remove everything below here and just
412 # use the exclusions above.
[email protected]b7d1efa62012-11-16 11:22:02413 ['exclude', '\\.(cc|mm)$'],
414 ['include', '_ios\\.(cc|mm)$'],
415 ['include', '(^|/)ios/'],
416 ['include', '^common/chrome_version_info\\.cc$'],
[email protected]d7575c22013-07-11 13:54:22417 ['include', '^common/translate'],
[email protected]b7d1efa62012-11-16 11:22:02418 ['include', '^common/zip'],
[email protected]fdaed545c2012-10-20 19:13:04419 ],
[email protected]271e88fc2013-05-06 07:48:05420 'include_dirs': [
421 '<(DEPTH)/breakpad/src',
422 ],
[email protected]fdaed545c2012-10-20 19:13:04423 }],
[email protected]f757c1a2013-11-07 09:02:36424 ['enable_printing!=0', {
425 'dependencies': [
426 '<(DEPTH)/printing/printing.gyp:printing',
427 ],
428 }],
[email protected]9f6167c2012-03-16 02:28:17429 ['OS=="android"', {
430 'sources/': [
[email protected]281288d2012-11-09 03:03:23431 ['exclude', '^common/chrome_version_info_posix.cc'],
[email protected]b279e76aec2014-02-20 17:17:37432 ['exclude', '^common/importer/'],
433 ['include', '^common/importer/imported_favicon_usage.cc$'],
434 ['include', '^common/importer/imported_favicon_usage.h$'],
[email protected]9f6167c2012-03-16 02:28:17435 ['exclude', '^common/service_'],
436 ],
[email protected]81bdab22013-09-02 21:12:52437 'sources!': [
438 'common/badge_util.cc',
439 'common/extensions/api/extension_action/browser_action_handler.cc',
440 'common/extensions/api/extension_action/page_action_handler.cc',
441 'common/extensions/api/spellcheck/spellcheck_handler.cc',
442 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
443 'common/extensions/manifest_handlers/nacl_modules_handler.cc',
444 'common/icon_with_badge_image_source.cc',
[email protected]81bdab22013-09-02 21:12:52445 'common/net/url_util.cc',
[email protected]81bdab22013-09-02 21:12:52446 'common/spellcheck_common.cc',
447 ],
[email protected]9f6167c2012-03-16 02:28:17448 }],
[email protected]93156cec2011-09-12 21:14:44449 ['OS=="win"', {
450 'include_dirs': [
[email protected]27b38d62013-08-14 18:12:11451 '<(DEPTH)/breakpad/src',
[email protected]93156cec2011-09-12 21:14:44452 '<(DEPTH)/third_party/wtl/include',
[email protected]f65fdfc2013-03-05 21:56:04453 ],
[email protected]ef777a42011-11-25 13:15:43454 }],
[email protected]c1cc0e02013-07-04 12:46:35455 ['enable_mdns == 1', {
456 'sources': [
[email protected]686e985e2013-07-18 22:04:56457 'common/local_discovery/local_discovery_messages.h',
[email protected]c1cc0e02013-07-04 12:46:35458 ]
459 }],
[email protected]89886fa32012-10-08 23:46:33460 ['chromeos==1', {
[email protected]3a12f882011-12-14 06:39:25461 'sources!': [
462 'common/chrome_version_info_linux.cc',
463 ],
464 }],
[email protected]b9bbf5532011-11-03 07:35:22465 ['OS=="mac"', {
466 'dependencies': [
[email protected]a023dca2013-12-18 03:58:36467 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
[email protected]b9bbf5532011-11-03 07:35:22468 '../third_party/mach_override/mach_override.gyp:mach_override',
469 ],
470 'include_dirs': [
[email protected]271e88fc2013-05-06 07:48:05471 '<(DEPTH)/breakpad/src',
[email protected]b9bbf5532011-11-03 07:35:22472 ],
[email protected]1f26b9a2012-02-28 00:29:38473 'sources!': [
474 'common/child_process_logging_posix.cc',
475 'common/chrome_version_info_posix.cc',
476 ],
[email protected]b9bbf5532011-11-03 07:35:22477 }],
478 ['remoting==1', {
479 'dependencies': [
480 '../remoting/remoting.gyp:remoting_client_plugin',
481 ],
482 }],
[email protected]e3d193772013-09-11 15:18:26483 ['enable_plugins==0', {
484 'source!' : [
485 'common/pepper_permission_util.cc',
486 ],
487 }],
[email protected]6ef98b5a2013-05-31 23:58:31488 ['enable_webrtc==0', {
489 'sources!': [
490 'common/media/webrtc_logging_messages.h',
491 ]
492 }],
[email protected]1e54c1c2013-08-12 17:16:05493 ['enable_printing==0', {
494 'sources!': [
495 'common/print_messages.cc',
496 'common/print_messages.h',
497 ]
498 }],
[email protected]991573e2013-12-16 13:49:20499 ['configuration_policy==1', {
500 'dependencies': [
501 '<(DEPTH)/components/components.gyp:policy',
502 ],
503 }],
[email protected]b9bbf5532011-11-03 07:35:22504 ],
[email protected]fdaed545c2012-10-20 19:13:04505 'target_conditions': [
506 ['OS == "ios"', {
507 'sources/': [
508 # Pull in specific Mac files for iOS (which have been filtered out
509 # by file name rules).
510 ['include', '^common/chrome_version_info_mac\\.mm$'],
511 ],
512 }],
513 ],
[email protected]b9bbf5532011-11-03 07:35:22514 'export_dependent_settings': [
515 '../base/base.gyp:base',
[email protected]8a59a082012-03-07 02:27:30516 'metrics_proto',
[email protected]b9bbf5532011-11-03 07:35:22517 ],
518 },
519 {
520 'target_name': 'common_version',
521 'type': 'none',
522 'conditions': [
[email protected]fdaed545c2012-10-20 19:13:04523 ['os_posix == 1 and OS != "mac" and OS != "ios"', {
[email protected]b9bbf5532011-11-03 07:35:22524 'direct_dependent_settings': {
525 'include_dirs': [
526 '<(SHARED_INTERMEDIATE_DIR)',
527 ],
528 },
[email protected]79440c52010-08-27 22:53:02529 # Because posix_version generates a header, we must set the
530 # hard_dependency flag.
531 'hard_dependency': 1,
[email protected]4641d3c2010-08-26 21:44:13532 'actions': [
533 {
534 'action_name': 'posix_version',
535 'variables': {
[email protected]bcd84532014-02-21 03:14:02536 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE',
537 'version_py_path': '<(DEPTH)/build/util/version.py',
[email protected]4641d3c2010-08-26 21:44:13538 'version_path': 'VERSION',
539 'template_input_path': 'common/chrome_version_info_posix.h.version',
540 },
541 'conditions': [
542 [ 'branding == "Chrome"', {
543 'variables': {
544 'branding_path':
545 'app/theme/google_chrome/BRANDING',
546 },
547 }, { # else branding!="Chrome"
548 'variables': {
549 'branding_path':
550 'app/theme/chromium/BRANDING',
551 },
552 }],
553 ],
554 'inputs': [
555 '<(template_input_path)',
556 '<(version_path)',
557 '<(branding_path)',
558 '<(lastchange_path)',
559 ],
560 'outputs': [
561 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_posix.h',
562 ],
563 'action': [
564 'python',
565 '<(version_py_path)',
566 '-f', '<(version_path)',
567 '-f', '<(branding_path)',
568 '-f', '<(lastchange_path)',
569 '<(template_input_path)',
570 '<@(_outputs)',
571 ],
572 'message': 'Generating version information',
573 },
574 ],
575 }],
[email protected]dd363682009-12-28 20:30:46576 ],
577 },
[email protected]3c3065d2010-05-06 21:59:55578 {
579 'target_name': 'common_net',
[email protected]5a547332011-05-19 23:18:53580 'type': 'static_library',
[email protected]3c3065d2010-05-06 21:59:55581 'sources': [
[email protected]2ea1efe2013-07-17 05:23:13582 'common/net/net_error_info.cc',
583 'common/net/net_error_info.h',
[email protected]06305962012-05-09 22:34:36584 'common/net/net_resource_provider.cc',
585 'common/net/net_resource_provider.h',
586 'common/net/predictor_common.h',
[email protected]4f3b4462013-07-27 19:20:18587 'common/net/url_fixer_upper.cc',
588 'common/net/url_fixer_upper.h',
[email protected]06305962012-05-09 22:34:36589 'common/net/url_util.cc',
590 'common/net/url_util.h',
[email protected]b1c2a5542010-10-08 12:44:40591 'common/net/x509_certificate_model.cc',
592 'common/net/x509_certificate_model_nss.cc',
593 'common/net/x509_certificate_model_openssl.cc',
594 'common/net/x509_certificate_model.h',
[email protected]3c3065d2010-05-06 21:59:55595 ],
596 'dependencies': [
[email protected]37794d02011-11-30 18:24:29597 '<(DEPTH)/base/base.gyp:base',
598 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
599 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
600 '<(DEPTH)/crypto/crypto.gyp:crypto',
[email protected]37794d02011-11-30 18:24:29601 '<(DEPTH)/net/net.gyp:net_resources',
602 '<(DEPTH)/net/net.gyp:net',
603 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
604 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
[email protected]3c3065d2010-05-06 21:59:55605 ],
[email protected]b1c2a5542010-10-08 12:44:40606 'conditions': [
[email protected]fdaed545c2012-10-20 19:13:04607 ['OS != "ios"', {
608 'dependencies': [
609 '<(DEPTH)/gpu/gpu.gyp:gpu_ipc',
610 ],
611 }, { # OS == ios
612 'sources!': [
613 'common/net/net_resource_provider.cc',
614 'common/net/x509_certificate_model.cc',
615 ],
616 }],
617 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
[email protected]638e9df42011-05-31 17:19:30618 'dependencies': [
619 '../build/linux/system.gyp:ssl',
[email protected]b1c2a5542010-10-08 12:44:40620 ],
621 },
[email protected]af221ff2012-04-03 05:22:39622 ],
[email protected]fdaed545c2012-10-20 19:13:04623 ['os_posix != 1 or OS == "mac" or OS == "ios"', {
[email protected]b1c2a5542010-10-08 12:44:40624 'sources!': [
625 'common/net/x509_certificate_model_nss.cc',
626 'common/net/x509_certificate_model_openssl.cc',
627 ],
628 },
629 ],
[email protected]af221ff2012-04-03 05:22:39630 ['OS == "android"', {
631 'dependencies': [
[email protected]8e853b142012-05-16 07:40:01632 '../third_party/openssl/openssl.gyp:openssl',
[email protected]af221ff2012-04-03 05:22:39633 ],
[email protected]df2e196e2014-02-05 19:56:25634 'sources!': [
635 'common/net/x509_certificate_model.cc',
636 ],
637 }],
[email protected]b1c2a5542010-10-08 12:44:40638 ['use_openssl==1', {
639 'sources!': [
[email protected]00c82c92014-03-14 21:32:07640 # networking_private_crypto.cc uses NSS functions.
641 'common/extensions/api/networking_private/networking_private_crypto.cc',
[email protected]b1c2a5542010-10-08 12:44:40642 'common/net/x509_certificate_model_nss.cc',
643 ],
644 },
645 { # else !use_openssl: remove the unneeded files
646 'sources!': [
647 'common/net/x509_certificate_model_openssl.cc',
648 ],
649 },
650 ],
[email protected]b1d2c742013-01-21 18:04:52651 ['OS=="win"', {
652 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
653 'msvs_disabled_warnings': [4267, ],
654 },
655 ],
[email protected]129d11452012-03-01 01:56:56656 ],
[email protected]3c3065d2010-05-06 21:59:55657 },
[email protected]133139772011-04-14 22:14:13658 {
[email protected]1c20dd62011-08-19 21:54:33659 # Protobuf compiler / generator for the safebrowsing client
660 # model proto and the client-side detection (csd) request
661 # protocol buffer.
[email protected]cae64fe2011-06-17 17:54:50662 'target_name': 'safe_browsing_proto',
[email protected]1c20dd62011-08-19 21:54:33663 'type': 'static_library',
664 'sources': [
665 'common/safe_browsing/client_model.proto',
[email protected]8e289f0b2013-12-17 17:49:07666 'common/safe_browsing/crx_info.proto',
[email protected]1c20dd62011-08-19 21:54:33667 'common/safe_browsing/csd.proto'
[email protected]cae64fe2011-06-17 17:54:50668 ],
[email protected]1c20dd62011-08-19 21:54:33669 'variables': {
670 'proto_in_dir': 'common/safe_browsing',
671 'proto_out_dir': 'chrome/common/safe_browsing',
[email protected]cae64fe2011-06-17 17:54:50672 },
[email protected]1c20dd62011-08-19 21:54:33673 'includes': [ '../build/protoc.gypi' ],
[email protected]133139772011-04-14 22:14:13674 },
[email protected]7ae45d0502012-01-31 00:29:26675 {
676 # Protobuf compiler / generator for UMA (User Metrics Analysis).
677 'target_name': 'metrics_proto',
678 'type': 'static_library',
679 'sources': [
[email protected]f89fdab12012-05-04 23:27:21680 'common/metrics/proto/chrome_experiments.proto',
[email protected]7ae45d0502012-01-31 00:29:26681 'common/metrics/proto/chrome_user_metrics_extension.proto',
682 'common/metrics/proto/histogram_event.proto',
683 'common/metrics/proto/omnibox_event.proto',
[email protected]f65859e2013-02-04 20:00:25684 'common/metrics/proto/perf_data.proto',
[email protected]9d7c4a82013-05-07 12:10:49685 'common/metrics/proto/permuted_entropy_cache.proto',
[email protected]2a08b1d2012-02-18 00:30:04686 'common/metrics/proto/profiler_event.proto',
[email protected]7ae45d0502012-01-31 00:29:26687 'common/metrics/proto/system_profile.proto',
688 'common/metrics/proto/user_action_event.proto',
689 ],
690 'variables': {
691 'proto_in_dir': 'common/metrics/proto',
692 'proto_out_dir': 'chrome/common/metrics/proto',
693 },
694 'includes': [ '../build/protoc.gypi' ],
695 },
[email protected]dd363682009-12-28 20:30:46696 ],
[email protected]dd363682009-12-28 20:30:46697}