1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
8 'target_name': 'common',
9 'type': 'static_library',
11 'chrome_common_target': 1,
12 'enable_wexit_time_destructors': 1,
16 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_content_client.cc.
18 'direct_dependent_settings': {
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
31 '<(DEPTH)/base/base.gyp:base',
32 '<(DEPTH)/base/base.gyp:base_i18n',
33 '<(DEPTH)/base/base.gyp:base_prefs',
34 '<(DEPTH)/base/base.gyp:base_static',
35 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
36 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
37 '<(DEPTH)/chrome/chrome_resources.gyp:theme_resources',
38 '<(DEPTH)/chrome/common_constants.gyp:common_constants',
39 '<(DEPTH)/components/components.gyp:visitedlink_common',
40 '<(DEPTH)/content/content.gyp:content_common',
41 '<(DEPTH)/net/net.gyp:net',
42 '<(DEPTH)/skia/skia.gyp:skia',
43 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
44 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
45 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
46 '<(DEPTH)/third_party/mt19937ar/mt19937ar.gyp:mt19937ar',
47 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite',
48 '<(DEPTH)/third_party/zlib/zlib.gyp:zip',
49 '<(DEPTH)/ui/ui.gyp:ui_resources',
50 '<(DEPTH)/url/url.gyp:url_lib',
51 '<(DEPTH)/webkit/common/user_agent/webkit_user_agent.gyp:user_agent',
54 '../apps/app_shim/app_shim_launch.h',
55 '../apps/app_shim/app_shim_messages.h',
56 '../extensions/common/constants.cc',
57 '../extensions/common/constants.h',
58 '../extensions/common/crx_file.cc',
59 '../extensions/common/crx_file.h',
60 '../extensions/common/draggable_region.cc',
61 '../extensions/common/draggable_region.h',
62 '../extensions/common/error_utils.cc',
63 '../extensions/common/error_utils.h',
64 '../extensions/common/event_filter.cc',
65 '../extensions/common/event_filter.h',
66 '../extensions/common/event_filtering_info.cc',
67 '../extensions/common/event_filtering_info.h',
68 '../extensions/common/event_matcher.cc',
69 '../extensions/common/event_matcher.h',
70 '../extensions/common/extension_paths.cc',
71 '../extensions/common/extension_paths.h',
72 '../extensions/common/extension_resource.cc',
73 '../extensions/common/extension_resource.h',
74 '../extensions/common/id_util.cc',
75 '../extensions/common/id_util.h',
76 '../extensions/common/install_warning.cc',
77 '../extensions/common/install_warning.h',
78 '../extensions/common/matcher/regex_set_matcher.cc',
79 '../extensions/common/matcher/regex_set_matcher.h',
80 '../extensions/common/matcher/string_pattern.cc',
81 '../extensions/common/matcher/string_pattern.h',
82 '../extensions/common/matcher/substring_set_matcher.cc',
83 '../extensions/common/matcher/substring_set_matcher.h',
84 '../extensions/common/matcher/url_matcher.cc',
85 '../extensions/common/matcher/url_matcher.h',
86 '../extensions/common/matcher/url_matcher_constants.cc',
87 '../extensions/common/matcher/url_matcher_constants.h',
88 '../extensions/common/matcher/url_matcher_factory.cc',
89 '../extensions/common/matcher/url_matcher_factory.h',
90 '../extensions/common/matcher/url_matcher_helpers.cc',
91 '../extensions/common/matcher/url_matcher_helpers.h',
92 '../extensions/common/one_shot_event.cc',
93 '../extensions/common/one_shot_event.h',
94 '../extensions/common/switches.cc',
95 '../extensions/common/switches.h',
96 '../extensions/common/url_pattern.cc',
97 '../extensions/common/url_pattern.h',
98 '../extensions/common/url_pattern_set.cc',
99 '../extensions/common/url_pattern_set.h',
100 '../extensions/common/user_script.cc',
101 '../extensions/common/user_script.h',
102 '../extensions/common/view_type.cc',
103 '../extensions/common/view_type.h',
104 'common/all_messages.h',
105 'common/attrition_experiments.h',
106 'common/auto_start_linux.cc',
107 'common/auto_start_linux.h',
108 'common/autocomplete_match_type.cc',
109 'common/autocomplete_match_type.h',
110 'common/automation_constants.cc',
111 'common/automation_constants.h',
112 'common/automation_id.cc',
113 'common/automation_id.h',
114 'common/automation_messages.cc',
115 'common/automation_messages.h',
116 'common/automation_messages_internal.h',
117 'common/badge_util.cc',
118 'common/badge_util.h',
119 'common/cancelable_task_tracker.cc',
120 'common/cancelable_task_tracker.h',
121 'common/child_process_logging.h',
122 'common/child_process_logging_mac.mm',
123 'common/child_process_logging_posix.cc',
124 'common/child_process_logging_win.cc',
125 'common/chrome_content_client.cc',
126 'common/chrome_content_client.h',
127 'common/chrome_content_client_constants.cc',
128 'common/chrome_content_client_ios.mm',
129 'common/chrome_result_codes.h',
130 'common/chrome_utility_messages.h',
131 'common/chrome_version_info.cc',
132 'common/chrome_version_info_android.cc',
133 'common/chrome_version_info_chromeos.cc',
134 'common/chrome_version_info_posix.cc',
135 'common/chrome_version_info_mac.mm',
136 'common/chrome_version_info_win.cc',
137 'common/chrome_version_info.h',
138 'common/cloud_print/cloud_print_class_mac.h',
139 'common/cloud_print/cloud_print_class_mac.mm',
140 'common/cloud_print/cloud_print_constants.cc',
141 'common/cloud_print/cloud_print_constants.h',
142 'common/cloud_print/cloud_print_helpers.cc',
143 'common/cloud_print/cloud_print_helpers.h',
144 'common/cloud_print/cloud_print_proxy_info.cc',
145 'common/cloud_print/cloud_print_proxy_info.h',
146 'common/common_message_generator.cc',
147 'common/common_message_generator.h',
148 'common/common_param_traits.cc',
149 'common/common_param_traits.h',
150 'common/common_param_traits_macros.h',
151 'common/content_restriction.h',
152 'common/content_settings.cc',
153 'common/content_settings.h',
154 'common/content_settings_helper.cc',
155 'common/content_settings_helper.h',
156 'common/content_settings_pattern.cc',
157 'common/content_settings_pattern.h',
158 'common/content_settings_pattern_parser.cc',
159 'common/content_settings_pattern_parser.h',
160 'common/content_settings_types.h',
161 'common/crash_keys.cc',
162 'common/crash_keys.h',
163 'common/custom_handlers/protocol_handler.cc',
164 'common/custom_handlers/protocol_handler.h',
165 'common/descriptors_android.h',
166 'common/dump_without_crashing.cc',
167 'common/dump_without_crashing.h',
168 'common/extensions/api/commands/commands_handler.cc',
169 'common/extensions/api/commands/commands_handler.h',
170 'common/extensions/api/extension_action/action_info.cc',
171 'common/extensions/api/extension_action/action_info.h',
172 'common/extensions/api/extension_action/browser_action_handler.cc',
173 'common/extensions/api/extension_action/browser_action_handler.h',
174 'common/extensions/api/extension_action/page_action_handler.cc',
175 'common/extensions/api/extension_action/page_action_handler.h',
176 'common/extensions/api/extension_action/script_badge_handler.cc',
177 'common/extensions/api/extension_action/script_badge_handler.h',
178 'common/extensions/api/extension_api.cc',
179 'common/extensions/api/extension_api.h',
180 'common/extensions/api/extension_api_stub.cc',
181 'common/extensions/api/file_browser_handlers/file_browser_handler.cc',
182 'common/extensions/api/file_browser_handlers/file_browser_handler.h',
183 'common/extensions/api/file_handlers/file_handlers_parser.cc',
184 'common/extensions/api/file_handlers/file_handlers_parser.h',
185 'common/extensions/api/i18n/default_locale_handler.cc',
186 'common/extensions/api/i18n/default_locale_handler.h',
187 'common/extensions/api/identity/oauth2_manifest_handler.cc',
188 'common/extensions/api/identity/oauth2_manifest_handler.h',
189 'common/extensions/api/input_ime/input_components_handler.cc',
190 'common/extensions/api/input_ime/input_components_handler.h',
191 'common/extensions/api/managed_mode_private/managed_mode_handler.cc',
192 'common/extensions/api/managed_mode_private/managed_mode_handler.h',
193 'common/extensions/api/media_galleries_private/media_galleries_handler.h',
194 'common/extensions/api/media_galleries_private/media_galleries_handler.cc',
195 'common/extensions/api/omnibox/omnibox_handler.cc',
196 'common/extensions/api/omnibox/omnibox_handler.h',
197 'common/extensions/api/plugins/plugins_handler.cc',
198 'common/extensions/api/plugins/plugins_handler.h',
199 'common/extensions/api/speech/tts_engine_manifest_handler.cc',
200 'common/extensions/api/speech/tts_engine_manifest_handler.h',
201 'common/extensions/api/spellcheck/spellcheck_handler.cc',
202 'common/extensions/api/spellcheck/spellcheck_handler.h',
203 'common/extensions/api/storage/storage_schema_manifest_handler.cc',
204 'common/extensions/api/storage/storage_schema_manifest_handler.h',
205 'common/extensions/api/system_indicator/system_indicator_handler.cc',
206 'common/extensions/api/system_indicator/system_indicator_handler.h',
207 'common/extensions/background_info.cc',
208 'common/extensions/background_info.h',
209 'common/extensions/chrome_manifest_handlers.cc',
210 'common/extensions/chrome_manifest_handlers.h',
211 'common/extensions/command.cc',
212 'common/extensions/command.h',
213 'common/extensions/csp_handler.cc',
214 'common/extensions/csp_handler.h',
215 'common/extensions/csp_validator.cc',
216 'common/extensions/csp_validator.h',
217 'common/extensions/dom_action_types.h',
218 'common/extensions/extension.cc',
219 'common/extensions/extension.h',
220 'common/extensions/extension_constants.cc',
221 'common/extensions/extension_constants.h',
222 'common/extensions/extension_file_util.cc',
223 'common/extensions/extension_file_util.h',
224 'common/extensions/extension_icon_set.cc',
225 'common/extensions/extension_icon_set.h',
226 'common/extensions/extension_l10n_util.cc',
227 'common/extensions/extension_l10n_util.h',
228 'common/extensions/extension_manifest_constants.cc',
229 'common/extensions/extension_manifest_constants.h',
230 'common/extensions/extension_messages.cc',
231 'common/extensions/extension_messages.h',
232 'common/extensions/extension_process_policy.cc',
233 'common/extensions/extension_process_policy.h',
234 'common/extensions/extension_set.cc',
235 'common/extensions/extension_set.h',
236 'common/extensions/feature_switch.cc',
237 'common/extensions/feature_switch.h',
238 'common/extensions/features/api_feature.cc',
239 'common/extensions/features/api_feature.h',
240 'common/extensions/features/base_feature_provider.cc',
241 'common/extensions/features/base_feature_provider.h',
242 'common/extensions/features/complex_feature.cc',
243 'common/extensions/features/complex_feature.h',
244 'common/extensions/features/feature.cc',
245 'common/extensions/features/feature.h',
246 'common/extensions/features/feature_provider.h',
247 'common/extensions/features/manifest_feature.cc',
248 'common/extensions/features/manifest_feature.h',
249 'common/extensions/features/permission_feature.cc',
250 'common/extensions/features/permission_feature.h',
251 'common/extensions/features/simple_feature.cc',
252 'common/extensions/features/simple_feature.h',
253 'common/extensions/incognito_handler.cc',
254 'common/extensions/incognito_handler.h',
255 'common/extensions/manifest.cc',
256 'common/extensions/manifest.h',
257 'common/extensions/manifest_handler.cc',
258 'common/extensions/manifest_handler.h',
259 'common/extensions/manifest_handler_helpers.cc',
260 'common/extensions/manifest_handler_helpers.h',
261 'common/extensions/manifest_handlers/app_isolation_info.cc',
262 'common/extensions/manifest_handlers/app_isolation_info.h',
263 'common/extensions/manifest_handlers/app_launch_info.cc',
264 'common/extensions/manifest_handlers/app_launch_info.h',
265 'common/extensions/manifest_handlers/content_scripts_handler.cc',
266 'common/extensions/manifest_handlers/content_scripts_handler.h',
267 'common/extensions/manifest_handlers/externally_connectable.cc',
268 'common/extensions/manifest_handlers/externally_connectable.h',
269 'common/extensions/manifest_handlers/icons_handler.cc',
270 'common/extensions/manifest_handlers/icons_handler.h',
271 'common/extensions/manifest_handlers/kiosk_enabled_info.cc',
272 'common/extensions/manifest_handlers/kiosk_enabled_info.h',
273 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
274 'common/extensions/manifest_handlers/minimum_chrome_version_checker.h',
275 'common/extensions/manifest_handlers/nacl_modules_handler.cc',
276 'common/extensions/manifest_handlers/nacl_modules_handler.h',
277 'common/extensions/manifest_handlers/offline_enabled_info.cc',
278 'common/extensions/manifest_handlers/offline_enabled_info.h',
279 'common/extensions/manifest_handlers/requirements_handler.cc',
280 'common/extensions/manifest_handlers/requirements_handler.h',
281 'common/extensions/manifest_handlers/sandboxed_page_info.cc',
282 'common/extensions/manifest_handlers/sandboxed_page_info.h',
283 'common/extensions/manifest_handlers/shared_module_info.cc',
284 'common/extensions/manifest_handlers/shared_module_info.h',
285 'common/extensions/manifest_handlers/theme_handler.cc',
286 'common/extensions/manifest_handlers/theme_handler.h',
287 'common/extensions/manifest_url_handler.cc',
288 'common/extensions/manifest_url_handler.h',
289 'common/extensions/message_bundle.cc',
290 'common/extensions/message_bundle.h',
291 'common/extensions/mime_types_handler.cc',
292 'common/extensions/mime_types_handler.h',
293 'common/extensions/permissions/api_permission.cc',
294 'common/extensions/permissions/api_permission.h',
295 'common/extensions/permissions/api_permission_set.cc',
296 'common/extensions/permissions/api_permission_set.h',
297 'common/extensions/permissions/bluetooth_permission.cc',
298 'common/extensions/permissions/bluetooth_permission.h',
299 'common/extensions/permissions/bluetooth_permission_data.cc',
300 'common/extensions/permissions/bluetooth_permission_data.h',
301 'common/extensions/permissions/chrome_api_permissions.cc',
302 'common/extensions/permissions/chrome_api_permissions.h',
303 'common/extensions/permissions/chrome_scheme_hosts.cc',
304 'common/extensions/permissions/chrome_scheme_hosts.h',
305 'common/extensions/permissions/media_galleries_permission.cc',
306 'common/extensions/permissions/media_galleries_permission.h',
307 'common/extensions/permissions/media_galleries_permission_data.cc',
308 'common/extensions/permissions/media_galleries_permission_data.h',
309 'common/extensions/permissions/permission_message.cc',
310 'common/extensions/permissions/permission_message.h',
311 'common/extensions/permissions/permission_set.cc',
312 'common/extensions/permissions/permission_set.h',
313 'common/extensions/permissions/permissions_data.cc',
314 'common/extensions/permissions/permissions_data.h',
315 'common/extensions/permissions/permissions_info.cc',
316 'common/extensions/permissions/permissions_info.h',
317 'common/extensions/permissions/set_disjunction_permission.h',
318 'common/extensions/permissions/socket_permission.cc',
319 'common/extensions/permissions/socket_permission.h',
320 'common/extensions/permissions/socket_permission_data.cc',
321 'common/extensions/permissions/socket_permission_data.h',
322 'common/extensions/permissions/usb_device_permission.cc',
323 'common/extensions/permissions/usb_device_permission.h',
324 'common/extensions/permissions/usb_device_permission_data.cc',
325 'common/extensions/permissions/usb_device_permission_data.h',
326 'common/extensions/sync_helper.cc',
327 'common/extensions/sync_helper.h',
328 'common/extensions/update_manifest.cc',
329 'common/extensions/update_manifest.h',
330 'common/extensions/value_counter.cc',
331 'common/extensions/value_counter.h',
332 'common/extensions/web_accessible_resources_handler.cc',
333 'common/extensions/web_accessible_resources_handler.h',
334 'common/external_ipc_fuzzer.cc',
335 'common/external_ipc_fuzzer.h',
336 'common/favicon/favicon_types.cc',
337 'common/favicon/favicon_types.h',
338 'common/favicon/favicon_url_parser.cc',
339 'common/favicon/favicon_url_parser.h',
340 'common/icon_with_badge_image_source.cc',
341 'common/icon_with_badge_image_source.h',
342 'common/importer/firefox_importer_utils.cc',
343 'common/importer/firefox_importer_utils.h',
344 'common/importer/firefox_importer_utils_linux.cc',
345 'common/importer/firefox_importer_utils_mac.mm',
346 'common/importer/firefox_importer_utils_win.cc',
347 'common/importer/ie_importer_test_registry_overrider_win.cc',
348 'common/importer/ie_importer_test_registry_overrider_win.h',
349 'common/importer/ie_importer_utils_win.cc',
350 'common/importer/ie_importer_utils_win.h',
351 'common/importer/imported_bookmark_entry.cc',
352 'common/importer/imported_bookmark_entry.h',
353 'common/importer/imported_favicon_usage.cc',
354 'common/importer/imported_favicon_usage.h',
355 'common/importer/importer_bridge.cc',
356 'common/importer/importer_bridge.h',
357 'common/importer/importer_data_types.cc',
358 'common/importer/importer_data_types.h',
359 'common/importer/importer_type.h',
360 'common/importer/importer_url_row.cc',
361 'common/importer/importer_url_row.h',
362 'common/importer/profile_import_process_messages.cc',
363 'common/importer/profile_import_process_messages.h',
364 'common/importer/safari_importer_utils.h',
365 'common/importer/safari_importer_utils.mm',
366 'common/instant_restricted_id_cache.h',
367 'common/instant_types.cc',
368 'common/instant_types.h',
369 'common/json_schema/json_schema_constants.cc',
370 'common/json_schema/json_schema_constants.h',
371 'common/json_schema/json_schema_validator.cc',
372 'common/json_schema/json_schema_validator.h',
373 'common/localized_error.cc',
374 'common/localized_error.h',
375 'common/logging_chrome.cc',
376 'common/logging_chrome.h',
377 'common/mac/app_mode_common.h',
378 'common/mac/app_mode_common.mm',
379 'common/mac/cfbundle_blocker.h',
380 'common/mac/cfbundle_blocker.mm',
381 'common/mac/launchd.h',
382 'common/mac/launchd.mm',
383 'common/mac/nscoder_util.h',
384 'common/mac/nscoder_util.mm',
385 'common/mac/objc_method_swizzle.h',
386 'common/mac/objc_method_swizzle.mm',
387 'common/mac/objc_zombie.h',
388 'common/mac/objc_zombie.mm',
389 'common/media/webrtc_logging_messages.h',
390 'common/metrics/entropy_provider.cc',
391 'common/metrics/entropy_provider.h',
392 'common/metrics/metrics_log_base.cc',
393 'common/metrics/metrics_log_base.h',
394 'common/metrics/metrics_log_manager.cc',
395 'common/metrics/metrics_log_manager.h',
396 'common/metrics/metrics_service_base.cc',
397 'common/metrics/metrics_service_base.h',
398 'common/metrics/metrics_util.cc',
399 'common/metrics/metrics_util.h',
400 'common/metrics/variations/uniformity_field_trials.cc',
401 'common/metrics/variations/uniformity_field_trials.h',
402 'common/metrics/variations/variations_util.cc',
403 'common/metrics/variations/variations_util.h',
404 'common/multi_process_lock.h',
405 'common/multi_process_lock_linux.cc',
406 'common/multi_process_lock_mac.cc',
407 'common/multi_process_lock_win.cc',
408 'common/omaha_query_params/omaha_query_params.cc',
409 'common/omaha_query_params/omaha_query_params.h',
410 'common/omnibox_focus_state.h',
411 'common/one_click_signin_messages.h',
412 'common/partial_circular_buffer.cc',
413 'common/partial_circular_buffer.h',
414 'common/pepper_flash.cc',
415 'common/pepper_flash.h',
416 'common/pepper_permission_util.cc',
417 'common/pepper_permission_util.h',
418 'common/policy/policy_schema.cc',
419 'common/policy/policy_schema.h',
420 'common/pref_names_util.cc',
421 'common/pref_names_util.h',
422 'common/print_messages.cc',
423 'common/print_messages.h',
424 'common/profiling.cc',
425 'common/profiling.h',
426 'common/ref_counted_util.h',
427 'common/render_messages.cc',
428 'common/render_messages.h',
429 'common/safe_browsing/download_protection_util.cc',
430 'common/safe_browsing/download_protection_util.h',
431 'common/safe_browsing/safebrowsing_messages.h',
432 'common/safe_browsing/zip_analyzer.cc',
433 'common/safe_browsing/zip_analyzer.h',
434 'common/search_provider.h',
435 'common/search_types.h',
436 'common/service_messages.h',
437 'common/service_process_util.cc',
438 'common/service_process_util.h',
439 'common/service_process_util_linux.cc',
440 'common/service_process_util_mac.mm',
441 'common/service_process_util_posix.cc',
442 'common/service_process_util_posix.h',
443 'common/service_process_util_win.cc',
444 'common/spellcheck_common.cc',
445 'common/spellcheck_common.h',
446 'common/spellcheck_marker.h',
447 'common/spellcheck_messages.h',
448 'common/spellcheck_result.h',
449 'common/startup_metric_utils.cc',
450 'common/startup_metric_utils.h',
451 'common/switch_utils.cc',
452 'common/switch_utils.h',
453 'common/thumbnail_score.cc',
454 'common/thumbnail_score.h',
455 'common/time_format.cc',
456 'common/time_format.h',
457 'common/translate/language_detection_details.cc',
458 'common/translate/language_detection_details.h',
459 'common/translate/language_detection_util.cc',
460 'common/translate/language_detection_util.h',
461 'common/translate/translate_common_metrics.cc',
462 'common/translate/translate_common_metrics.h',
463 'common/translate/translate_errors.h',
464 'common/translate/translate_util.cc',
465 'common/translate/translate_util.h',
466 'common/tts_messages.h',
467 'common/tts_utterance_request.cc',
468 'common/tts_utterance_request.h',
469 'common/url_constants.cc',
470 'common/url_constants.h',
471 'common/validation_message_messages.h',
472 'common/web_application_info.cc',
473 'common/web_application_info.h',
474 'common/worker_thread_ticker.cc',
475 'common/worker_thread_ticker.h',
476 '../components/nacl/common/nacl_host_messages.h',
477 '../components/nacl/common/nacl_process_type.h',
478 '../components/nacl/common/nacl_sandbox_type_mac.h',
479 '../components/nacl/common/pnacl_types.cc',
480 '../components/nacl/common/pnacl_types.h',
483 ['enable_extensions==1', {
485 'common/extensions/api/extension_api_stub.cc',
488 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
489 '../device/usb/usb.gyp:device_usb',
491 }, { # enable_extensions == 0
493 ['exclude', '^common/extensions/api/'],
494 ['include', 'common/extensions/api/extension_api_stub.cc'],
495 ['include', 'common/extensions/api/extension_action/action_info.cc'],
496 ['include', 'common/extensions/api/extension_action/action_info.h'],
497 ['include', 'common/extensions/api/extension_action/browser_action_handler.cc'],
498 ['include', 'common/extensions/api/extension_action/browser_action_handler.h'],
499 ['include', 'common/extensions/api/extension_action/page_action_handler.cc'],
500 ['include', 'common/extensions/api/extension_action/page_action_handler.h'],
501 ['include', 'common/extensions/api/i18n/default_locale_handler.cc'],
502 ['include', 'common/extensions/api/i18n/default_locale_handler.h'],
503 ['include', 'common/extensions/api/identity/oauth2_manifest_handler.cc'],
504 ['include', 'common/extensions/api/identity/oauth2_manifest_handler.h'],
505 ['include', 'common/extensions/api/managed_mode_private/managed_mode_handler.cc'],
506 ['include', 'common/extensions/api/managed_mode_private/managed_mode_handler.h'],
507 ['include', 'common/extensions/api/plugins/plugins_handler.cc'],
508 ['include', 'common/extensions/api/plugins/plugins_handler.h'],
509 ['include', 'common/extensions/api/spellcheck/spellcheck_handler.cc'],
510 ['include', 'common/extensions/api/spellcheck/spellcheck_handler.h'],
511 ['include', 'common/extensions/api/storage/storage_schema_manifest_handler.cc'],
512 ['include', 'common/extensions/api/storage/storage_schema_manifest_handler.h'],
515 ['OS=="win" or OS=="mac"', {
517 'common/itunes_library.cc',
518 'common/itunes_library.h',
519 'common/itunes_xml_utils.cc',
520 'common/itunes_xml_utils.h',
521 'common/media_galleries/picasa_types.cc',
522 'common/media_galleries/picasa_types.h',
523 'common/media_galleries/pmp_constants.h',
528 '<(DEPTH)/chrome/app/policy/cloud_policy_codegen.gyp:policy',
529 '<(DEPTH)/chrome/common/extensions/api/api.gyp:api',
530 '<(DEPTH)/components/components.gyp:autofill_core_common',
531 '<(DEPTH)/components/nacl_common.gyp:nacl_common',
532 '<(DEPTH)/ipc/ipc.gyp:ipc',
533 '<(DEPTH)/printing/printing.gyp:printing',
534 '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h',
535 '<(DEPTH)/third_party/re2/re2.gyp:re2',
536 '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
537 '<(DEPTH)/webkit/support/webkit_support.gyp:glue',
541 ['exclude', '^common/child_process_'],
542 ['exclude', '^common/chrome_content_client\\.cc$'],
543 ['exclude', '^common/chrome_version_info_posix\\.cc$'],
544 ['exclude', '^common/common_message_generator\\.cc$'],
545 ['exclude', '^common/common_param_traits'],
546 ['exclude', '^common/custom_handlers/'],
547 ['exclude', '^common/extensions/'],
548 ['exclude', '^common/external_ipc_fuzzer\\.'],
549 ['exclude', '^common/logging_chrome\\.'],
550 ['exclude', '^common/multi_process_'],
551 ['exclude', '^common/nacl_'],
552 ['exclude', '^common/pepper_flash\\.'],
553 ['exclude', '^common/profiling\\.'],
554 ['exclude', '^common/service_process_util_'],
555 ['exclude', '^common/spellcheck_'],
556 ['exclude', '^common/validation_message_'],
557 ['exclude', '^common/web_apps\\.'],
558 # TODO(ios): Include files here as they are made to work; once
559 # everything is online, remove everything below here and just
560 # use the exclusions above.
561 ['exclude', '\\.(cc|mm)$'],
562 ['include', '_ios\\.(cc|mm)$'],
563 ['include', '(^|/)ios/'],
564 ['include', '^common/chrome_version_info\\.cc$'],
565 ['include', '^common/translate'],
566 ['include', '^common/zip'],
569 '<(DEPTH)/breakpad/src',
574 ['exclude', '^common/chrome_version_info_posix.cc'],
575 ['exclude', '^common/service_'],
578 '<(DEPTH)/chrome/app/policy/cloud_policy_codegen.gyp:policy',
583 '<(DEPTH)/third_party/wtl/include',
586 'common/crash_keys.cc',
587 'common/crash_keys.h',
590 ['enable_mdns == 1', {
592 'common/local_discovery/local_discovery_messages.h',
593 'common/local_discovery/service_discovery_client.cc',
594 'common/local_discovery/service_discovery_client.h',
597 ['toolkit_uses_gtk == 1', {
599 '../build/linux/system.gyp:gtk',
601 'export_dependent_settings': [
602 '../third_party/sqlite/sqlite.gyp:sqlite',
615 'common/chrome_version_info_linux.cc',
620 '../third_party/mach_override/mach_override.gyp:mach_override',
623 '<(DEPTH)/breakpad/src',
624 '../third_party/GTM',
627 'common/child_process_logging_posix.cc',
628 'common/chrome_version_info_posix.cc',
633 '../remoting/remoting.gyp:remoting_client_plugin',
636 ['enable_automation==0', {
638 ['exclude', '^common/automation_']
641 ['use_system_nspr==1', {
643 '<(DEPTH)/base/third_party/nspr/nspr.gyp:nspr',
646 ['enable_webrtc==0', {
648 'common/media/webrtc_logging_messages.h',
651 ['enable_language_detection==1', {
653 '../third_party/cld/cld.gyp:cld',
657 'target_conditions': [
660 # Pull in specific Mac files for iOS (which have been filtered out
661 # by file name rules).
662 ['include', '^common/chrome_version_info_mac\\.mm$'],
663 ['include', '^common/mac/nscoder_util\\.'],
667 'export_dependent_settings': [
668 '../base/base.gyp:base',
673 'target_name': 'common_version',
676 ['os_posix == 1 and OS != "mac" and OS != "ios"', {
677 'direct_dependent_settings': {
679 '<(SHARED_INTERMEDIATE_DIR)',
682 # Because posix_version generates a header, we must set the
683 # hard_dependency flag.
684 'hard_dependency': 1,
687 'action_name': 'posix_version',
690 '<(DEPTH)/build/util/LASTCHANGE',
691 'version_py_path': 'tools/build/version.py',
692 'version_path': 'VERSION',
693 'template_input_path': 'common/chrome_version_info_posix.h.version',
696 [ 'branding == "Chrome"', {
699 'app/theme/google_chrome/BRANDING',
701 }, { # else branding!="Chrome"
704 'app/theme/chromium/BRANDING',
709 '<(template_input_path)',
712 '<(lastchange_path)',
715 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_posix.h',
719 '<(version_py_path)',
720 '-f', '<(version_path)',
721 '-f', '<(branding_path)',
722 '-f', '<(lastchange_path)',
723 '<(template_input_path)',
726 'message': 'Generating version information',
733 'target_name': 'common_net',
734 'type': 'static_library',
736 'common/net/net_error_info.cc',
737 'common/net/net_error_info.h',
738 'common/net/net_resource_provider.cc',
739 'common/net/net_resource_provider.h',
740 'common/net/predictor_common.h',
741 'common/net/url_util.cc',
742 'common/net/url_util.h',
743 'common/net/x509_certificate_model.cc',
744 'common/net/x509_certificate_model_nss.cc',
745 'common/net/x509_certificate_model_openssl.cc',
746 'common/net/x509_certificate_model.h',
749 '<(DEPTH)/base/base.gyp:base',
750 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
751 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
752 '<(DEPTH)/crypto/crypto.gyp:crypto',
753 '<(DEPTH)/net/net.gyp:net_resources',
754 '<(DEPTH)/net/net.gyp:net',
755 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
756 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
761 '<(DEPTH)/gpu/gpu.gyp:gpu_ipc',
765 'common/net/net_resource_provider.cc',
766 'common/net/x509_certificate_model.cc',
769 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
771 '../build/linux/system.gyp:ssl',
775 ['os_posix != 1 or OS == "mac" or OS == "ios"', {
777 'common/net/x509_certificate_model_nss.cc',
778 'common/net/x509_certificate_model_openssl.cc',
782 ['OS == "android"', {
784 '../third_party/openssl/openssl.gyp:openssl',
790 'common/net/x509_certificate_model_nss.cc',
793 { # else !use_openssl: remove the unneeded files
795 'common/net/x509_certificate_model_openssl.cc',
800 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
801 'msvs_disabled_warnings': [4267, ],
807 # Protobuf compiler / generator for the safebrowsing client
808 # model proto and the client-side detection (csd) request
810 'target_name': 'safe_browsing_proto',
811 'type': 'static_library',
813 'common/safe_browsing/client_model.proto',
814 'common/safe_browsing/csd.proto'
817 'proto_in_dir': 'common/safe_browsing',
818 'proto_out_dir': 'chrome/common/safe_browsing',
820 'includes': [ '../build/protoc.gypi' ],
823 # Protobuf compiler / generator for UMA (User Metrics Analysis).
824 'target_name': 'metrics_proto',
825 'type': 'static_library',
827 'common/metrics/proto/chrome_experiments.proto',
828 'common/metrics/proto/chrome_user_metrics_extension.proto',
829 'common/metrics/proto/histogram_event.proto',
830 'common/metrics/proto/omnibox_event.proto',
831 'common/metrics/proto/perf_data.proto',
832 'common/metrics/proto/permuted_entropy_cache.proto',
833 'common/metrics/proto/profiler_event.proto',
834 'common/metrics/proto/system_profile.proto',
835 'common/metrics/proto/user_action_event.proto',
838 'proto_in_dir': 'common/metrics/proto',
839 'proto_out_dir': 'chrome/common/metrics/proto',
841 'includes': [ '../build/protoc.gypi' ],