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:cloud_devices_common',
40 '<(DEPTH)/components/components.gyp:json_schema',
41 '<(DEPTH)/components/components.gyp:metrics',
42 '<(DEPTH)/components/components.gyp:policy_component_common',
43 '<(DEPTH)/components/components.gyp:translate_core_common',
44 '<(DEPTH)/components/components.gyp:variations',
45 '<(DEPTH)/content/content.gyp:content_common',
46 '<(DEPTH)/crypto/crypto.gyp:crypto',
47 '<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources',
48 '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings',
49 '<(DEPTH)/media/cast/cast.gyp:cast_transport',
50 '<(DEPTH)/net/net.gyp:net',
51 '<(DEPTH)/skia/skia.gyp:skia',
52 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
53 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
54 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
55 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite',
56 '<(DEPTH)/third_party/zlib/google/zip.gyp:zip',
57 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
58 '<(DEPTH)/url/url.gyp:url_lib',
61 '../apps/app_shim/app_shim_launch.h',
62 '../apps/app_shim/app_shim_messages.h',
63 'common/all_messages.h',
64 'common/attrition_experiments.h',
65 'common/auto_start_linux.cc',
66 'common/auto_start_linux.h',
67 'common/autocomplete_match_type.cc',
68 'common/autocomplete_match_type.h',
69 'common/badge_util.cc',
70 'common/badge_util.h',
71 'common/child_process_logging.h',
72 'common/child_process_logging_win.cc',
73 'common/chrome_content_client.cc',
74 'common/chrome_content_client.h',
75 'common/chrome_content_client_constants.cc',
76 'common/chrome_content_client_ios.mm',
77 'common/chrome_result_codes.h',
78 'common/chrome_utility_messages.h',
79 'common/chrome_version_info.cc',
80 'common/chrome_version_info_android.cc',
81 'common/chrome_version_info_chromeos.cc',
82 'common/chrome_version_info_posix.cc',
83 'common/chrome_version_info_mac.mm',
84 'common/chrome_version_info_win.cc',
85 'common/chrome_version_info.h',
86 'common/cloud_print/cloud_print_class_mac.h',
87 'common/cloud_print/cloud_print_class_mac.mm',
88 'common/cloud_print/cloud_print_constants.cc',
89 'common/cloud_print/cloud_print_constants.h',
90 'common/cloud_print/cloud_print_helpers.cc',
91 'common/cloud_print/cloud_print_helpers.h',
92 'common/cloud_print/cloud_print_proxy_info.cc',
93 'common/cloud_print/cloud_print_proxy_info.h',
94 'common/common_message_generator.cc',
95 'common/common_message_generator.h',
96 'common/common_param_traits.cc',
97 'common/common_param_traits.h',
98 'common/common_param_traits_macros.h',
99 'common/content_restriction.h',
100 'common/content_settings.cc',
101 'common/content_settings.h',
102 'common/content_settings_helper.cc',
103 'common/content_settings_helper.h',
104 'common/content_settings_pattern.cc',
105 'common/content_settings_pattern.h',
106 'common/content_settings_pattern_parser.cc',
107 'common/content_settings_pattern_parser.h',
108 'common/content_settings_types.h',
109 'common/crash_keys.cc',
110 'common/crash_keys.h',
111 'common/custom_handlers/protocol_handler.cc',
112 'common/custom_handlers/protocol_handler.h',
113 'common/descriptors_android.h',
114 'common/extensions/api/bluetooth/bluetooth_manifest_data.cc',
115 'common/extensions/api/bluetooth/bluetooth_manifest_data.h',
116 'common/extensions/api/bluetooth/bluetooth_manifest_handler.cc',
117 'common/extensions/api/bluetooth/bluetooth_manifest_handler.h',
118 'common/extensions/api/bluetooth/bluetooth_manifest_permission.cc',
119 'common/extensions/api/bluetooth/bluetooth_manifest_permission.h',
120 'common/extensions/api/commands/commands_handler.cc',
121 'common/extensions/api/commands/commands_handler.h',
122 'common/extensions/api/extension_action/action_info.cc',
123 'common/extensions/api/extension_action/action_info.h',
124 'common/extensions/api/extension_action/browser_action_handler.cc',
125 'common/extensions/api/extension_action/browser_action_handler.h',
126 'common/extensions/api/extension_action/page_action_handler.cc',
127 'common/extensions/api/extension_action/page_action_handler.h',
128 'common/extensions/api/file_browser_handlers/file_browser_handler.cc',
129 'common/extensions/api/file_browser_handlers/file_browser_handler.h',
130 'common/extensions/api/file_handlers/file_handlers_parser.cc',
131 'common/extensions/api/file_handlers/file_handlers_parser.h',
132 'common/extensions/api/i18n/default_locale_handler.cc',
133 'common/extensions/api/i18n/default_locale_handler.h',
134 'common/extensions/api/identity/oauth2_manifest_handler.cc',
135 'common/extensions/api/identity/oauth2_manifest_handler.h',
136 'common/extensions/api/input_ime/input_components_handler.cc',
137 'common/extensions/api/input_ime/input_components_handler.h',
138 'common/extensions/api/managed_mode_private/managed_mode_handler.cc',
139 'common/extensions/api/managed_mode_private/managed_mode_handler.h',
140 'common/extensions/api/media_galleries_private/media_galleries_handler.h',
141 'common/extensions/api/media_galleries_private/media_galleries_handler.cc',
142 'common/extensions/api/omnibox/omnibox_handler.cc',
143 'common/extensions/api/omnibox/omnibox_handler.h',
144 'common/extensions/api/plugins/plugins_handler.cc',
145 'common/extensions/api/plugins/plugins_handler.h',
146 'common/extensions/api/speech/tts_engine_manifest_handler.cc',
147 'common/extensions/api/speech/tts_engine_manifest_handler.h',
148 'common/extensions/api/spellcheck/spellcheck_handler.cc',
149 'common/extensions/api/spellcheck/spellcheck_handler.h',
150 'common/extensions/api/storage/storage_schema_manifest_handler.cc',
151 'common/extensions/api/storage/storage_schema_manifest_handler.h',
152 'common/extensions/api/system_indicator/system_indicator_handler.cc',
153 'common/extensions/api/system_indicator/system_indicator_handler.h',
154 'common/extensions/api/url_handlers/url_handlers_parser.cc',
155 'common/extensions/api/url_handlers/url_handlers_parser.h',
156 'common/extensions/api/webstore/webstore_api_constants.cc',
157 'common/extensions/api/webstore/webstore_api_constants.h',
158 'common/extensions/chrome_extension_messages.h',
159 'common/extensions/chrome_extensions_client.cc',
160 'common/extensions/chrome_extensions_client.h',
161 'common/extensions/chrome_manifest_handlers.cc',
162 'common/extensions/chrome_manifest_handlers.h',
163 'common/extensions/command.cc',
164 'common/extensions/command.h',
165 'common/extensions/extension_constants.cc',
166 'common/extensions/extension_constants.h',
167 'common/extensions/extension_file_util.cc',
168 'common/extensions/extension_file_util.h',
169 'common/extensions/extension_process_policy.cc',
170 'common/extensions/extension_process_policy.h',
171 'common/extensions/features/chrome_channel_feature_filter.cc',
172 'common/extensions/features/chrome_channel_feature_filter.h',
173 'common/extensions/features/feature_channel.cc',
174 'common/extensions/features/feature_channel.h',
175 'common/extensions/file_handler_info.cc',
176 'common/extensions/file_handler_info.h',
177 'common/extensions/manifest_handlers/app_isolation_info.cc',
178 'common/extensions/manifest_handlers/app_isolation_info.h',
179 'common/extensions/manifest_handlers/app_launch_info.cc',
180 'common/extensions/manifest_handlers/app_launch_info.h',
181 'common/extensions/manifest_handlers/automation.h',
182 'common/extensions/manifest_handlers/automation.cc',
183 'common/extensions/manifest_handlers/content_scripts_handler.cc',
184 'common/extensions/manifest_handlers/content_scripts_handler.h',
185 'common/extensions/manifest_handlers/mime_types_handler.cc',
186 'common/extensions/manifest_handlers/mime_types_handler.h',
187 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
188 'common/extensions/manifest_handlers/minimum_chrome_version_checker.h',
189 'common/extensions/manifest_handlers/nacl_modules_handler.cc',
190 'common/extensions/manifest_handlers/nacl_modules_handler.h',
191 'common/extensions/manifest_handlers/settings_overrides_handler.cc',
192 'common/extensions/manifest_handlers/settings_overrides_handler.h',
193 'common/extensions/manifest_handlers/theme_handler.cc',
194 'common/extensions/manifest_handlers/theme_handler.h',
195 'common/extensions/manifest_handlers/ui_overrides_handler.cc',
196 'common/extensions/manifest_handlers/ui_overrides_handler.h',
197 'common/extensions/manifest_url_handler.cc',
198 'common/extensions/manifest_url_handler.h',
199 'common/extensions/permissions/chrome_api_permissions.cc',
200 'common/extensions/permissions/chrome_api_permissions.h',
201 'common/extensions/permissions/chrome_permission_message_provider.cc',
202 'common/extensions/permissions/chrome_permission_message_provider.h',
203 'common/extensions/sync_helper.cc',
204 'common/extensions/sync_helper.h',
205 'common/extensions/update_manifest.cc',
206 'common/extensions/update_manifest.h',
207 'common/favicon/favicon_url_parser.cc',
208 'common/favicon/favicon_url_parser.h',
209 'common/icon_with_badge_image_source.cc',
210 'common/icon_with_badge_image_source.h',
211 'common/importer/firefox_importer_utils.cc',
212 'common/importer/firefox_importer_utils.h',
213 'common/importer/firefox_importer_utils_linux.cc',
214 'common/importer/firefox_importer_utils_mac.mm',
215 'common/importer/firefox_importer_utils_win.cc',
216 'common/importer/ie_importer_test_registry_overrider_win.cc',
217 'common/importer/ie_importer_test_registry_overrider_win.h',
218 'common/importer/ie_importer_utils_win.cc',
219 'common/importer/ie_importer_utils_win.h',
220 'common/importer/imported_bookmark_entry.cc',
221 'common/importer/imported_bookmark_entry.h',
222 'common/importer/imported_favicon_usage.cc',
223 'common/importer/imported_favicon_usage.h',
224 'common/importer/importer_bridge.cc',
225 'common/importer/importer_bridge.h',
226 'common/importer/importer_data_types.cc',
227 'common/importer/importer_data_types.h',
228 'common/importer/importer_type.h',
229 'common/importer/importer_url_row.cc',
230 'common/importer/importer_url_row.h',
231 'common/importer/profile_import_process_messages.cc',
232 'common/importer/profile_import_process_messages.h',
233 'common/importer/safari_importer_utils.h',
234 'common/importer/safari_importer_utils.mm',
235 'common/instant_restricted_id_cache.h',
236 'common/instant_types.cc',
237 'common/instant_types.h',
238 'common/localized_error.cc',
239 'common/localized_error.h',
240 'common/logging_chrome.cc',
241 'common/logging_chrome.h',
242 'common/mac/app_mode_common.h',
243 'common/mac/app_mode_common.mm',
244 'common/mac/cfbundle_blocker.h',
245 'common/mac/cfbundle_blocker.mm',
246 'common/mac/launchd.h',
247 'common/mac/launchd.mm',
248 'common/mac/objc_method_swizzle.h',
249 'common/mac/objc_method_swizzle.mm',
250 'common/mac/objc_zombie.h',
251 'common/mac/objc_zombie.mm',
252 'common/media/webrtc_logging_messages.h',
253 'common/media/webrtc_logging_message_data.cc',
254 'common/media/webrtc_logging_message_data.h',
255 'common/metrics/caching_permuted_entropy_provider.cc',
256 'common/metrics/caching_permuted_entropy_provider.h',
257 'common/metrics/metrics_service_base.cc',
258 'common/metrics/metrics_service_base.h',
259 'common/metrics/variations/experiment_labels.cc',
260 'common/metrics/variations/experiment_labels.h',
261 'common/metrics/variations/uniformity_field_trials.cc',
262 'common/metrics/variations/uniformity_field_trials.h',
263 'common/metrics/variations/variations_util.cc',
264 'common/metrics/variations/variations_util.h',
265 'common/multi_process_lock.h',
266 'common/multi_process_lock_linux.cc',
267 'common/multi_process_lock_mac.cc',
268 'common/multi_process_lock_win.cc',
269 'common/omnibox_focus_state.h',
270 'common/partial_circular_buffer.cc',
271 'common/partial_circular_buffer.h',
272 'common/pepper_flash.cc',
273 'common/pepper_flash.h',
274 'common/pepper_permission_util.cc',
275 'common/pepper_permission_util.h',
276 'common/pref_names_util.cc',
277 'common/pref_names_util.h',
278 'common/prerender_types.h',
279 'common/print_messages.cc',
280 'common/print_messages.h',
281 'common/profiling.cc',
282 'common/profiling.h',
283 'common/ref_counted_util.h',
284 'common/render_messages.cc',
285 'common/render_messages.h',
286 'common/safe_browsing/download_protection_util.cc',
287 'common/safe_browsing/download_protection_util.h',
288 'common/safe_browsing/safebrowsing_messages.h',
289 'common/safe_browsing/zip_analyzer.cc',
290 'common/safe_browsing/zip_analyzer.h',
291 'common/search_provider.h',
292 'common/search_types.h',
293 'common/search_urls.cc',
294 'common/search_urls.h',
295 'common/service_messages.h',
296 'common/service_process_util.cc',
297 'common/service_process_util.h',
298 'common/service_process_util_linux.cc',
299 'common/service_process_util_mac.mm',
300 'common/service_process_util_posix.cc',
301 'common/service_process_util_posix.h',
302 'common/service_process_util_win.cc',
303 'common/spellcheck_common.cc',
304 'common/spellcheck_common.h',
305 'common/spellcheck_marker.h',
306 'common/spellcheck_messages.h',
307 'common/spellcheck_result.h',
308 'common/switch_utils.cc',
309 'common/switch_utils.h',
310 'common/thumbnail_score.cc',
311 'common/thumbnail_score.h',
312 'common/tts_messages.h',
313 'common/tts_utterance_request.cc',
314 'common/tts_utterance_request.h',
315 'common/url_constants.cc',
316 'common/url_constants.h',
317 'common/web_application_info.cc',
318 'common/web_application_info.h',
319 'common/worker_thread_ticker.cc',
320 'common/worker_thread_ticker.h',
323 ['enable_extensions==1', {
325 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
326 '../device/usb/usb.gyp:device_usb',
328 }, { # enable_extensions == 0
330 ['exclude', '^common/extensions/api/'],
331 ['include', 'common/extensions/api/extension_action/action_info.cc'],
332 ['include', 'common/extensions/api/extension_action/action_info.h'],
333 ['include', 'common/extensions/api/i18n/default_locale_handler.cc'],
334 ['include', 'common/extensions/api/i18n/default_locale_handler.h'],
335 ['include', 'common/extensions/api/identity/oauth2_manifest_handler.cc'],
336 ['include', 'common/extensions/api/identity/oauth2_manifest_handler.h'],
337 ['include', 'common/extensions/api/managed_mode_private/managed_mode_handler.cc'],
338 ['include', 'common/extensions/api/managed_mode_private/managed_mode_handler.h'],
339 ['include', 'common/extensions/api/plugins/plugins_handler.cc'],
340 ['include', 'common/extensions/api/plugins/plugins_handler.h'],
341 ['include', 'common/extensions/api/storage/storage_schema_manifest_handler.cc'],
342 ['include', 'common/extensions/api/storage/storage_schema_manifest_handler.h'],
345 ['OS=="win" or OS=="mac"', {
347 'common/extensions/api/networking_private/networking_private_crypto.cc',
348 'common/extensions/api/networking_private/networking_private_crypto.h',
349 'common/media_galleries/itunes_library.cc',
350 'common/media_galleries/itunes_library.h',
351 'common/media_galleries/picasa_types.cc',
352 'common/media_galleries/picasa_types.h',
353 'common/media_galleries/pmp_constants.h',
358 'common/media_galleries/iphoto_library.cc',
359 'common/media_galleries/iphoto_library.h',
364 '<(DEPTH)/apps/common/api/api.gyp:apps_api',
365 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
366 '<(DEPTH)/components/components.gyp:autofill_core_common',
367 '<(DEPTH)/components/components.gyp:autofill_content_common',
368 '<(DEPTH)/components/components.gyp:password_manager_core_common',
369 '<(DEPTH)/components/components.gyp:signin_core_common',
370 '<(DEPTH)/components/components.gyp:translate_content_common',
371 '<(DEPTH)/components/nacl.gyp:nacl_common',
372 '<(DEPTH)/components/components.gyp:visitedlink_common',
373 '<(DEPTH)/extensions/common/api/api.gyp:extensions_api',
374 '<(DEPTH)/extensions/extensions.gyp:extensions_common',
375 '<(DEPTH)/ipc/ipc.gyp:ipc',
376 '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h',
377 '<(DEPTH)/third_party/re2/re2.gyp:re2',
378 '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
380 'export_dependent_settings': [
381 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
385 ['exclude', '^common/child_process_'],
386 ['exclude', '^common/chrome_content_client\\.cc$'],
387 ['exclude', '^common/chrome_version_info_posix\\.cc$'],
388 ['exclude', '^common/common_message_generator\\.cc$'],
389 ['exclude', '^common/common_param_traits'],
390 ['exclude', '^common/custom_handlers/'],
391 ['exclude', '^common/extensions/'],
392 ['exclude', '^common/logging_chrome\\.'],
393 ['exclude', '^common/multi_process_'],
394 ['exclude', '^common/nacl_'],
395 ['exclude', '^common/pepper_flash\\.'],
396 ['exclude', '^common/profiling\\.'],
397 ['exclude', '^common/service_process_util_'],
398 ['exclude', '^common/spellcheck_'],
399 ['exclude', '^common/validation_message_'],
400 ['exclude', '^common/web_apps\\.'],
401 # TODO(ios): Include files here as they are made to work; once
402 # everything is online, remove everything below here and just
403 # use the exclusions above.
404 ['exclude', '\\.(cc|mm)$'],
405 ['include', '_ios\\.(cc|mm)$'],
406 ['include', '(^|/)ios/'],
407 ['include', '^common/chrome_version_info\\.cc$'],
408 ['include', '^common/translate'],
409 ['include', '^common/zip'],
412 '<(DEPTH)/breakpad/src',
415 ['enable_printing!=0', {
417 '<(DEPTH)/printing/printing.gyp:printing',
420 ['enable_service_discovery==1', {
422 'common/local_discovery/service_discovery_client.cc',
423 'common/local_discovery/service_discovery_client.h',
428 'common/local_discovery/service_discovery_client_impl.cc',
429 'common/local_discovery/service_discovery_client_impl.h',
434 ['exclude', '^common/chrome_version_info_posix.cc'],
435 ['exclude', '^common/importer/'],
436 ['include', '^common/importer/imported_favicon_usage.cc$'],
437 ['include', '^common/importer/imported_favicon_usage.h$'],
438 ['exclude', '^common/service_'],
441 'common/badge_util.cc',
442 'common/extensions/api/extension_action/browser_action_handler.cc',
443 'common/extensions/api/extension_action/page_action_handler.cc',
444 'common/extensions/api/spellcheck/spellcheck_handler.cc',
445 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
446 'common/extensions/manifest_handlers/nacl_modules_handler.cc',
447 'common/icon_with_badge_image_source.cc',
448 'common/net/url_util.cc',
449 'common/spellcheck_common.cc',
454 '<(DEPTH)/breakpad/src',
455 '<(DEPTH)/third_party/wtl/include',
458 ['enable_mdns == 1', {
460 'common/local_discovery/local_discovery_messages.h',
465 'common/chrome_version_info_linux.cc',
470 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
471 '../third_party/mach_override/mach_override.gyp:mach_override',
474 '<(DEPTH)/breakpad/src',
477 'common/child_process_logging_posix.cc',
478 'common/chrome_version_info_posix.cc',
483 '../remoting/remoting.gyp:remoting_client_plugin',
486 ['enable_plugins==0', {
488 'common/pepper_permission_util.cc',
491 ['enable_webrtc==0', {
493 'common/media/webrtc_logging_messages.h',
496 ['enable_printing==0', {
498 'common/print_messages.cc',
499 'common/print_messages.h',
502 ['configuration_policy==1', {
504 '<(DEPTH)/components/components.gyp:policy',
508 'target_conditions': [
511 # Pull in specific Mac files for iOS (which have been filtered out
512 # by file name rules).
513 ['include', '^common/chrome_version_info_mac\\.mm$'],
517 'export_dependent_settings': [
518 '../base/base.gyp:base',
523 'target_name': 'common_version',
526 ['os_posix == 1 and OS != "mac" and OS != "ios"', {
527 'direct_dependent_settings': {
529 '<(SHARED_INTERMEDIATE_DIR)',
532 # Because posix_version generates a header, we must set the
533 # hard_dependency flag.
534 'hard_dependency': 1,
537 'action_name': 'posix_version',
539 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE',
540 'version_py_path': '<(DEPTH)/build/util/version.py',
541 'version_path': 'VERSION',
542 'template_input_path': 'common/chrome_version_info_posix.h.version',
545 [ 'branding == "Chrome"', {
548 'app/theme/google_chrome/BRANDING',
550 }, { # else branding!="Chrome"
553 'app/theme/chromium/BRANDING',
558 '<(template_input_path)',
561 '<(lastchange_path)',
564 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_posix.h',
568 '<(version_py_path)',
569 '-f', '<(version_path)',
570 '-f', '<(branding_path)',
571 '-f', '<(lastchange_path)',
572 '<(template_input_path)',
575 'message': 'Generating version information',
582 'target_name': 'common_net',
583 'type': 'static_library',
585 'common/net/net_error_info.cc',
586 'common/net/net_error_info.h',
587 'common/net/net_resource_provider.cc',
588 'common/net/net_resource_provider.h',
589 'common/net/predictor_common.h',
590 'common/net/url_fixer_upper.cc',
591 'common/net/url_fixer_upper.h',
592 'common/net/url_util.cc',
593 'common/net/url_util.h',
594 'common/net/x509_certificate_model.cc',
595 'common/net/x509_certificate_model_nss.cc',
596 'common/net/x509_certificate_model_openssl.cc',
597 'common/net/x509_certificate_model.h',
600 '<(DEPTH)/base/base.gyp:base',
601 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
602 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
603 '<(DEPTH)/crypto/crypto.gyp:crypto',
604 '<(DEPTH)/net/net.gyp:net_resources',
605 '<(DEPTH)/net/net.gyp:net',
606 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
607 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
612 '<(DEPTH)/gpu/gpu.gyp:gpu_ipc',
616 'common/net/net_resource_provider.cc',
617 'common/net/x509_certificate_model.cc',
620 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
622 '../build/linux/system.gyp:ssl',
626 ['os_posix != 1 or OS == "mac" or OS == "ios"', {
628 'common/net/x509_certificate_model_nss.cc',
629 'common/net/x509_certificate_model_openssl.cc',
633 ['OS == "android"', {
635 '../third_party/openssl/openssl.gyp:openssl',
638 'common/net/x509_certificate_model.cc',
643 # networking_private_crypto.cc uses NSS functions.
644 'common/extensions/api/networking_private/networking_private_crypto.cc',
645 'common/net/x509_certificate_model_nss.cc',
648 { # else !use_openssl: remove the unneeded files
650 'common/net/x509_certificate_model_openssl.cc',
655 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
656 'msvs_disabled_warnings': [4267, ],
662 # Protobuf compiler / generator for the safebrowsing client
663 # model proto and the client-side detection (csd) request
665 'target_name': 'safe_browsing_proto',
666 'type': 'static_library',
668 'common/safe_browsing/client_model.proto',
669 'common/safe_browsing/crx_info.proto',
670 'common/safe_browsing/csd.proto'
673 'proto_in_dir': 'common/safe_browsing',
674 'proto_out_dir': 'chrome/common/safe_browsing',
676 'includes': [ '../build/protoc.gypi' ],
679 # Protobuf compiler / generator for UMA (User Metrics Analysis).
680 'target_name': 'metrics_proto',
681 'type': 'static_library',
683 'common/metrics/proto/chrome_experiments.proto',
684 'common/metrics/proto/permuted_entropy_cache.proto',
687 'proto_in_dir': 'common/metrics/proto',
688 'proto_out_dir': 'chrome/common/metrics/proto',
690 'includes': [ '../build/protoc.gypi' ],