blob: 08a494e30dd6bd14d545da07d4fb34fefab04deb [file] [log] [blame]
[email protected]3a80ea332012-01-09 19:53:291# Copyright (c) 2012 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]7ae45d0502012-01-31 00:29:2629 'metrics_proto',
[email protected]37794d02011-11-30 18:24:2930 '<(DEPTH)/base/base.gyp:base',
31 '<(DEPTH)/base/base.gyp:base_i18n',
[email protected]f59f33e2012-11-01 12:05:2732 '<(DEPTH)/base/base.gyp:base_prefs',
[email protected]37794d02011-11-30 18:24:2933 '<(DEPTH)/base/base.gyp:base_static',
34 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl',
[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]1f371fa2013-01-23 00:35:1439 '<(DEPTH)/components/components.gyp:visitedlink_common',
[email protected]37794d02011-11-30 18:24:2940 '<(DEPTH)/content/content.gyp:content_common',
[email protected]37794d02011-11-30 18:24:2941 '<(DEPTH)/net/net.gyp:net',
[email protected]37794d02011-11-30 18:24:2942 '<(DEPTH)/skia/skia.gyp:skia',
43 '<(DEPTH)/third_party/bzip2/bzip2.gyp:bzip2',
44 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
45 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
46 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
[email protected]20f999b52012-08-24 22:32:5947 '<(DEPTH)/third_party/mt19937ar/mt19937ar.gyp:mt19937ar',
[email protected]37794d02011-11-30 18:24:2948 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite',
[email protected]262220e2012-10-18 18:55:0749 '<(DEPTH)/third_party/zlib/zlib.gyp:minizip',
[email protected]37794d02011-11-30 18:24:2950 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib',
51 '<(DEPTH)/ui/ui.gyp:ui_resources',
[email protected]f87d7cb2012-09-10 10:01:0752 '<(DEPTH)/webkit/support/webkit_support.gyp:user_agent',
[email protected]dd363682009-12-28 20:30:4653 ],
54 'sources': [
[email protected]885c0e92012-11-13 20:27:4255 '../extensions/common/constants.cc',
56 '../extensions/common/constants.h',
[email protected]d5cc8692013-02-01 01:51:3657 '../extensions/common/draggable_region.cc',
58 '../extensions/common/draggable_region.h',
[email protected]e9f541a2012-11-19 21:52:3159 '../extensions/common/error_utils.cc',
60 '../extensions/common/error_utils.h',
[email protected]1d5e58b2013-01-31 08:41:4061 '../extensions/common/install_warning.h',
62 '../extensions/common/install_warning.cc',
[email protected]885c0e92012-11-13 20:27:4263 '../extensions/common/url_pattern.cc',
64 '../extensions/common/url_pattern.h',
[email protected]e9f541a2012-11-19 21:52:3165 '../extensions/common/url_pattern_set.cc',
66 '../extensions/common/url_pattern_set.h',
[email protected]4a6d74152011-09-26 20:42:3067 'common/all_messages.h',
[email protected]93156cec2011-09-12 21:14:4468 'common/attrition_experiments.h',
69 'common/auto_start_linux.cc',
70 'common/auto_start_linux.h',
[email protected]d3ae9ed42013-01-14 23:31:0171 'common/autofill/autocheckout_status.h',
[email protected]72a3a522013-01-03 23:41:0772 'common/autofill/web_element_descriptor.cc',
73 'common/autofill/web_element_descriptor.h',
[email protected]93156cec2011-09-12 21:14:4474 'common/autofill_messages.h',
[email protected]cdb8bc282010-11-22 19:23:0675 'common/automation_constants.cc',
76 'common/automation_constants.h',
[email protected]165901feb2012-05-23 15:38:2277 'common/automation_events.cc',
78 'common/automation_events.h',
[email protected]c54ab2332011-12-05 21:05:4279 'common/automation_id.cc',
80 'common/automation_id.h',
[email protected]cdb8bc282010-11-22 19:23:0681 'common/automation_messages.cc',
82 'common/automation_messages.h',
83 'common/automation_messages_internal.h',
84 'common/badge_util.cc',
85 'common/badge_util.h',
[email protected]23bb71f2011-04-21 22:22:1086 'common/bzip2_error_handler.cc',
[email protected]62867b02012-11-03 07:21:0387 'common/cancelable_task_tracker.cc',
88 'common/cancelable_task_tracker.h',
[email protected]93156cec2011-09-12 21:14:4489 'common/child_process_logging.h',
[email protected]93156cec2011-09-12 21:14:4490 'common/child_process_logging_mac.mm',
[email protected]1f26b9a2012-02-28 00:29:3891 'common/child_process_logging_posix.cc',
[email protected]93156cec2011-09-12 21:14:4492 'common/child_process_logging_win.cc',
[email protected]50e52cd2011-03-10 00:57:2993 'common/chrome_content_client.cc',
94 'common/chrome_content_client.h',
[email protected]b7d1efa62012-11-16 11:22:0295 'common/chrome_content_client_ios.mm',
[email protected]93156cec2011-09-12 21:14:4496 'common/chrome_notification_types.h',
[email protected]c530c852011-10-24 18:18:3497 'common/chrome_result_codes.h',
[email protected]dbd825842011-11-25 20:55:2498 'common/chrome_sandbox_type_mac.h',
[email protected]19a5c7442011-10-21 20:00:4199 'common/chrome_utility_messages.h',
[email protected]93156cec2011-09-12 21:14:44100 'common/chrome_version_info.cc',
[email protected]281288d2012-11-09 03:03:23101 'common/chrome_version_info_android.cc',
[email protected]3a12f882011-12-14 06:39:25102 'common/chrome_version_info_chromeos.cc',
[email protected]1f26b9a2012-02-28 00:29:38103 'common/chrome_version_info_posix.cc',
[email protected]93156cec2011-09-12 21:14:44104 'common/chrome_version_info_mac.mm',
105 'common/chrome_version_info_win.cc',
106 'common/chrome_version_info.h',
[email protected]13aec6c42011-10-27 21:22:08107 'common/cloud_print/cloud_print_class_mac.h',
108 'common/cloud_print/cloud_print_class_mac.mm',
[email protected]3eadbf22012-12-03 08:34:46109 'common/cloud_print/cloud_print_constants.cc',
110 'common/cloud_print/cloud_print_constants.h',
[email protected]b106ca52012-03-13 06:08:46111 'common/cloud_print/cloud_print_helpers.cc',
112 'common/cloud_print/cloud_print_helpers.h',
[email protected]de119cf22011-05-11 20:41:35113 'common/cloud_print/cloud_print_proxy_info.cc',
114 'common/cloud_print/cloud_print_proxy_info.h',
[email protected]fffaf972011-03-24 01:34:35115 'common/common_message_generator.cc',
116 'common/common_message_generator.h',
[email protected]79d68c62011-04-15 21:07:03117 'common/common_param_traits.cc',
118 'common/common_param_traits.h',
[email protected]af049dd2012-06-26 01:01:42119 'common/common_param_traits_macros.h',
[email protected]93156cec2011-09-12 21:14:44120 'common/content_settings.cc',
121 'common/content_settings.h',
122 'common/content_settings_helper.cc',
123 'common/content_settings_helper.h',
[email protected]1d03fa32011-09-21 08:19:27124 'common/content_settings_pattern.cc',
125 'common/content_settings_pattern.h',
126 'common/content_settings_pattern_parser.cc',
127 'common/content_settings_pattern_parser.h',
[email protected]93156cec2011-09-12 21:14:44128 'common/content_settings_types.h',
[email protected]50cdead2013-01-03 18:36:33129 'common/crash_keys.cc',
130 'common/crash_keys.h',
[email protected]083917c82011-07-13 00:34:35131 'common/custom_handlers/protocol_handler.cc',
132 'common/custom_handlers/protocol_handler.h',
[email protected]29699c22012-10-03 23:57:39133 'common/descriptors_android.h',
[email protected]fe69aa12013-02-01 03:37:27134 'common/dump_without_crashing.cc',
135 'common/dump_without_crashing.h',
[email protected]b76c288a2013-01-24 02:30:34136 'common/extensions/api/commands/commands_handler.cc',
137 'common/extensions/api/commands/commands_handler.h',
[email protected]972b02f2013-01-28 20:38:14138 'common/extensions/api/extension_action/browser_action_handler.cc',
139 'common/extensions/api/extension_action/browser_action_handler.h',
[email protected]23b3c0a2013-01-16 23:36:36140 'common/extensions/api/extension_action/script_badge_handler.cc',
141 'common/extensions/api/extension_action/script_badge_handler.h',
142 'common/extensions/api/extension_action/action_info.cc',
143 'common/extensions/api/extension_action/action_info.h',
[email protected]d356c982012-12-12 19:32:55144 'common/extensions/api/extension_api.cc',
145 'common/extensions/api/extension_api.h',
146 'common/extensions/api/extension_api_stub.cc',
[email protected]0273969d2013-01-30 22:16:31147 'common/extensions/api/i18n/default_locale_handler.cc',
148 'common/extensions/api/i18n/default_locale_handler.h',
[email protected]29e0c4e72013-02-01 04:42:56149 'common/extensions/api/identity/oauth2_manifest_handler.cc',
150 'common/extensions/api/identity/oauth2_manifest_handler.h',
[email protected]4af65592013-01-04 21:06:19151 'common/extensions/api/input_ime/input_components_handler.cc',
152 'common/extensions/api/input_ime/input_components_handler.h',
[email protected]e3b19382013-01-12 03:58:14153 'common/extensions/api/file_handlers/file_handlers_parser.cc',
154 'common/extensions/api/file_handlers/file_handlers_parser.h',
[email protected]d356c982012-12-12 19:32:55155 'common/extensions/api/omnibox/omnibox_handler.cc',
156 'common/extensions/api/omnibox/omnibox_handler.h',
[email protected]692a8062013-01-10 04:14:42157 'common/extensions/api/speech/tts_engine_manifest_handler.cc',
158 'common/extensions/api/speech/tts_engine_manifest_handler.h',
[email protected]65907942012-05-22 19:59:47159 'common/extensions/command.cc',
160 'common/extensions/command.h',
[email protected]ee0be772011-12-02 08:02:10161 'common/extensions/csp_validator.cc',
162 'common/extensions/csp_validator.h',
[email protected]4df8ef12012-05-18 05:29:39163 'common/extensions/event_filter.cc',
164 'common/extensions/event_filter.h',
165 'common/extensions/event_filtering_info.cc',
166 'common/extensions/event_filtering_info.h',
167 'common/extensions/event_matcher.cc',
168 'common/extensions/event_matcher.h',
[email protected]dd363682009-12-28 20:30:46169 'common/extensions/extension.cc',
170 'common/extensions/extension.h',
171 'common/extensions/extension_constants.cc',
172 'common/extensions/extension_constants.h',
[email protected]7c927b62010-02-24 09:54:13173 'common/extensions/extension_file_util.cc',
174 'common/extensions/extension_file_util.h',
[email protected]807871f2010-09-16 01:04:48175 'common/extensions/extension_icon_set.cc',
176 'common/extensions/extension_icon_set.h',
[email protected]dd363682009-12-28 20:30:46177 'common/extensions/extension_l10n_util.cc',
178 'common/extensions/extension_l10n_util.h',
[email protected]8a58f9a2010-05-18 18:38:09179 'common/extensions/extension_localization_peer.cc',
180 'common/extensions/extension_localization_peer.h',
[email protected]a52c0e92012-03-23 06:02:24181 'common/extensions/extension_manifest_constants.cc',
182 'common/extensions/extension_manifest_constants.h',
[email protected]44c49c92011-03-28 16:17:23183 'common/extensions/extension_messages.cc',
184 'common/extensions/extension_messages.h',
[email protected]808d1512011-12-14 16:29:59185 'common/extensions/extension_process_policy.cc',
186 'common/extensions/extension_process_policy.h',
[email protected]dd363682009-12-28 20:30:46187 'common/extensions/extension_resource.cc',
188 'common/extensions/extension_resource.h',
[email protected]ec7db282011-01-29 01:11:36189 'common/extensions/extension_set.cc',
190 'common/extensions/extension_set.h',
[email protected]ee837d32012-10-02 22:25:49191 'common/extensions/feature_switch.cc',
192 'common/extensions/feature_switch.h',
[email protected]4b927fe2012-12-15 20:30:45193 'common/extensions/features/base_feature_provider.cc',
194 'common/extensions/features/base_feature_provider.h',
195 'common/extensions/features/complex_feature.cc',
196 'common/extensions/features/complex_feature.h',
[email protected]5115ccc2012-06-11 19:47:07197 'common/extensions/features/feature.cc',
198 'common/extensions/features/feature.h',
199 'common/extensions/features/feature_provider.h',
200 'common/extensions/features/manifest_feature.cc',
201 'common/extensions/features/manifest_feature.h',
202 'common/extensions/features/permission_feature.cc',
203 'common/extensions/features/permission_feature.h',
[email protected]4b927fe2012-12-15 20:30:45204 'common/extensions/features/simple_feature.cc',
205 'common/extensions/features/simple_feature.h',
[email protected]953620b2011-12-04 00:55:32206 'common/extensions/manifest.cc',
207 'common/extensions/manifest.h',
[email protected]d356c982012-12-12 19:32:55208 'common/extensions/manifest_handler.cc',
209 'common/extensions/manifest_handler.h',
[email protected]23b3c0a2013-01-16 23:36:36210 'common/extensions/manifest_handler_helpers.cc',
211 'common/extensions/manifest_handler_helpers.h',
[email protected]a405f6d2013-01-11 11:50:13212 'common/extensions/manifest_url_handler.cc',
213 'common/extensions/manifest_url_handler.h',
[email protected]5bcf3b72012-09-14 00:20:28214 'common/extensions/matcher/regex_set_matcher.cc',
215 'common/extensions/matcher/regex_set_matcher.h',
216 'common/extensions/matcher/string_pattern.cc',
217 'common/extensions/matcher/string_pattern.h',
[email protected]63f1a9e2012-05-09 12:51:00218 'common/extensions/matcher/substring_set_matcher.cc',
219 'common/extensions/matcher/substring_set_matcher.h',
220 'common/extensions/matcher/url_matcher.cc',
221 'common/extensions/matcher/url_matcher.h',
222 'common/extensions/matcher/url_matcher_constants.cc',
223 'common/extensions/matcher/url_matcher_constants.h',
224 'common/extensions/matcher/url_matcher_factory.cc',
225 'common/extensions/matcher/url_matcher_factory.h',
226 'common/extensions/matcher/url_matcher_helpers.cc',
227 'common/extensions/matcher/url_matcher_helpers.h',
[email protected]40404bc2012-07-25 17:40:49228 'common/extensions/message_bundle.cc',
229 'common/extensions/message_bundle.h',
[email protected]c2e66e12012-06-27 06:27:06230 'common/extensions/permissions/api_permission.cc',
231 'common/extensions/permissions/api_permission.h',
[email protected]1d8b79a2012-08-16 20:22:54232 'common/extensions/permissions/api_permission_set.cc',
233 'common/extensions/permissions/api_permission_set.h',
[email protected]288ce6c2012-12-03 21:05:24234 'common/extensions/permissions/bluetooth_device_permission.cc',
235 'common/extensions/permissions/bluetooth_device_permission.h',
[email protected]f3cc80632012-12-06 19:30:25236 'common/extensions/permissions/bluetooth_device_permission_data.cc',
237 'common/extensions/permissions/bluetooth_device_permission_data.h',
[email protected]398d77b2013-01-17 01:31:06238 'common/extensions/permissions/media_galleries_permission.cc',
239 'common/extensions/permissions/media_galleries_permission.h',
240 'common/extensions/permissions/media_galleries_permission_data.cc',
241 'common/extensions/permissions/media_galleries_permission_data.h',
[email protected]c2e66e12012-06-27 06:27:06242 'common/extensions/permissions/permission_message.cc',
243 'common/extensions/permissions/permission_message.h',
244 'common/extensions/permissions/permission_set.cc',
245 'common/extensions/permissions/permission_set.h',
246 'common/extensions/permissions/permissions_info.cc',
247 'common/extensions/permissions/permissions_info.h',
[email protected]f3cc80632012-12-06 19:30:25248 'common/extensions/permissions/set_disjunction_permission.h',
[email protected]1d8b79a2012-08-16 20:22:54249 'common/extensions/permissions/socket_permission.cc',
250 'common/extensions/permissions/socket_permission.h',
251 'common/extensions/permissions/socket_permission_data.cc',
252 'common/extensions/permissions/socket_permission_data.h',
[email protected]ad46f222012-12-11 07:18:15253 'common/extensions/permissions/usb_device_permission.cc',
254 'common/extensions/permissions/usb_device_permission.h',
255 'common/extensions/permissions/usb_device_permission_data.cc',
256 'common/extensions/permissions/usb_device_permission_data.h',
[email protected]0b9383a2012-10-26 00:58:16257 'common/extensions/request_media_access_permission_helper.cc',
258 'common/extensions/request_media_access_permission_helper.h',
[email protected]b3fe68d2012-07-16 19:14:39259 'common/extensions/unpacker.cc',
260 'common/extensions/unpacker.h',
[email protected]dd363682009-12-28 20:30:46261 'common/extensions/update_manifest.cc',
262 'common/extensions/update_manifest.h',
[email protected]dd363682009-12-28 20:30:46263 'common/extensions/user_script.cc',
264 'common/extensions/user_script.h',
[email protected]d9e559d2012-07-05 01:04:57265 'common/extensions/value_counter.cc',
266 'common/extensions/value_counter.h',
[email protected]d4e96fa2013-01-16 21:12:54267 'common/extensions/web_accessible_resources_handler.cc',
268 'common/extensions/web_accessible_resources_handler.h',
[email protected]48147fd2013-01-11 05:54:20269 'common/extensions/web_intents_handler.cc',
270 'common/extensions/web_intents_handler.h',
[email protected]93156cec2011-09-12 21:14:44271 'common/external_ipc_fuzzer.h',
272 'common/external_ipc_fuzzer.cc',
[email protected]1ecbe862012-10-05 01:29:14273 'common/form_data.cc',
274 'common/form_data.h',
275 'common/form_data_predictions.cc',
276 'common/form_data_predictions.h',
277 'common/form_field_data.cc',
278 'common/form_field_data.h',
279 'common/form_field_data_predictions.cc',
280 'common/form_field_data_predictions.h',
[email protected]6ae45eb2012-11-29 23:27:28281 'common/icon_with_badge_image_source.cc',
282 'common/icon_with_badge_image_source.h',
[email protected]0e7cb682012-08-15 04:04:38283 'common/instant_types.cc',
[email protected]93156cec2011-09-12 21:14:44284 'common/instant_types.h',
[email protected]367dbf72012-09-16 15:36:23285 'common/json_schema_constants.cc',
286 'common/json_schema_constants.h',
[email protected]639e6712010-11-11 22:21:43287 'common/json_schema_validator.cc',
288 'common/json_schema_validator.h',
[email protected]499512b2012-08-08 19:27:49289 'common/localized_error.cc',
290 'common/localized_error.h',
[email protected]93156cec2011-09-12 21:14:44291 'common/logging_chrome.cc',
292 'common/logging_chrome.h',
[email protected]46821242011-08-19 13:59:59293 'common/mac/app_mode_common.h',
294 'common/mac/app_mode_common.mm',
[email protected]00ecec52011-08-19 20:01:24295 'common/mac/cfbundle_blocker.h',
296 'common/mac/cfbundle_blocker.mm',
[email protected]46821242011-08-19 13:59:59297 'common/mac/launchd.h',
298 'common/mac/launchd.mm',
[email protected]d9b6d572012-10-22 16:41:19299 'common/mac/nscoder_util.h',
300 'common/mac/nscoder_util.mm',
[email protected]d02437b2011-09-06 17:25:15301 'common/mac/objc_method_swizzle.h',
302 'common/mac/objc_method_swizzle.mm',
303 'common/mac/objc_zombie.h',
304 'common/mac/objc_zombie.mm',
[email protected]20f999b52012-08-24 22:32:59305 'common/metrics/entropy_provider.cc',
306 'common/metrics/entropy_provider.h',
[email protected]e182be02012-01-27 02:35:44307 'common/metrics/metrics_log_base.cc',
308 'common/metrics/metrics_log_base.h',
[email protected]2e4cd1a2012-01-12 08:51:03309 'common/metrics/metrics_log_manager.cc',
310 'common/metrics/metrics_log_manager.h',
[email protected]e182be02012-01-27 02:35:44311 'common/metrics/metrics_service_base.cc',
312 'common/metrics/metrics_service_base.h',
[email protected]bca34942012-09-05 18:23:25313 'common/metrics/metrics_util.cc',
314 'common/metrics/metrics_util.h',
[email protected]cf265dc02012-08-15 01:01:16315 'common/metrics/variations/variations_util.cc',
316 'common/metrics/variations/variations_util.h',
[email protected]93156cec2011-09-12 21:14:44317 'common/multi_process_lock.h',
318 'common/multi_process_lock_linux.cc',
319 'common/multi_process_lock_mac.cc',
320 'common/multi_process_lock_win.cc',
321 'common/nacl_cmd_line.cc',
322 'common/nacl_cmd_line.h',
323 'common/nacl_messages.cc',
324 'common/nacl_messages.h',
[email protected]00d99542012-04-17 22:48:02325 'common/nacl_types.cc',
[email protected]93156cec2011-09-12 21:14:44326 'common/nacl_types.h',
[email protected]b6b15bcc2013-02-01 05:34:25327 'common/one_click_signin_messages.h',
[email protected]1ecbe862012-10-05 01:29:14328 'common/password_form_fill_data.cc',
329 'common/password_form_fill_data.h',
[email protected]341370e2012-07-21 01:45:56330 'common/password_generation_util.cc',
331 'common/password_generation_util.h',
[email protected]9b4f6082012-04-24 01:43:07332 'common/pepper_flash.cc',
333 'common/pepper_flash.h',
[email protected]be85e7d2012-10-31 08:34:20334 'common/pref_names_util.cc',
335 'common/pref_names_util.h',
[email protected]b4bd67a2011-08-22 19:04:09336 'common/print_messages.cc',
[email protected]1375e3ab2011-03-24 17:07:22337 'common/print_messages.h',
[email protected]93156cec2011-09-12 21:14:44338 'common/profiling.cc',
339 'common/profiling.h',
[email protected]93156cec2011-09-12 21:14:44340 'common/ref_counted_util.h',
[email protected]7a4de7a62010-08-17 18:38:24341 'common/render_messages.cc',
[email protected]dd363682009-12-28 20:30:46342 'common/render_messages.h',
[email protected]93156cec2011-09-12 21:14:44343 'common/safe_browsing/safebrowsing_messages.h',
[email protected]c08e7932011-03-29 04:08:14344 'common/search_provider.h',
[email protected]c3917742012-11-21 01:51:14345 'common/search_types.h',
[email protected]38fe1962010-07-31 07:57:00346 'common/service_messages.h',
[email protected]7a4de7a62010-08-17 18:38:24347 'common/service_process_util.cc',
348 'common/service_process_util.h',
[email protected]56f0f262011-02-24 17:14:36349 'common/service_process_util_linux.cc',
350 'common/service_process_util_mac.mm',
[email protected]146354942010-10-13 20:27:04351 'common/service_process_util_posix.cc',
[email protected]56f0f262011-02-24 17:14:36352 'common/service_process_util_posix.h',
[email protected]146354942010-10-13 20:27:04353 'common/service_process_util_win.cc',
[email protected]dd363682009-12-28 20:30:46354 'common/spellcheck_common.cc',
355 'common/spellcheck_common.h',
[email protected]3e267192011-03-25 01:55:45356 'common/spellcheck_messages.h',
[email protected]7ed49c22012-02-17 02:14:53357 'common/spellcheck_result.h',
[email protected]b5febf72012-07-29 18:10:09358 'common/startup_metric_utils.cc',
359 'common/startup_metric_utils.h',
[email protected]93156cec2011-09-12 21:14:44360 'common/switch_utils.cc',
361 'common/switch_utils.h',
[email protected]dd363682009-12-28 20:30:46362 'common/thumbnail_score.cc',
363 'common/thumbnail_score.h',
[email protected]93156cec2011-09-12 21:14:44364 'common/time_format.cc',
365 'common/time_format.h',
[email protected]dd363682009-12-28 20:30:46366 'common/url_constants.cc',
367 'common/url_constants.h',
[email protected]299d7f12012-05-23 05:31:15368 'common/view_type.cc',
369 'common/view_type.h',
[email protected]38789d82010-11-17 06:03:44370 'common/web_apps.cc',
371 'common/web_apps.h',
[email protected]cdb8bc282010-11-22 19:23:06372 'common/web_resource/web_resource_unpacker.cc',
373 'common/web_resource/web_resource_unpacker.h',
[email protected]dd363682009-12-28 20:30:46374 'common/worker_thread_ticker.cc',
375 'common/worker_thread_ticker.h',
[email protected]dd363682009-12-28 20:30:46376 'common/zip.cc', # Requires zlib directly.
377 'common/zip.h',
[email protected]79b2024f2011-11-09 19:32:12378 'common/zip_internal.cc',
379 'common/zip_internal.h',
[email protected]198e77822011-11-11 18:50:03380 'common/zip_reader.cc',
381 'common/zip_reader.h',
[email protected]dd363682009-12-28 20:30:46382 ],
383 'conditions': [
[email protected]fdaed545c2012-10-20 19:13:04384 ['OS != "ios"', {
385 'dependencies': [
386 '<(DEPTH)/chrome/app/policy/cloud_policy_codegen.gyp:policy',
387 '<(DEPTH)/chrome/common/extensions/api/api.gyp:api',
388 '<(DEPTH)/ipc/ipc.gyp:ipc',
389 '<(DEPTH)/printing/printing.gyp:printing',
390 '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h',
391 '<(DEPTH)/third_party/re2/re2.gyp:re2',
392 '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
393 '<(DEPTH)/webkit/support/webkit_support.gyp:glue',
394 ],
395 }, { # OS == ios
396 'sources/': [
[email protected]fdaed545c2012-10-20 19:13:04397 ['exclude', '^common/child_process_'],
398 ['exclude', '^common/chrome_content_client\\.cc$'],
399 ['exclude', '^common/chrome_version_info_posix\\.cc$'],
400 ['exclude', '^common/common_message_generator\\.cc$'],
401 ['exclude', '^common/common_param_traits'],
402 ['exclude', '^common/custom_handlers/'],
403 ['exclude', '^common/extensions/'],
404 ['exclude', '^common/external_ipc_fuzzer\\.'],
405 ['exclude', '^common/logging_chrome\\.'],
406 ['exclude', '^common/multi_process_'],
407 ['exclude', '^common/nacl_'],
408 ['exclude', '^common/pepper_flash\\.'],
409 ['exclude', '^common/profiling\\.'],
410 ['exclude', '^common/service_process_util_'],
411 ['exclude', '^common/spellcheck_'],
412 ['exclude', '^common/web_apps\\.'],
413 # TODO(ios): Include files here as they are made to work; once
414 # everything is online, remove everything below here and just
415 # use the exclusions above.
[email protected]b7d1efa62012-11-16 11:22:02416 ['exclude', '\\.(cc|mm)$'],
417 ['include', '_ios\\.(cc|mm)$'],
418 ['include', '(^|/)ios/'],
419 ['include', '^common/chrome_version_info\\.cc$'],
420 ['include', '^common/zip'],
[email protected]fdaed545c2012-10-20 19:13:04421 ],
422 }],
[email protected]9f6167c2012-03-16 02:28:17423 ['OS=="android"', {
424 'sources/': [
[email protected]281288d2012-11-09 03:03:23425 ['exclude', '^common/chrome_version_info_posix.cc'],
[email protected]9f6167c2012-03-16 02:28:17426 ['exclude', '^common/service_'],
427 ],
[email protected]ccd90f02012-11-01 19:52:15428 'dependencies!': [
429 '<(DEPTH)/chrome/app/policy/cloud_policy_codegen.gyp:policy',
430 ],
[email protected]9f6167c2012-03-16 02:28:17431 }],
[email protected]93156cec2011-09-12 21:14:44432 ['OS=="win"', {
433 'include_dirs': [
434 '<(DEPTH)/third_party/wtl/include',
[email protected]ef777a42011-11-25 13:15:43435 ]
436 }],
[email protected]cb5e5072011-05-19 21:49:41437 ['toolkit_uses_gtk == 1', {
[email protected]dd363682009-12-28 20:30:46438 'dependencies': [
439 '../build/linux/system.gyp:gtk',
440 ],
441 'export_dependent_settings': [
442 '../third_party/sqlite/sqlite.gyp:sqlite',
443 ],
444 'link_settings': {
445 'libraries': [
446 '-lX11',
447 '-lXrender',
[email protected]8b46c13b2010-01-26 19:50:54448 '-lXss',
[email protected]dd363682009-12-28 20:30:46449 '-lXext',
450 ],
451 },
[email protected]0ce34852011-09-23 20:00:51452 }],
[email protected]b9bbf5532011-11-03 07:35:22453 ['OS=="linux" and selinux==1', {
454 'dependencies': [
455 '../build/linux/system.gyp:selinux',
[email protected]4641d3c2010-08-26 21:44:13456 ],
[email protected]b9bbf5532011-11-03 07:35:22457 }],
[email protected]89886fa32012-10-08 23:46:33458 ['chromeos==1', {
[email protected]3a12f882011-12-14 06:39:25459 'sources!': [
460 'common/chrome_version_info_linux.cc',
461 ],
462 }],
[email protected]b9bbf5532011-11-03 07:35:22463 ['OS=="mac"', {
464 'dependencies': [
465 '../third_party/mach_override/mach_override.gyp:mach_override',
466 ],
467 'include_dirs': [
468 '../third_party/GTM',
469 ],
[email protected]1f26b9a2012-02-28 00:29:38470 'sources!': [
471 'common/child_process_logging_posix.cc',
472 'common/chrome_version_info_posix.cc',
473 ],
[email protected]b9bbf5532011-11-03 07:35:22474 }],
[email protected]e78b47c2012-12-04 15:34:23475 ['enable_extensions==1', {
476 'sources!': [
477 'common/extensions/api/extension_api_stub.cc',
478 ],
[email protected]06af6a42012-12-14 00:16:40479 'dependencies': [
480 '../device/device.gyp:device_usb',
481 ],
[email protected]e78b47c2012-12-04 15:34:23482 }, { # enable_extensions == 0
483 'sources/': [
484 ['exclude', '^common/extensions/api/'],
485 ['include', 'common/extensions/api/extension_api_stub.cc'],
[email protected]23b3c0a2013-01-16 23:36:36486 ['include', 'common/extensions/api/extension_action/action_info.cc'],
487 ['include', 'common/extensions/api/extension_action/action_info.h'],
[email protected]972b02f2013-01-28 20:38:14488 ['include', 'common/extensions/api/extension_action/browser_action_handler.cc'],
489 ['include', 'common/extensions/api/extension_action/browser_action_handler.h'],
[email protected]0273969d2013-01-30 22:16:31490 ['include', 'common/extensions/api/i18n/default_locale_handler.cc'],
491 ['include', 'common/extensions/api/i18n/default_locale_handler.h'],
[email protected]29e0c4e72013-02-01 04:42:56492 ['include', 'common/extensions/api/identity/oauth2_manifest_handler.cc'],
493 ['include', 'common/extensions/api/identity/oauth2_manifest_handler.h'],
[email protected]e78b47c2012-12-04 15:34:23494 ],
495 }],
[email protected]b9bbf5532011-11-03 07:35:22496 ['remoting==1', {
497 'dependencies': [
498 '../remoting/remoting.gyp:remoting_client_plugin',
499 ],
500 }],
[email protected]098dff8a2013-01-23 20:54:49501 ['enable_automation==0', {
502 'sources/': [
503 ['exclude', '^common/automation_']
504 ]
[email protected]90b54ed2013-01-28 10:38:42505 }],
[email protected]3a3e1712013-02-01 21:04:50506 ['enable_web_intents==0', {
507 'sources!': [
508 'common/extensions/web_intents_handler.cc',
509 'common/extensions/web_intents_handler.h',
510 ],
511 }],
[email protected]90b54ed2013-01-28 10:38:42512 ['use_system_nspr==1', {
513 'dependencies': [
514 '<(DEPTH)/base/third_party/nspr/nspr.gyp:nspr',
515 ],
516 }],
[email protected]b9bbf5532011-11-03 07:35:22517 ],
[email protected]fdaed545c2012-10-20 19:13:04518 'target_conditions': [
519 ['OS == "ios"', {
520 'sources/': [
521 # Pull in specific Mac files for iOS (which have been filtered out
522 # by file name rules).
523 ['include', '^common/chrome_version_info_mac\\.mm$'],
[email protected]b7d1efa62012-11-16 11:22:02524 ['include', '^common/mac/nscoder_util\\.'],
[email protected]fdaed545c2012-10-20 19:13:04525 ],
526 }],
527 ],
[email protected]b9bbf5532011-11-03 07:35:22528 'export_dependent_settings': [
529 '../base/base.gyp:base',
[email protected]8a59a082012-03-07 02:27:30530 'metrics_proto',
[email protected]b9bbf5532011-11-03 07:35:22531 ],
532 },
533 {
534 'target_name': 'common_version',
535 'type': 'none',
536 'conditions': [
[email protected]fdaed545c2012-10-20 19:13:04537 ['os_posix == 1 and OS != "mac" and OS != "ios"', {
[email protected]b9bbf5532011-11-03 07:35:22538 'direct_dependent_settings': {
539 'include_dirs': [
540 '<(SHARED_INTERMEDIATE_DIR)',
541 ],
542 },
[email protected]79440c52010-08-27 22:53:02543 # Because posix_version generates a header, we must set the
544 # hard_dependency flag.
545 'hard_dependency': 1,
[email protected]4641d3c2010-08-26 21:44:13546 'actions': [
547 {
548 'action_name': 'posix_version',
549 'variables': {
550 'lastchange_path':
[email protected]9046a112012-01-31 20:45:25551 '<(DEPTH)/build/util/LASTCHANGE',
[email protected]4641d3c2010-08-26 21:44:13552 'version_py_path': 'tools/build/version.py',
553 'version_path': 'VERSION',
554 'template_input_path': 'common/chrome_version_info_posix.h.version',
555 },
556 'conditions': [
557 [ 'branding == "Chrome"', {
558 'variables': {
559 'branding_path':
560 'app/theme/google_chrome/BRANDING',
561 },
562 }, { # else branding!="Chrome"
563 'variables': {
564 'branding_path':
565 'app/theme/chromium/BRANDING',
566 },
567 }],
568 ],
569 'inputs': [
570 '<(template_input_path)',
571 '<(version_path)',
572 '<(branding_path)',
573 '<(lastchange_path)',
574 ],
575 'outputs': [
576 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_posix.h',
577 ],
578 'action': [
579 'python',
580 '<(version_py_path)',
581 '-f', '<(version_path)',
582 '-f', '<(branding_path)',
583 '-f', '<(lastchange_path)',
584 '<(template_input_path)',
585 '<@(_outputs)',
586 ],
587 'message': 'Generating version information',
588 },
589 ],
590 }],
[email protected]dd363682009-12-28 20:30:46591 ],
592 },
[email protected]3c3065d2010-05-06 21:59:55593 {
594 'target_name': 'common_net',
[email protected]5a547332011-05-19 23:18:53595 'type': 'static_library',
[email protected]3c3065d2010-05-06 21:59:55596 'sources': [
[email protected]06305962012-05-09 22:34:36597 'common/net/net_resource_provider.cc',
598 'common/net/net_resource_provider.h',
599 'common/net/predictor_common.h',
600 'common/net/url_util.cc',
601 'common/net/url_util.h',
[email protected]b1c2a5542010-10-08 12:44:40602 'common/net/x509_certificate_model.cc',
603 'common/net/x509_certificate_model_nss.cc',
604 'common/net/x509_certificate_model_openssl.cc',
605 'common/net/x509_certificate_model.h',
[email protected]3c3065d2010-05-06 21:59:55606 ],
607 'dependencies': [
[email protected]37794d02011-11-30 18:24:29608 '<(DEPTH)/base/base.gyp:base',
609 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
610 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
611 '<(DEPTH)/crypto/crypto.gyp:crypto',
[email protected]37794d02011-11-30 18:24:29612 '<(DEPTH)/net/net.gyp:net_resources',
613 '<(DEPTH)/net/net.gyp:net',
614 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
615 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
[email protected]3c3065d2010-05-06 21:59:55616 ],
[email protected]b1c2a5542010-10-08 12:44:40617 'conditions': [
[email protected]fdaed545c2012-10-20 19:13:04618 ['OS != "ios"', {
619 'dependencies': [
620 '<(DEPTH)/gpu/gpu.gyp:gpu_ipc',
621 ],
622 }, { # OS == ios
623 'sources!': [
624 'common/net/net_resource_provider.cc',
625 'common/net/x509_certificate_model.cc',
626 ],
627 }],
628 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
[email protected]638e9df42011-05-31 17:19:30629 'dependencies': [
630 '../build/linux/system.gyp:ssl',
[email protected]b1c2a5542010-10-08 12:44:40631 ],
632 },
[email protected]af221ff2012-04-03 05:22:39633 ],
[email protected]fdaed545c2012-10-20 19:13:04634 ['os_posix != 1 or OS == "mac" or OS == "ios"', {
[email protected]b1c2a5542010-10-08 12:44:40635 'sources!': [
636 'common/net/x509_certificate_model_nss.cc',
637 'common/net/x509_certificate_model_openssl.cc',
638 ],
639 },
640 ],
[email protected]af221ff2012-04-03 05:22:39641 ['OS == "android"', {
642 'dependencies': [
[email protected]8e853b142012-05-16 07:40:01643 '../third_party/openssl/openssl.gyp:openssl',
[email protected]af221ff2012-04-03 05:22:39644 ],
645 },
646 ],
[email protected]b1c2a5542010-10-08 12:44:40647 ['use_openssl==1', {
648 'sources!': [
649 'common/net/x509_certificate_model_nss.cc',
650 ],
651 },
652 { # else !use_openssl: remove the unneeded files
653 'sources!': [
654 'common/net/x509_certificate_model_openssl.cc',
655 ],
656 },
657 ],
[email protected]b1d2c742013-01-21 18:04:52658 ['OS=="win"', {
659 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
660 'msvs_disabled_warnings': [4267, ],
661 },
662 ],
[email protected]129d11452012-03-01 01:56:56663 ],
[email protected]3c3065d2010-05-06 21:59:55664 },
[email protected]133139772011-04-14 22:14:13665 {
[email protected]1c20dd62011-08-19 21:54:33666 # Protobuf compiler / generator for the safebrowsing client
667 # model proto and the client-side detection (csd) request
668 # protocol buffer.
[email protected]cae64fe2011-06-17 17:54:50669 'target_name': 'safe_browsing_proto',
[email protected]1c20dd62011-08-19 21:54:33670 'type': 'static_library',
671 'sources': [
672 'common/safe_browsing/client_model.proto',
673 'common/safe_browsing/csd.proto'
[email protected]cae64fe2011-06-17 17:54:50674 ],
[email protected]1c20dd62011-08-19 21:54:33675 'variables': {
676 'proto_in_dir': 'common/safe_browsing',
677 'proto_out_dir': 'chrome/common/safe_browsing',
[email protected]cae64fe2011-06-17 17:54:50678 },
[email protected]1c20dd62011-08-19 21:54:33679 'includes': [ '../build/protoc.gypi' ],
[email protected]133139772011-04-14 22:14:13680 },
[email protected]7ae45d0502012-01-31 00:29:26681 {
682 # Protobuf compiler / generator for UMA (User Metrics Analysis).
683 'target_name': 'metrics_proto',
684 'type': 'static_library',
685 'sources': [
[email protected]f89fdab12012-05-04 23:27:21686 'common/metrics/proto/chrome_experiments.proto',
[email protected]7ae45d0502012-01-31 00:29:26687 'common/metrics/proto/chrome_user_metrics_extension.proto',
688 'common/metrics/proto/histogram_event.proto',
689 'common/metrics/proto/omnibox_event.proto',
[email protected]f65859e2013-02-04 20:00:25690 'common/metrics/proto/perf_data.proto',
[email protected]2a08b1d2012-02-18 00:30:04691 'common/metrics/proto/profiler_event.proto',
[email protected]7ae45d0502012-01-31 00:29:26692 'common/metrics/proto/system_profile.proto',
693 'common/metrics/proto/user_action_event.proto',
694 ],
695 'variables': {
696 'proto_in_dir': 'common/metrics/proto',
697 'proto_out_dir': 'chrome/common/metrics/proto',
698 },
699 'includes': [ '../build/protoc.gypi' ],
700 },
[email protected]dd363682009-12-28 20:30:46701 ],
[email protected]dd363682009-12-28 20:30:46702}