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.
7 # File lists shared with GN build.
8 'chrome_common_sources': [
9 'common/all_messages.h',
10 'common/attrition_experiments.h',
11 'common/auto_start_linux.cc',
12 'common/auto_start_linux.h',
13 'common/badge_util.cc',
14 'common/badge_util.h',
15 'common/channel_info.cc',
16 'common/channel_info.h',
17 'common/channel_info_android.cc',
18 'common/channel_info_chromeos.cc',
19 'common/channel_info_mac.mm',
20 'common/channel_info_posix.cc',
21 'common/channel_info_win.cc',
22 'common/child_process_logging.h',
23 'common/child_process_logging_win.cc',
24 'common/chrome_content_client.cc',
25 'common/chrome_content_client.h',
26 'common/chrome_content_client_constants.cc',
27 'common/chrome_content_client_ios.mm',
28 'common/chrome_result_codes.h',
29 'common/chrome_utility_messages.h',
30 'common/chrome_utility_printing_messages.h',
31 'common/cloud_print/cloud_print_cdd_conversion.cc',
32 'common/cloud_print/cloud_print_cdd_conversion.h',
33 'common/cloud_print/cloud_print_class_mac.h',
34 'common/cloud_print/cloud_print_class_mac.mm',
35 'common/cloud_print/cloud_print_constants.cc',
36 'common/cloud_print/cloud_print_constants.h',
37 'common/cloud_print/cloud_print_helpers.cc',
38 'common/cloud_print/cloud_print_helpers.h',
39 'common/cloud_print/cloud_print_proxy_info.cc',
40 'common/cloud_print/cloud_print_proxy_info.h',
41 'common/common_message_generator.cc',
42 'common/common_message_generator.h',
43 'common/common_param_traits.cc',
44 'common/common_param_traits.h',
45 'common/common_param_traits_macros.h',
46 'common/component_flash_hint_file_linux.cc',
47 'common/component_flash_hint_file_linux.h',
48 'common/content_restriction.h',
49 'common/content_settings_pattern_serializer.cc',
50 'common/content_settings_pattern_serializer.h',
51 'common/crash_keys.cc',
52 'common/crash_keys.h',
53 'common/custom_handlers/protocol_handler.cc',
54 'common/custom_handlers/protocol_handler.h',
55 'common/descriptors_android.h',
56 'common/icon_with_badge_image_source.cc',
57 'common/icon_with_badge_image_source.h',
58 'common/ini_parser.cc',
59 'common/ini_parser.h',
60 'common/instant_types.cc',
61 'common/instant_types.h',
62 'common/localized_error.cc',
63 'common/localized_error.h',
64 'common/logging_chrome.cc',
65 'common/logging_chrome.h',
66 'common/mac/app_shim_launch.h',
67 'common/mac/app_shim_messages.h',
68 'common/mac/cfbundle_blocker.h',
69 'common/mac/cfbundle_blocker.mm',
70 'common/mac/launchd.h',
71 'common/mac/launchd.mm',
72 'common/media/webrtc_logging_message_data.cc',
73 'common/media/webrtc_logging_message_data.h',
74 'common/media/webrtc_logging_messages.h',
75 'common/media_galleries/metadata_types.h',
76 'common/metrics/version_utils.cc',
77 'common/metrics/version_utils.h',
78 'common/multi_process_lock.h',
79 'common/multi_process_lock_linux.cc',
80 'common/multi_process_lock_mac.cc',
81 'common/multi_process_lock_win.cc',
82 'common/partial_circular_buffer.cc',
83 'common/partial_circular_buffer.h',
84 'common/pref_names_util.cc',
85 'common/pref_names_util.h',
86 'common/prerender_types.h',
87 'common/profiling.cc',
89 'common/ref_counted_util.h',
90 'common/render_messages.cc',
91 'common/render_messages.h',
92 'common/resource_usage_reporter_type_converters.cc',
93 'common/resource_usage_reporter_type_converters.h',
94 'common/safe_browsing/safebrowsing_messages.h',
95 'common/search_provider.h',
96 'common/search_types.h',
97 'common/search_urls.cc',
98 'common/search_urls.h',
99 'common/secure_origin_whitelist.cc',
100 'common/secure_origin_whitelist.h',
101 'common/spellcheck_bdict_language.h',
102 'common/spellcheck_common.cc',
103 'common/spellcheck_common.h',
104 'common/spellcheck_marker.h',
105 'common/spellcheck_messages.h',
106 'common/spellcheck_result.h',
107 'common/switch_utils.cc',
108 'common/switch_utils.h',
109 'common/trace_event_args_whitelist.cc',
110 'common/trace_event_args_whitelist.h',
111 'common/tts_messages.h',
112 'common/tts_utterance_request.cc',
113 'common/tts_utterance_request.h',
114 'common/url_constants.cc',
115 'common/url_constants.h',
116 'common/v8_breakpad_support_win.cc',
117 'common/v8_breakpad_support_win.h',
118 'common/variations/variations_util.cc',
119 'common/variations/variations_util.h',
120 'common/web_application_info.cc',
121 'common/web_application_info.h',
122 'common/worker_thread_ticker.cc',
123 'common/worker_thread_ticker.h',
125 'chrome_common_extensions_sources': [
126 'common/extensions/api/commands/commands_handler.cc',
127 'common/extensions/api/commands/commands_handler.h',
128 'common/extensions/api/extension_action/action_info.cc',
129 'common/extensions/api/extension_action/action_info.h',
130 'common/extensions/api/notifications/notification_style.cc',
131 'common/extensions/api/notifications/notification_style.h',
132 'common/extensions/api/omnibox/omnibox_handler.cc',
133 'common/extensions/api/omnibox/omnibox_handler.h',
134 'common/extensions/api/plugins/plugins_handler.cc',
135 'common/extensions/api/plugins/plugins_handler.h',
136 'common/extensions/api/speech/tts_engine_manifest_handler.cc',
137 'common/extensions/api/speech/tts_engine_manifest_handler.h',
138 'common/extensions/api/spellcheck/spellcheck_handler.cc',
139 'common/extensions/api/spellcheck/spellcheck_handler.h',
140 'common/extensions/api/storage/storage_schema_manifest_handler.cc',
141 'common/extensions/api/storage/storage_schema_manifest_handler.h',
142 'common/extensions/api/system_indicator/system_indicator_handler.cc',
143 'common/extensions/api/system_indicator/system_indicator_handler.h',
144 'common/extensions/api/url_handlers/url_handlers_parser.cc',
145 'common/extensions/api/url_handlers/url_handlers_parser.h',
146 'common/extensions/api/webstore/webstore_api_constants.cc',
147 'common/extensions/api/webstore/webstore_api_constants.h',
148 'common/extensions/chrome_extension_messages.h',
149 'common/extensions/chrome_extensions_client.cc',
150 'common/extensions/chrome_extensions_client.h',
151 'common/extensions/chrome_manifest_handlers.cc',
152 'common/extensions/chrome_manifest_handlers.h',
153 'common/extensions/chrome_manifest_url_handlers.cc',
154 'common/extensions/chrome_manifest_url_handlers.h',
155 'common/extensions/chrome_utility_extensions_messages.h',
156 'common/extensions/command.cc',
157 'common/extensions/command.h',
158 'common/extensions/extension_constants.cc',
159 'common/extensions/extension_constants.h',
160 'common/extensions/extension_metrics.cc',
161 'common/extensions/extension_metrics.h',
162 'common/extensions/extension_process_policy.cc',
163 'common/extensions/extension_process_policy.h',
164 'common/extensions/features/chrome_channel_feature_filter.cc',
165 'common/extensions/features/chrome_channel_feature_filter.h',
166 'common/extensions/features/feature_channel.cc',
167 'common/extensions/features/feature_channel.h',
168 'common/extensions/image_writer/image_writer_util_mac.cc',
169 'common/extensions/image_writer/image_writer_util_mac.h',
170 'common/extensions/manifest_handlers/app_icon_color_info.cc',
171 'common/extensions/manifest_handlers/app_icon_color_info.h',
172 'common/extensions/manifest_handlers/app_launch_info.cc',
173 'common/extensions/manifest_handlers/app_launch_info.h',
174 'common/extensions/manifest_handlers/automation.cc',
175 'common/extensions/manifest_handlers/automation.h',
176 'common/extensions/manifest_handlers/content_scripts_handler.cc',
177 'common/extensions/manifest_handlers/content_scripts_handler.h',
178 'common/extensions/manifest_handlers/copresence_manifest.cc',
179 'common/extensions/manifest_handlers/copresence_manifest.h',
180 'common/extensions/manifest_handlers/extension_action_handler.cc',
181 'common/extensions/manifest_handlers/extension_action_handler.h',
182 'common/extensions/manifest_handlers/linked_app_icons.cc',
183 'common/extensions/manifest_handlers/linked_app_icons.h',
184 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
185 'common/extensions/manifest_handlers/minimum_chrome_version_checker.h',
186 'common/extensions/manifest_handlers/settings_overrides_handler.cc',
187 'common/extensions/manifest_handlers/settings_overrides_handler.h',
188 'common/extensions/manifest_handlers/theme_handler.cc',
189 'common/extensions/manifest_handlers/theme_handler.h',
190 'common/extensions/manifest_handlers/ui_overrides_handler.cc',
191 'common/extensions/manifest_handlers/ui_overrides_handler.h',
192 'common/extensions/permissions/chrome_api_permissions.cc',
193 'common/extensions/permissions/chrome_api_permissions.h',
194 'common/extensions/permissions/chrome_permission_message_provider.cc',
195 'common/extensions/permissions/chrome_permission_message_provider.h',
196 'common/extensions/permissions/chrome_permission_message_rules.cc',
197 'common/extensions/permissions/chrome_permission_message_rules.h',
198 'common/extensions/sync_helper.cc',
199 'common/extensions/sync_helper.h',
201 'chrome_common_extensions_chromeos_sources': [
202 'common/extensions/api/file_browser_handlers/file_browser_handler.cc',
203 'common/extensions/api/file_browser_handlers/file_browser_handler.h',
204 'common/extensions/api/file_system_provider_capabilities/file_system_provider_capabilities_handler.cc',
205 'common/extensions/api/file_system_provider_capabilities/file_system_provider_capabilities_handler.h',
206 'common/extensions/api/input_ime/input_components_handler.cc',
207 'common/extensions/api/input_ime/input_components_handler.h',
209 'chrome_common_full_safe_browsing_sources': [
210 'common/safe_browsing/binary_feature_extractor.cc',
211 'common/safe_browsing/binary_feature_extractor.h',
212 'common/safe_browsing/binary_feature_extractor_mac.cc',
213 'common/safe_browsing/binary_feature_extractor_posix.cc',
214 'common/safe_browsing/binary_feature_extractor_win.cc',
215 'common/safe_browsing/download_protection_util.cc',
216 'common/safe_browsing/download_protection_util.h',
217 'common/safe_browsing/ipc_protobuf_message_macros.h',
218 'common/safe_browsing/ipc_protobuf_message_null_macros.h',
219 'common/safe_browsing/mach_o_image_reader_mac.cc',
220 'common/safe_browsing/mach_o_image_reader_mac.h',
221 'common/safe_browsing/pe_image_reader_win.cc',
222 'common/safe_browsing/pe_image_reader_win.h',
223 'common/safe_browsing/protobuf_message_log_macros.h',
224 'common/safe_browsing/protobuf_message_param_traits.h',
225 'common/safe_browsing/protobuf_message_read_macros.h',
226 'common/safe_browsing/protobuf_message_write_macros.h',
227 'common/safe_browsing/zip_analyzer.cc',
228 'common/safe_browsing/zip_analyzer.h',
229 'common/safe_browsing/zip_analyzer_results.cc',
230 'common/safe_browsing/zip_analyzer_results.h',
232 'chrome_common_importer_sources': [
233 'common/importer/firefox_importer_utils.cc',
234 'common/importer/firefox_importer_utils.h',
235 'common/importer/firefox_importer_utils_linux.cc',
236 'common/importer/firefox_importer_utils_mac.mm',
237 'common/importer/firefox_importer_utils_win.cc',
238 'common/importer/ie_importer_test_registry_overrider_win.cc',
239 'common/importer/ie_importer_test_registry_overrider_win.h',
240 'common/importer/ie_importer_utils_win.cc',
241 'common/importer/ie_importer_utils_win.h',
242 'common/importer/imported_bookmark_entry.cc',
243 'common/importer/imported_bookmark_entry.h',
244 'common/importer/importer_autofill_form_data_entry.cc',
245 'common/importer/importer_autofill_form_data_entry.h',
246 'common/importer/importer_bridge.cc',
247 'common/importer/importer_bridge.h',
248 'common/importer/importer_data_types.cc',
249 'common/importer/importer_data_types.h',
250 'common/importer/importer_type.h',
251 'common/importer/importer_url_row.cc',
252 'common/importer/importer_url_row.h',
253 'common/importer/profile_import_process_messages.cc',
254 'common/importer/profile_import_process_messages.h',
255 'common/importer/profile_import_process_param_traits_macros.h',
256 'common/importer/safari_importer_utils.h',
257 'common/importer/safari_importer_utils.mm',
259 'chrome_common_ipc_fuzzer_sources': [
260 'common/external_ipc_dumper.cc',
261 'common/external_ipc_dumper.h',
263 'chrome_common_service_process_sources': [
264 'common/service_messages.h',
265 'common/service_process_util.cc',
266 'common/service_process_util.h',
267 'common/service_process_util_linux.cc',
268 'common/service_process_util_mac.mm',
269 'common/service_process_util_posix.cc',
270 'common/service_process_util_posix.h',
271 'common/service_process_util_win.cc',
273 'chrome_common_win_mac_sources': [
274 'common/media_galleries/itunes_library.cc',
275 'common/media_galleries/itunes_library.h',
276 'common/media_galleries/picasa_types.cc',
277 'common/media_galleries/picasa_types.h',
278 'common/media_galleries/pmp_constants.h',
280 'chrome_common_networking_private_sources_openssl' : [
281 'common/extensions/api/networking_private/networking_private_crypto.cc',
282 'common/extensions/api/networking_private/networking_private_crypto.h',
283 'common/extensions/api/networking_private/networking_private_crypto_openssl.cc',
285 'chrome_common_networking_private_sources_nss' : [
286 'common/extensions/api/networking_private/networking_private_crypto.cc',
287 'common/extensions/api/networking_private/networking_private_crypto.h',
288 'common/extensions/api/networking_private/networking_private_crypto_nss.cc',
291 'chrome_common_mac_sources': [
292 'common/media_galleries/iphoto_library.cc',
293 'common/media_galleries/iphoto_library.h',
298 # GN: //chrome/common:common
299 'target_name': 'common',
300 'type': 'static_library',
302 'chrome_common_target': 1,
303 'enable_wexit_time_destructors': 1,
307 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_content_client.cc.
309 'direct_dependent_settings': {
315 # TODO(gregoryd): chrome_resources and chrome_strings could be
316 # shared with the 64-bit target, but it does not work due to a gyp
319 'safe_browsing_proto',
320 '<(DEPTH)/base/base.gyp:base',
321 '<(DEPTH)/base/base.gyp:base_i18n',
322 '<(DEPTH)/base/base.gyp:base_prefs',
323 '<(DEPTH)/base/base.gyp:base_static',
324 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
325 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
326 '<(DEPTH)/chrome/chrome_resources.gyp:theme_resources',
327 '<(DEPTH)/chrome/common_constants.gyp:common_constants',
328 '<(DEPTH)/chrome/common/variations/fieldtrial_testing_config.gyp:fieldtrial_testing_config',
329 '<(DEPTH)/components/components.gyp:cloud_devices_common',
330 '<(DEPTH)/components/components.gyp:component_updater',
331 '<(DEPTH)/components/components.gyp:content_settings_core_common',
332 '<(DEPTH)/components/components.gyp:crash_core_common',
333 '<(DEPTH)/components/components.gyp:favicon_base',
334 '<(DEPTH)/components/components.gyp:gcm_driver_common',
335 '<(DEPTH)/components/components.gyp:json_schema',
336 '<(DEPTH)/components/components.gyp:metrics',
337 '<(DEPTH)/components/components.gyp:omnibox_common',
338 '<(DEPTH)/components/components.gyp:policy_component_common',
339 '<(DEPTH)/components/components.gyp:translate_core_common',
340 '<(DEPTH)/components/components.gyp:variations',
341 '<(DEPTH)/components/components.gyp:version_info',
342 '<(DEPTH)/components/components_strings.gyp:components_strings',
343 '<(DEPTH)/components/url_formatter/url_formatter.gyp:url_formatter',
344 '<(DEPTH)/content/content.gyp:content_common',
345 '<(DEPTH)/crypto/crypto.gyp:crypto',
346 '<(DEPTH)/net/net.gyp:net',
347 '<(DEPTH)/skia/skia.gyp:skia',
348 '<(DEPTH)/skia/skia.gyp:skia_library',
349 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
350 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
351 '<(DEPTH)/third_party/zlib/google/zip.gyp:zip',
352 '<(DEPTH)/ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
353 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
354 '<(DEPTH)/url/url.gyp:url_lib',
357 '<@(chrome_common_sources)'
360 ['enable_extensions==1', {
361 'sources': [ '<@(chrome_common_extensions_sources)' ],
363 '<(DEPTH)/device/usb/usb.gyp:device_usb',
364 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
365 '<(DEPTH)/extensions/common/api/api.gyp:extensions_api',
366 '<(DEPTH)/extensions/extensions.gyp:extensions_common',
367 '<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources',
368 '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings',
369 '<(DEPTH)/media/cast/cast.gyp:cast_net',
371 'export_dependent_settings': [
372 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
376 'sources': [ '<@(chrome_common_extensions_chromeos_sources)' ],
380 ['enable_extensions==1 and chromeos==1', {
381 'sources': [ '<@(chrome_common_extensions_chromeos_sources)' ],
383 ['OS=="win" or OS=="mac"', {
384 'sources': [ '<@(chrome_common_win_mac_sources)' ],
386 ['(OS=="win" or OS=="mac" or chromeos==1) and use_openssl==1', {
387 'sources': [ '<@(chrome_common_networking_private_sources_openssl)' ],
389 '../third_party/boringssl/boringssl.gyp:boringssl',
392 ['(OS=="win" or OS=="mac" or chromeos==1) and use_openssl!=1', {
393 'sources': [ '<@(chrome_common_networking_private_sources_nss)' ],
396 'sources': [ '<@(chrome_common_mac_sources)' ],
397 'dependencies': [ 'app_mode_app_support' ],
401 'common_mojo_bindings',
402 '<(DEPTH)/components/components.gyp:autofill_core_common',
403 '<(DEPTH)/components/components.gyp:autofill_content_common',
404 '<(DEPTH)/components/components.gyp:password_manager_core_common',
405 '<(DEPTH)/components/components.gyp:password_manager_content_common',
406 '<(DEPTH)/components/components.gyp:signin_core_common',
407 '<(DEPTH)/components/components.gyp:translate_content_common',
408 '<(DEPTH)/components/components.gyp:visitedlink_common',
409 '<(DEPTH)/extensions/extensions.gyp:extensions_common_constants',
410 '<(DEPTH)/ipc/ipc.gyp:ipc',
411 '<(DEPTH)/third_party/re2/re2.gyp:re2',
412 '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
416 ['exclude', '^common/child_process_'],
417 ['exclude', '^common/chrome_content_client\\.cc$'],
418 ['exclude', '^common/chrome_version_info_posix\\.cc$'],
419 ['exclude', '^common/common_message_generator\\.cc$'],
420 ['exclude', '^common/common_param_traits'],
421 ['exclude', '^common/custom_handlers/'],
422 ['exclude', '^common/extensions/'],
423 ['exclude', '^common/logging_chrome\\.'],
424 ['exclude', '^common/media_galleries/'],
425 ['exclude', '^common/multi_process_'],
426 ['exclude', '^common/profiling\\.'],
427 ['exclude', '^common/resource_usage_reporter_type_converters'],
428 ['exclude', '^common/spellcheck_'],
429 ['exclude', '^common/validation_message_'],
430 ['exclude', '^common/web_apps\\.'],
431 # TODO(ios): Include files here as they are made to work; once
432 # everything is online, remove everything below here and just
433 # use the exclusions above.
434 ['exclude', '\\.(cc|mm)$'],
435 ['include', '_ios\\.(cc|mm)$'],
436 ['include', '(^|/)ios/'],
437 ['include', '^common/chrome_version_info\\.cc$'],
438 ['include', '^common/translate'],
439 ['include', '^common/zip'],
442 '<(DEPTH)/breakpad/src',
445 ['disable_nacl==0', {
447 '<(DEPTH)/components/nacl.gyp:nacl_common',
450 ['enable_ipc_fuzzer==1', {
451 'sources': [ '<@(chrome_common_ipc_fuzzer_sources)' ],
453 ['enable_plugins==1', {
455 '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h',
458 'common/pepper_flash.cc',
459 'common/pepper_flash.h',
460 'common/ppapi_utils.cc',
461 'common/ppapi_utils.h',
464 ['enable_plugins==1 and enable_extensions==1', {
466 'common/pepper_permission_util.cc',
467 'common/pepper_permission_util.h',
470 ['enable_basic_printing==1 or enable_print_preview==1', {
472 '<(DEPTH)/components/components.gyp:printing_common',
473 '<(DEPTH)/printing/printing.gyp:printing',
476 ['enable_print_preview==1', {
477 'sources': [ '<@(chrome_common_service_process_sources)' ],
479 ['enable_service_discovery==1', {
481 'common/local_discovery/service_discovery_client.cc',
482 'common/local_discovery/service_discovery_client.h',
487 'common/local_discovery/service_discovery_client_impl.cc',
488 'common/local_discovery/service_discovery_client_impl.h',
493 'common/badge_util.cc',
494 'common/channel_info_posix.cc',
495 'common/extensions/api/spellcheck/spellcheck_handler.cc',
496 'common/extensions/manifest_handlers/extension_action_handler.cc',
497 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
498 'common/icon_with_badge_image_source.cc',
499 'common/media_galleries/metadata_types.h',
503 'sources': [ '<@(chrome_common_importer_sources)' ]
507 '<(DEPTH)/breakpad/src',
508 '<(DEPTH)/third_party/wtl/include',
511 '<(DEPTH)/components/components.gyp:dom_distiller_core', # Needed by chrome_content_client.cc.
514 ['enable_mdns == 1', {
516 'common/local_discovery/local_discovery_messages.h',
521 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
522 '../third_party/mach_override/mach_override.gyp:mach_override',
525 '<(DEPTH)/breakpad/src',
528 'common/channel_info_posix.cc',
531 ['enable_webrtc==0', {
533 'common/media/webrtc_logging_messages.h',
536 ['configuration_policy==1', {
538 '<(DEPTH)/components/components.gyp:policy',
541 ['safe_browsing==1', {
542 'sources': [ '<@(chrome_common_full_safe_browsing_sources)', ],
545 'target_conditions': [
548 # Pull in specific Mac files for iOS (which have been filtered out
549 # by file name rules).
550 ['include', '^common/chrome_version_info_mac\\.mm$'],
554 'export_dependent_settings': [
555 '../base/base.gyp:base',
559 # GN version: //chrome/common/net
560 'target_name': 'common_net',
561 'type': 'static_library',
563 'common/net/net_resource_provider.cc',
564 'common/net/net_resource_provider.h',
565 'common/net/x509_certificate_model.cc',
566 'common/net/x509_certificate_model.h',
567 'common/net/x509_certificate_model_nss.cc',
568 'common/net/x509_certificate_model_openssl.cc',
571 '<(DEPTH)/base/base.gyp:base',
572 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
573 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
574 '<(DEPTH)/components/url_formatter/url_formatter.gyp:url_formatter',
575 '<(DEPTH)/crypto/crypto.gyp:crypto',
576 '<(DEPTH)/net/net.gyp:net',
577 '<(DEPTH)/net/net.gyp:net_resources',
578 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
579 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
580 '<(DEPTH)/ui/base/ui_base.gyp:ui_base',
585 'common/net/net_resource_provider.cc',
588 ['OS == "android" or OS == "ios"', {
590 'common/net/x509_certificate_model.cc',
593 ['use_openssl_certs == 1 and OS != "android"', {
595 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl',
599 'common/net/x509_certificate_model_openssl.cc',
602 ['use_nss_certs == 1', {
604 '../build/linux/system.gyp:ssl',
608 'common/net/x509_certificate_model_nss.cc',
612 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
613 'msvs_disabled_warnings': [4267, ],
618 # Protobuf compiler / generator for the safebrowsing client
619 # model proto and the client-side detection (csd) request
622 # GN version: //chrome/common/safe_browsing:proto
623 'target_name': 'safe_browsing_proto',
624 'type': 'static_library',
626 'common/safe_browsing/client_model.proto',
627 'common/safe_browsing/crx_info.proto',
628 'common/safe_browsing/csd.proto'
631 'proto_in_dir': 'common/safe_browsing',
632 'proto_out_dir': 'chrome/common/safe_browsing',
634 'includes': [ '../build/protoc.gypi' ],
637 # GN version: //chrome/common:mojo_bindings
638 'target_name': 'common_mojo_bindings',
639 'type': 'static_library',
641 '../third_party/mojo/mojom_bindings_generator.gypi'
644 'common/resource_usage_reporter.mojom',
647 '../mojo/mojo_base.gyp:mojo_environment_chromium',
648 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',