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/child_process_logging.h',
16 'common/child_process_logging_win.cc',
17 'common/chrome_content_client.cc',
18 'common/chrome_content_client.h',
19 'common/chrome_content_client_constants.cc',
20 'common/chrome_content_client_ios.mm',
21 'common/chrome_result_codes.h',
22 'common/chrome_utility_messages.h',
23 'common/chrome_utility_printing_messages.h',
24 'common/chrome_version_info.cc',
25 'common/chrome_version_info_android.cc',
26 'common/chrome_version_info_chromeos.cc',
27 'common/chrome_version_info_posix.cc',
28 'common/chrome_version_info_mac.mm',
29 'common/chrome_version_info_win.cc',
30 'common/chrome_version_info.h',
31 'common/cloud_print/cloud_print_class_mac.h',
32 'common/cloud_print/cloud_print_class_mac.mm',
33 'common/cloud_print/cloud_print_cdd_conversion.cc',
34 'common/cloud_print/cloud_print_cdd_conversion.h',
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/content_restriction.h',
47 'common/content_settings_pattern_serializer.cc',
48 'common/content_settings_pattern_serializer.h',
49 'common/crash_keys.cc',
50 'common/crash_keys.h',
51 'common/custom_handlers/protocol_handler.cc',
52 'common/custom_handlers/protocol_handler.h',
53 'common/descriptors_android.h',
54 'common/favicon/favicon_url_parser.cc',
55 'common/favicon/favicon_url_parser.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_restricted_id_cache.h',
61 'common/instant_types.cc',
62 'common/instant_types.h',
63 'common/localized_error.cc',
64 'common/localized_error.h',
65 'common/logging_chrome.cc',
66 'common/logging_chrome.h',
67 'common/mac/app_mode_common.h',
68 'common/mac/app_mode_common.mm',
69 'common/mac/app_shim_launch.h',
70 'common/mac/app_shim_messages.h',
71 'common/mac/cfbundle_blocker.h',
72 'common/mac/cfbundle_blocker.mm',
73 'common/mac/launchd.h',
74 'common/mac/launchd.mm',
75 'common/mac/objc_zombie.h',
76 'common/mac/objc_zombie.mm',
77 'common/media/webrtc_logging_messages.h',
78 'common/media/webrtc_logging_message_data.cc',
79 'common/media/webrtc_logging_message_data.h',
80 'common/media_galleries/metadata_types.h',
81 'common/multi_process_lock.h',
82 'common/multi_process_lock_linux.cc',
83 'common/multi_process_lock_mac.cc',
84 'common/multi_process_lock_win.cc',
85 'common/omnibox_focus_state.h',
86 'common/partial_circular_buffer.cc',
87 'common/partial_circular_buffer.h',
88 'common/pref_names_util.cc',
89 'common/pref_names_util.h',
90 'common/prerender_types.h',
91 'common/print_messages.cc',
92 'common/print_messages.h',
93 'common/profiling.cc',
95 'common/ref_counted_util.h',
96 'common/render_messages.cc',
97 'common/render_messages.h',
98 'common/safe_browsing/safebrowsing_messages.h',
99 'common/search_provider.h',
100 'common/search_types.h',
101 'common/search_urls.cc',
102 'common/search_urls.h',
103 'common/spellcheck_common.cc',
104 'common/spellcheck_common.h',
105 'common/spellcheck_marker.h',
106 'common/spellcheck_messages.h',
107 'common/spellcheck_result.h',
108 'common/switch_utils.cc',
109 'common/switch_utils.h',
110 'common/terminate_on_heap_corruption_experiment_win.cc',
111 'common/terminate_on_heap_corruption_experiment_win.h',
112 'common/tts_messages.h',
113 'common/tts_utterance_request.cc',
114 'common/tts_utterance_request.h',
115 'common/url_constants.cc',
116 'common/url_constants.h',
117 'common/v8_breakpad_support_win.cc',
118 'common/v8_breakpad_support_win.h',
119 'common/variations/experiment_labels.cc',
120 'common/variations/experiment_labels.h',
121 'common/variations/uniformity_field_trials.cc',
122 'common/variations/uniformity_field_trials.h',
123 'common/variations/variations_util.cc',
124 'common/variations/variations_util.h',
125 'common/web_application_info.cc',
126 'common/web_application_info.h',
127 'common/worker_thread_ticker.cc',
128 'common/worker_thread_ticker.h',
130 'chrome_common_extensions_sources': [
131 'common/extensions/api/commands/commands_handler.cc',
132 'common/extensions/api/commands/commands_handler.h',
133 'common/extensions/api/extension_action/action_info.cc',
134 'common/extensions/api/extension_action/action_info.h',
135 'common/extensions/api/file_browser_handlers/file_browser_handler.cc',
136 'common/extensions/api/file_browser_handlers/file_browser_handler.h',
137 'common/extensions/api/i18n/default_locale_handler.cc',
138 'common/extensions/api/i18n/default_locale_handler.h',
139 'common/extensions/api/input_ime/input_components_handler.cc',
140 'common/extensions/api/input_ime/input_components_handler.h',
141 'common/extensions/api/notifications/notification_style.cc',
142 'common/extensions/api/notifications/notification_style.h',
143 'common/extensions/api/omnibox/omnibox_handler.cc',
144 'common/extensions/api/omnibox/omnibox_handler.h',
145 'common/extensions/api/plugins/plugins_handler.cc',
146 'common/extensions/api/plugins/plugins_handler.h',
147 'common/extensions/api/speech/tts_engine_manifest_handler.cc',
148 'common/extensions/api/speech/tts_engine_manifest_handler.h',
149 'common/extensions/api/spellcheck/spellcheck_handler.cc',
150 'common/extensions/api/spellcheck/spellcheck_handler.h',
151 'common/extensions/api/storage/storage_schema_manifest_handler.cc',
152 'common/extensions/api/storage/storage_schema_manifest_handler.h',
153 'common/extensions/api/supervised_user_private/supervised_user_handler.cc',
154 'common/extensions/api/supervised_user_private/supervised_user_handler.h',
155 'common/extensions/api/system_indicator/system_indicator_handler.cc',
156 'common/extensions/api/system_indicator/system_indicator_handler.h',
157 'common/extensions/api/url_handlers/url_handlers_parser.cc',
158 'common/extensions/api/url_handlers/url_handlers_parser.h',
159 'common/extensions/api/webstore/webstore_api_constants.cc',
160 'common/extensions/api/webstore/webstore_api_constants.h',
161 'common/extensions/chrome_extension_messages.h',
162 'common/extensions/chrome_extensions_client.cc',
163 'common/extensions/chrome_extensions_client.h',
164 'common/extensions/chrome_manifest_handlers.cc',
165 'common/extensions/chrome_manifest_handlers.h',
166 'common/extensions/chrome_manifest_url_handlers.cc',
167 'common/extensions/chrome_manifest_url_handlers.h',
168 'common/extensions/chrome_utility_extensions_messages.h',
169 'common/extensions/command.cc',
170 'common/extensions/command.h',
171 'common/extensions/extension_constants.cc',
172 'common/extensions/extension_constants.h',
173 'common/extensions/extension_file_util.cc',
174 'common/extensions/extension_file_util.h',
175 'common/extensions/extension_process_policy.cc',
176 'common/extensions/extension_process_policy.h',
177 'common/extensions/features/chrome_channel_feature_filter.cc',
178 'common/extensions/features/chrome_channel_feature_filter.h',
179 'common/extensions/features/feature_channel.cc',
180 'common/extensions/features/feature_channel.h',
181 'common/extensions/image_writer/image_writer_util_mac.cc',
182 'common/extensions/image_writer/image_writer_util_mac.h',
183 'common/extensions/manifest_handlers/app_isolation_info.cc',
184 'common/extensions/manifest_handlers/app_isolation_info.h',
185 'common/extensions/manifest_handlers/app_launch_info.cc',
186 'common/extensions/manifest_handlers/app_launch_info.h',
187 'common/extensions/manifest_handlers/automation.cc',
188 'common/extensions/manifest_handlers/automation.h',
189 'common/extensions/manifest_handlers/content_scripts_handler.cc',
190 'common/extensions/manifest_handlers/content_scripts_handler.h',
191 'common/extensions/manifest_handlers/extension_action_handler.cc',
192 'common/extensions/manifest_handlers/extension_action_handler.h',
193 'common/extensions/manifest_handlers/mime_types_handler.cc',
194 'common/extensions/manifest_handlers/mime_types_handler.h',
195 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
196 'common/extensions/manifest_handlers/minimum_chrome_version_checker.h',
197 'common/extensions/manifest_handlers/settings_overrides_handler.cc',
198 'common/extensions/manifest_handlers/settings_overrides_handler.h',
199 'common/extensions/manifest_handlers/theme_handler.cc',
200 'common/extensions/manifest_handlers/theme_handler.h',
201 'common/extensions/manifest_handlers/ui_overrides_handler.cc',
202 'common/extensions/manifest_handlers/ui_overrides_handler.h',
203 'common/extensions/permissions/chrome_api_permissions.cc',
204 'common/extensions/permissions/chrome_api_permissions.h',
205 'common/extensions/permissions/chrome_permission_message_provider.cc',
206 'common/extensions/permissions/chrome_permission_message_provider.h',
207 'common/extensions/sync_helper.cc',
208 'common/extensions/sync_helper.h',
210 'chrome_common_full_safe_browsing_sources': [
211 'common/safe_browsing/download_protection_util.cc',
212 'common/safe_browsing/download_protection_util.h',
213 'common/safe_browsing/zip_analyzer.cc',
214 'common/safe_browsing/zip_analyzer.h',
216 'chrome_common_importer_sources': [
217 'common/importer/firefox_importer_utils.cc',
218 'common/importer/firefox_importer_utils.h',
219 'common/importer/firefox_importer_utils_linux.cc',
220 'common/importer/firefox_importer_utils_mac.mm',
221 'common/importer/firefox_importer_utils_win.cc',
222 'common/importer/ie_importer_test_registry_overrider_win.cc',
223 'common/importer/ie_importer_test_registry_overrider_win.h',
224 'common/importer/ie_importer_utils_win.cc',
225 'common/importer/ie_importer_utils_win.h',
226 'common/importer/imported_bookmark_entry.cc',
227 'common/importer/imported_bookmark_entry.h',
228 'common/importer/imported_favicon_usage.cc',
229 'common/importer/imported_favicon_usage.h',
230 'common/importer/importer_autofill_form_data_entry.cc',
231 'common/importer/importer_autofill_form_data_entry.h',
232 'common/importer/importer_bridge.cc',
233 'common/importer/importer_bridge.h',
234 'common/importer/importer_data_types.cc',
235 'common/importer/importer_data_types.h',
236 'common/importer/importer_type.h',
237 'common/importer/importer_url_row.cc',
238 'common/importer/importer_url_row.h',
239 'common/importer/profile_import_process_messages.cc',
240 'common/importer/profile_import_process_messages.h',
241 'common/importer/profile_import_process_param_traits_macros.h',
242 'common/importer/safari_importer_utils.h',
243 'common/importer/safari_importer_utils.mm',
245 'chrome_common_service_process_sources': [
246 'common/service_messages.h',
247 'common/service_process_util.cc',
248 'common/service_process_util.h',
249 'common/service_process_util_linux.cc',
250 'common/service_process_util_mac.mm',
251 'common/service_process_util_posix.cc',
252 'common/service_process_util_posix.h',
253 'common/service_process_util_win.cc',
255 'chrome_common_win_mac_sources': [
256 'common/extensions/api/networking_private/networking_private_crypto_nss.cc',
257 'common/extensions/api/networking_private/networking_private_crypto_openssl.cc',
258 'common/extensions/api/networking_private/networking_private_crypto.cc',
259 'common/extensions/api/networking_private/networking_private_crypto.h',
260 'common/media_galleries/itunes_library.cc',
261 'common/media_galleries/itunes_library.h',
262 'common/media_galleries/picasa_types.cc',
263 'common/media_galleries/picasa_types.h',
264 'common/media_galleries/pmp_constants.h',
266 'chrome_common_mac_sources': [
267 'common/media_galleries/iphoto_library.cc',
268 'common/media_galleries/iphoto_library.h',
273 'target_name': 'common',
274 'type': 'static_library',
276 'chrome_common_target': 1,
277 'enable_wexit_time_destructors': 1,
281 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_content_client.cc.
283 'direct_dependent_settings': {
289 # TODO(gregoryd): chrome_resources and chrome_strings could be
290 # shared with the 64-bit target, but it does not work due to a gyp
295 'safe_browsing_proto',
296 '<(DEPTH)/base/base.gyp:base',
297 '<(DEPTH)/base/base.gyp:base_i18n',
298 '<(DEPTH)/base/base.gyp:base_prefs',
299 '<(DEPTH)/base/base.gyp:base_static',
300 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
301 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
302 '<(DEPTH)/chrome/chrome_resources.gyp:theme_resources',
303 '<(DEPTH)/chrome/common_constants.gyp:common_constants',
304 '<(DEPTH)/components/components.gyp:cloud_devices_common',
305 '<(DEPTH)/components/components.gyp:component_updater',
306 '<(DEPTH)/components/components.gyp:content_settings_core_common',
307 '<(DEPTH)/components/components.gyp:json_schema',
308 '<(DEPTH)/components/components.gyp:metrics',
309 '<(DEPTH)/components/components.gyp:policy_component_common',
310 '<(DEPTH)/components/components.gyp:translate_core_common',
311 '<(DEPTH)/components/components.gyp:variations',
312 '<(DEPTH)/content/content.gyp:content_common',
313 '<(DEPTH)/crypto/crypto.gyp:crypto',
314 '<(DEPTH)/extensions/extensions.gyp:extensions_common_constants',
315 '<(DEPTH)/media/cast/cast.gyp:cast_net',
316 '<(DEPTH)/net/net.gyp:net',
317 '<(DEPTH)/skia/skia.gyp:skia',
318 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
319 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
320 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
321 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite',
322 '<(DEPTH)/third_party/zlib/google/zip.gyp:zip',
323 '<(DEPTH)/ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
324 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
325 '<(DEPTH)/url/url.gyp:url_lib',
328 '<@(chrome_common_sources)'
331 ['enable_extensions==1', {
332 'sources': [ '<@(chrome_common_extensions_sources)' ],
334 '<(DEPTH)/device/usb/usb.gyp:device_usb',
335 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
336 '<(DEPTH)/extensions/common/api/api.gyp:extensions_api',
337 '<(DEPTH)/extensions/extensions.gyp:extensions_common',
338 '<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources',
339 '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings',
341 'export_dependent_settings': [
342 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
345 ['OS=="win" or OS=="mac"', {
346 'sources': [ '<@(chrome_common_win_mac_sources)' ],
348 ['(OS=="win" or OS=="mac") and use_openssl==1', {
349 # networking_private_crypto_openssl.cc depends on boringssl.
351 '../third_party/boringssl/boringssl.gyp:boringssl',
355 'sources': [ '<@(chrome_common_mac_sources)' ],
359 '<(DEPTH)/components/components.gyp:autofill_core_common',
360 '<(DEPTH)/components/components.gyp:autofill_content_common',
361 '<(DEPTH)/components/components.gyp:password_manager_core_common',
362 '<(DEPTH)/components/components.gyp:password_manager_content_common',
363 '<(DEPTH)/components/components.gyp:signin_core_common',
364 '<(DEPTH)/components/components.gyp:translate_content_common',
365 '<(DEPTH)/components/components.gyp:visitedlink_common',
366 '<(DEPTH)/ipc/ipc.gyp:ipc',
367 '<(DEPTH)/third_party/re2/re2.gyp:re2',
368 '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
372 ['exclude', '^common/child_process_'],
373 ['exclude', '^common/chrome_content_client\\.cc$'],
374 ['exclude', '^common/chrome_version_info_posix\\.cc$'],
375 ['exclude', '^common/common_message_generator\\.cc$'],
376 ['exclude', '^common/common_param_traits'],
377 ['exclude', '^common/custom_handlers/'],
378 ['exclude', '^common/extensions/'],
379 ['exclude', '^common/logging_chrome\\.'],
380 ['exclude', '^common/media_galleries/'],
381 ['exclude', '^common/multi_process_'],
382 ['exclude', '^common/profiling\\.'],
383 ['exclude', '^common/spellcheck_'],
384 ['exclude', '^common/validation_message_'],
385 ['exclude', '^common/web_apps\\.'],
386 # TODO(ios): Include files here as they are made to work; once
387 # everything is online, remove everything below here and just
388 # use the exclusions above.
389 ['exclude', '\\.(cc|mm)$'],
390 ['include', '_ios\\.(cc|mm)$'],
391 ['include', '(^|/)ios/'],
392 ['include', '^common/chrome_version_info\\.cc$'],
393 ['include', '^common/translate'],
394 ['include', '^common/zip'],
397 '<(DEPTH)/breakpad/src',
400 ['disable_nacl==0', {
402 '<(DEPTH)/components/nacl.gyp:nacl_common',
403 '<(DEPTH)/ppapi/native_client/src/trusted/plugin/plugin.gyp:nacl_trusted_plugin',
406 ['enable_plugins==1', {
408 '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h',
411 'common/pepper_flash.cc',
412 'common/pepper_flash.h',
413 'common/pepper_permission_util.cc',
414 'common/pepper_permission_util.h',
417 ['enable_printing==0', {
419 'common/print_messages.cc',
420 'common/print_messages.h',
424 '<(DEPTH)/printing/printing.gyp:printing',
427 ['enable_printing==1', {
428 'sources': [ '<@(chrome_common_service_process_sources)' ],
430 ['enable_service_discovery==1', {
432 'common/local_discovery/service_discovery_client.cc',
433 'common/local_discovery/service_discovery_client.h',
438 'common/local_discovery/service_discovery_client_impl.cc',
439 'common/local_discovery/service_discovery_client_impl.h',
444 'common/badge_util.cc',
445 'common/chrome_version_info_posix.cc',
446 'common/extensions/api/spellcheck/spellcheck_handler.cc',
447 'common/extensions/manifest_handlers/extension_action_handler.cc',
448 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
449 'common/icon_with_badge_image_source.cc',
450 'common/media_galleries/metadata_types.h',
451 'common/net/url_util.cc',
452 'common/spellcheck_common.cc',
456 'sources': [ '<@(chrome_common_importer_sources)' ]
460 '<(DEPTH)/breakpad/src',
461 '<(DEPTH)/third_party/wtl/include',
464 '<(DEPTH)/components/components.gyp:dom_distiller_core', # Needed by chrome_content_client.cc.
467 ['enable_mdns == 1', {
469 'common/local_discovery/local_discovery_messages.h',
474 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
475 '../third_party/mach_override/mach_override.gyp:mach_override',
478 '<(DEPTH)/breakpad/src',
481 'common/chrome_version_info_posix.cc',
486 '../remoting/remoting.gyp:remoting_client_plugin',
489 ['enable_webrtc==0', {
491 'common/media/webrtc_logging_messages.h',
494 ['configuration_policy==1', {
496 '<(DEPTH)/components/components.gyp:policy',
499 ['safe_browsing==1', {
500 'defines': [ 'FULL_SAFE_BROWSING' ],
501 'sources': [ '<@(chrome_common_full_safe_browsing_sources)', ],
503 ['safe_browsing==2', {
504 'defines': [ 'MOBILE_SAFE_BROWSING' ],
508 'common/extensions/api/networking_private/networking_private_crypto_nss.cc',
511 { # else !use_openssl
513 'common/extensions/api/networking_private/networking_private_crypto_openssl.cc',
518 'target_conditions': [
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$'],
527 'export_dependent_settings': [
528 '../base/base.gyp:base',
532 # GN version: //chrome/common:version
533 'target_name': 'common_version',
535 'direct_dependent_settings': {
537 '<(SHARED_INTERMEDIATE_DIR)',
540 # Because generate_version generates a header, we must set the
541 # hard_dependency flag.
542 'hard_dependency': 1,
545 'action_name': 'generate_version',
547 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE',
548 'version_py_path': '<(DEPTH)/build/util/version.py',
549 'version_path': 'VERSION',
550 'template_input_path': 'common/chrome_version_info_values.h.version',
553 [ 'branding == "Chrome"', {
556 'app/theme/google_chrome/BRANDING',
558 }, { # else branding!="Chrome"
561 'app/theme/chromium/BRANDING',
566 '<(template_input_path)',
569 '<(lastchange_path)',
572 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_values.h',
576 '<(version_py_path)',
577 '-f', '<(version_path)',
578 '-f', '<(branding_path)',
579 '-f', '<(lastchange_path)',
580 '<(template_input_path)',
583 'message': 'Generating version information',
588 # GN version: //chrome/common/net
589 'target_name': 'common_net',
590 'type': 'static_library',
592 'common/net/net_resource_provider.cc',
593 'common/net/net_resource_provider.h',
594 'common/net/predictor_common.h',
595 'common/net/url_util.cc',
596 'common/net/url_util.h',
597 'common/net/x509_certificate_model.cc',
598 'common/net/x509_certificate_model_nss.cc',
599 'common/net/x509_certificate_model_openssl.cc',
600 'common/net/x509_certificate_model.h',
603 '<(DEPTH)/base/base.gyp:base',
604 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
605 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
606 '<(DEPTH)/components/components.gyp:error_page_common',
607 '<(DEPTH)/crypto/crypto.gyp:crypto',
608 '<(DEPTH)/net/net.gyp:net_resources',
609 '<(DEPTH)/net/net.gyp:net',
610 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
611 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
616 '<(DEPTH)/gpu/gpu.gyp:gpu_ipc',
620 'common/net/net_resource_provider.cc',
621 'common/net/x509_certificate_model.cc',
624 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
626 '../build/linux/system.gyp:ssl',
630 ['os_posix != 1 or OS == "mac" or OS == "ios"', {
632 'common/net/x509_certificate_model_nss.cc',
633 'common/net/x509_certificate_model_openssl.cc',
637 ['OS == "android"', {
639 '../third_party/boringssl/boringssl.gyp:boringssl',
642 'common/net/x509_certificate_model.cc',
643 'common/net/x509_certificate_model_openssl.cc',
648 'common/net/x509_certificate_model_nss.cc',
651 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl',
654 { # else !use_openssl: remove the unneeded files
656 'common/net/x509_certificate_model_openssl.cc',
661 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
662 'msvs_disabled_warnings': [4267, ],
668 # Protobuf compiler / generator for the safebrowsing client
669 # model proto and the client-side detection (csd) request
672 # GN version: //chrome/common/safe_browsing:proto
673 'target_name': 'safe_browsing_proto',
674 'type': 'static_library',
676 'common/safe_browsing/client_model.proto',
677 'common/safe_browsing/crx_info.proto',
678 'common/safe_browsing/csd.proto'
681 'proto_in_dir': 'common/safe_browsing',
682 'proto_out_dir': 'chrome/common/safe_browsing',
684 'includes': [ '../build/protoc.gypi' ],