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_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_mode_common.h',
67 'common/mac/app_mode_common.mm',
68 'common/mac/app_shim_launch.h',
69 'common/mac/app_shim_messages.h',
70 'common/mac/cfbundle_blocker.h',
71 'common/mac/cfbundle_blocker.mm',
72 'common/mac/launchd.h',
73 'common/mac/launchd.mm',
74 'common/mac/objc_zombie.h',
75 'common/mac/objc_zombie.mm',
76 'common/media/webrtc_logging_messages.h',
77 'common/media/webrtc_logging_message_data.cc',
78 'common/media/webrtc_logging_message_data.h',
79 'common/media_galleries/metadata_types.h',
80 'common/multi_process_lock.h',
81 'common/multi_process_lock_linux.cc',
82 'common/multi_process_lock_mac.cc',
83 'common/multi_process_lock_win.cc',
84 'common/omnibox_focus_state.h',
85 'common/partial_circular_buffer.cc',
86 'common/partial_circular_buffer.h',
87 'common/pref_names_util.cc',
88 'common/pref_names_util.h',
89 'common/prerender_types.h',
90 'common/print_messages.cc',
91 'common/print_messages.h',
92 'common/profiling.cc',
94 'common/ref_counted_util.h',
95 'common/render_messages.cc',
96 'common/render_messages.h',
97 'common/safe_browsing/safebrowsing_messages.h',
98 'common/search_provider.h',
99 'common/search_types.h',
100 'common/search_urls.cc',
101 'common/search_urls.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/terminate_on_heap_corruption_experiment_win.cc',
110 'common/terminate_on_heap_corruption_experiment_win.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/experiment_labels.cc',
119 'common/variations/experiment_labels.h',
120 'common/variations/uniformity_field_trials.cc',
121 'common/variations/uniformity_field_trials.h',
122 'common/variations/variations_util.cc',
123 'common/variations/variations_util.h',
124 'common/web_application_info.cc',
125 'common/web_application_info.h',
126 'common/worker_thread_ticker.cc',
127 'common/worker_thread_ticker.h',
129 'chrome_common_extensions_sources': [
130 'common/extensions/api/commands/commands_handler.cc',
131 'common/extensions/api/commands/commands_handler.h',
132 'common/extensions/api/extension_action/action_info.cc',
133 'common/extensions/api/extension_action/action_info.h',
134 'common/extensions/api/file_browser_handlers/file_browser_handler.cc',
135 'common/extensions/api/file_browser_handlers/file_browser_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/notifications/notification_style.cc',
139 'common/extensions/api/notifications/notification_style.h',
140 'common/extensions/api/omnibox/omnibox_handler.cc',
141 'common/extensions/api/omnibox/omnibox_handler.h',
142 'common/extensions/api/plugins/plugins_handler.cc',
143 'common/extensions/api/plugins/plugins_handler.h',
144 'common/extensions/api/speech/tts_engine_manifest_handler.cc',
145 'common/extensions/api/speech/tts_engine_manifest_handler.h',
146 'common/extensions/api/spellcheck/spellcheck_handler.cc',
147 'common/extensions/api/spellcheck/spellcheck_handler.h',
148 'common/extensions/api/storage/storage_schema_manifest_handler.cc',
149 'common/extensions/api/storage/storage_schema_manifest_handler.h',
150 'common/extensions/api/supervised_user_private/supervised_user_handler.cc',
151 'common/extensions/api/supervised_user_private/supervised_user_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/chrome_manifest_url_handlers.cc',
164 'common/extensions/chrome_manifest_url_handlers.h',
165 'common/extensions/chrome_utility_extensions_messages.h',
166 'common/extensions/command.cc',
167 'common/extensions/command.h',
168 'common/extensions/extension_constants.cc',
169 'common/extensions/extension_constants.h',
170 'common/extensions/extension_process_policy.cc',
171 'common/extensions/extension_process_policy.h',
172 'common/extensions/features/chrome_channel_feature_filter.cc',
173 'common/extensions/features/chrome_channel_feature_filter.h',
174 'common/extensions/features/feature_channel.cc',
175 'common/extensions/features/feature_channel.h',
176 'common/extensions/image_writer/image_writer_util_mac.cc',
177 'common/extensions/image_writer/image_writer_util_mac.h',
178 'common/extensions/manifest_handlers/app_isolation_info.cc',
179 'common/extensions/manifest_handlers/app_isolation_info.h',
180 'common/extensions/manifest_handlers/app_launch_info.cc',
181 'common/extensions/manifest_handlers/app_launch_info.h',
182 'common/extensions/manifest_handlers/automation.cc',
183 'common/extensions/manifest_handlers/automation.h',
184 'common/extensions/manifest_handlers/content_scripts_handler.cc',
185 'common/extensions/manifest_handlers/content_scripts_handler.h',
186 'common/extensions/manifest_handlers/extension_action_handler.cc',
187 'common/extensions/manifest_handlers/extension_action_handler.h',
188 'common/extensions/manifest_handlers/mime_types_handler.cc',
189 'common/extensions/manifest_handlers/mime_types_handler.h',
190 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
191 'common/extensions/manifest_handlers/minimum_chrome_version_checker.h',
192 'common/extensions/manifest_handlers/settings_overrides_handler.cc',
193 'common/extensions/manifest_handlers/settings_overrides_handler.h',
194 'common/extensions/manifest_handlers/theme_handler.cc',
195 'common/extensions/manifest_handlers/theme_handler.h',
196 'common/extensions/manifest_handlers/ui_overrides_handler.cc',
197 'common/extensions/manifest_handlers/ui_overrides_handler.h',
198 'common/extensions/permissions/chrome_api_permissions.cc',
199 'common/extensions/permissions/chrome_api_permissions.h',
200 'common/extensions/permissions/chrome_permission_message_provider.cc',
201 'common/extensions/permissions/chrome_permission_message_provider.h',
202 'common/extensions/sync_helper.cc',
203 'common/extensions/sync_helper.h',
205 'chrome_common_full_safe_browsing_sources': [
206 'common/safe_browsing/download_protection_util.cc',
207 'common/safe_browsing/download_protection_util.h',
208 'common/safe_browsing/zip_analyzer.cc',
209 'common/safe_browsing/zip_analyzer.h',
211 'chrome_common_importer_sources': [
212 'common/importer/firefox_importer_utils.cc',
213 'common/importer/firefox_importer_utils.h',
214 'common/importer/firefox_importer_utils_linux.cc',
215 'common/importer/firefox_importer_utils_mac.mm',
216 'common/importer/firefox_importer_utils_win.cc',
217 'common/importer/ie_importer_test_registry_overrider_win.cc',
218 'common/importer/ie_importer_test_registry_overrider_win.h',
219 'common/importer/ie_importer_utils_win.cc',
220 'common/importer/ie_importer_utils_win.h',
221 'common/importer/imported_bookmark_entry.cc',
222 'common/importer/imported_bookmark_entry.h',
223 'common/importer/imported_favicon_usage.cc',
224 'common/importer/imported_favicon_usage.h',
225 'common/importer/importer_autofill_form_data_entry.cc',
226 'common/importer/importer_autofill_form_data_entry.h',
227 'common/importer/importer_bridge.cc',
228 'common/importer/importer_bridge.h',
229 'common/importer/importer_data_types.cc',
230 'common/importer/importer_data_types.h',
231 'common/importer/importer_type.h',
232 'common/importer/importer_url_row.cc',
233 'common/importer/importer_url_row.h',
234 'common/importer/profile_import_process_messages.cc',
235 'common/importer/profile_import_process_messages.h',
236 'common/importer/profile_import_process_param_traits_macros.h',
237 'common/importer/safari_importer_utils.h',
238 'common/importer/safari_importer_utils.mm',
240 'chrome_common_service_process_sources': [
241 'common/service_messages.h',
242 'common/service_process_util.cc',
243 'common/service_process_util.h',
244 'common/service_process_util_linux.cc',
245 'common/service_process_util_mac.mm',
246 'common/service_process_util_posix.cc',
247 'common/service_process_util_posix.h',
248 'common/service_process_util_win.cc',
250 'chrome_common_win_mac_sources': [
251 'common/extensions/api/networking_private/networking_private_crypto_nss.cc',
252 'common/extensions/api/networking_private/networking_private_crypto_openssl.cc',
253 'common/extensions/api/networking_private/networking_private_crypto.cc',
254 'common/extensions/api/networking_private/networking_private_crypto.h',
255 'common/media_galleries/itunes_library.cc',
256 'common/media_galleries/itunes_library.h',
257 'common/media_galleries/picasa_types.cc',
258 'common/media_galleries/picasa_types.h',
259 'common/media_galleries/pmp_constants.h',
261 'chrome_common_mac_sources': [
262 'common/media_galleries/iphoto_library.cc',
263 'common/media_galleries/iphoto_library.h',
268 # GN: //chrome/common:common
269 'target_name': 'common',
270 'type': 'static_library',
272 'chrome_common_target': 1,
273 'enable_wexit_time_destructors': 1,
277 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_content_client.cc.
279 'direct_dependent_settings': {
285 # TODO(gregoryd): chrome_resources and chrome_strings could be
286 # shared with the 64-bit target, but it does not work due to a gyp
291 'safe_browsing_proto',
292 '<(DEPTH)/base/base.gyp:base',
293 '<(DEPTH)/base/base.gyp:base_i18n',
294 '<(DEPTH)/base/base.gyp:base_prefs',
295 '<(DEPTH)/base/base.gyp:base_static',
296 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
297 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
298 '<(DEPTH)/chrome/chrome_resources.gyp:theme_resources',
299 '<(DEPTH)/chrome/common_constants.gyp:common_constants',
300 '<(DEPTH)/components/components.gyp:cloud_devices_common',
301 '<(DEPTH)/components/components.gyp:component_updater',
302 '<(DEPTH)/components/components.gyp:content_settings_core_common',
303 '<(DEPTH)/components/components.gyp:json_schema',
304 '<(DEPTH)/components/components.gyp:metrics',
305 '<(DEPTH)/components/components.gyp:policy_component_common',
306 '<(DEPTH)/components/components.gyp:translate_core_common',
307 '<(DEPTH)/components/components.gyp:variations',
308 '<(DEPTH)/content/content.gyp:content_common',
309 '<(DEPTH)/crypto/crypto.gyp:crypto',
310 '<(DEPTH)/extensions/extensions.gyp:extensions_common_constants',
311 '<(DEPTH)/media/cast/cast.gyp:cast_net',
312 '<(DEPTH)/net/net.gyp:net',
313 '<(DEPTH)/skia/skia.gyp:skia',
314 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
315 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
316 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
317 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite',
318 '<(DEPTH)/third_party/zlib/google/zip.gyp:zip',
319 '<(DEPTH)/ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
320 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
321 '<(DEPTH)/url/url.gyp:url_lib',
324 '<@(chrome_common_sources)'
327 ['enable_extensions==1', {
328 'sources': [ '<@(chrome_common_extensions_sources)' ],
330 '<(DEPTH)/device/usb/usb.gyp:device_usb',
331 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
332 '<(DEPTH)/extensions/common/api/api.gyp:extensions_api',
333 '<(DEPTH)/extensions/extensions.gyp:extensions_common',
334 '<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources',
335 '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings',
337 'export_dependent_settings': [
338 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
341 ['OS=="win" or OS=="mac"', {
342 'sources': [ '<@(chrome_common_win_mac_sources)' ],
344 ['(OS=="win" or OS=="mac") and use_openssl==1', {
345 # networking_private_crypto_openssl.cc depends on boringssl.
347 '../third_party/boringssl/boringssl.gyp:boringssl',
351 'sources': [ '<@(chrome_common_mac_sources)' ],
355 '<(DEPTH)/components/components.gyp:autofill_core_common',
356 '<(DEPTH)/components/components.gyp:autofill_content_common',
357 '<(DEPTH)/components/components.gyp:password_manager_core_common',
358 '<(DEPTH)/components/components.gyp:password_manager_content_common',
359 '<(DEPTH)/components/components.gyp:signin_core_common',
360 '<(DEPTH)/components/components.gyp:translate_content_common',
361 '<(DEPTH)/components/components.gyp:visitedlink_common',
362 '<(DEPTH)/ipc/ipc.gyp:ipc',
363 '<(DEPTH)/third_party/re2/re2.gyp:re2',
364 '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
368 ['exclude', '^common/child_process_'],
369 ['exclude', '^common/chrome_content_client\\.cc$'],
370 ['exclude', '^common/chrome_version_info_posix\\.cc$'],
371 ['exclude', '^common/common_message_generator\\.cc$'],
372 ['exclude', '^common/common_param_traits'],
373 ['exclude', '^common/custom_handlers/'],
374 ['exclude', '^common/extensions/'],
375 ['exclude', '^common/logging_chrome\\.'],
376 ['exclude', '^common/media_galleries/'],
377 ['exclude', '^common/multi_process_'],
378 ['exclude', '^common/profiling\\.'],
379 ['exclude', '^common/spellcheck_'],
380 ['exclude', '^common/validation_message_'],
381 ['exclude', '^common/web_apps\\.'],
382 # TODO(ios): Include files here as they are made to work; once
383 # everything is online, remove everything below here and just
384 # use the exclusions above.
385 ['exclude', '\\.(cc|mm)$'],
386 ['include', '_ios\\.(cc|mm)$'],
387 ['include', '(^|/)ios/'],
388 ['include', '^common/chrome_version_info\\.cc$'],
389 ['include', '^common/translate'],
390 ['include', '^common/zip'],
393 '<(DEPTH)/breakpad/src',
396 ['disable_nacl==0', {
398 '<(DEPTH)/components/nacl.gyp:nacl_common',
399 '<(DEPTH)/ppapi/native_client/src/trusted/plugin/plugin.gyp:nacl_trusted_plugin',
402 ['enable_plugins==1', {
404 '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h',
407 'common/pepper_flash.cc',
408 'common/pepper_flash.h',
409 'common/pepper_permission_util.cc',
410 'common/pepper_permission_util.h',
413 ['enable_basic_printing==0 and enable_print_preview==0', {
415 'common/print_messages.cc',
416 'common/print_messages.h',
420 '<(DEPTH)/printing/printing.gyp:printing',
423 ['enable_print_preview==1', {
424 'sources': [ '<@(chrome_common_service_process_sources)' ],
426 ['enable_service_discovery==1', {
428 'common/local_discovery/service_discovery_client.cc',
429 'common/local_discovery/service_discovery_client.h',
434 'common/local_discovery/service_discovery_client_impl.cc',
435 'common/local_discovery/service_discovery_client_impl.h',
440 'common/badge_util.cc',
441 'common/chrome_version_info_posix.cc',
442 'common/extensions/api/spellcheck/spellcheck_handler.cc',
443 'common/extensions/manifest_handlers/extension_action_handler.cc',
444 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
445 'common/icon_with_badge_image_source.cc',
446 'common/media_galleries/metadata_types.h',
447 'common/net/url_util.cc',
448 'common/spellcheck_common.cc',
452 'sources': [ '<@(chrome_common_importer_sources)' ]
456 '<(DEPTH)/breakpad/src',
457 '<(DEPTH)/third_party/wtl/include',
460 '<(DEPTH)/components/components.gyp:dom_distiller_core', # Needed by chrome_content_client.cc.
463 ['enable_mdns == 1', {
465 'common/local_discovery/local_discovery_messages.h',
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/chrome_version_info_posix.cc',
482 '../remoting/remoting.gyp:remoting_client_plugin',
485 ['enable_webrtc==0', {
487 'common/media/webrtc_logging_messages.h',
490 ['configuration_policy==1', {
492 '<(DEPTH)/components/components.gyp:policy',
495 ['safe_browsing==1', {
496 'defines': [ 'FULL_SAFE_BROWSING' ],
497 'sources': [ '<@(chrome_common_full_safe_browsing_sources)', ],
499 ['safe_browsing==2', {
500 'defines': [ 'MOBILE_SAFE_BROWSING' ],
504 'common/extensions/api/networking_private/networking_private_crypto_nss.cc',
507 { # else !use_openssl
509 'common/extensions/api/networking_private/networking_private_crypto_openssl.cc',
514 'target_conditions': [
517 # Pull in specific Mac files for iOS (which have been filtered out
518 # by file name rules).
519 ['include', '^common/chrome_version_info_mac\\.mm$'],
523 'export_dependent_settings': [
524 '../base/base.gyp:base',
528 # GN version: //chrome/common:version
529 'target_name': 'common_version',
531 'direct_dependent_settings': {
533 '<(SHARED_INTERMEDIATE_DIR)',
536 # Because generate_version generates a header, we must set the
537 # hard_dependency flag.
538 'hard_dependency': 1,
541 'action_name': 'generate_version',
543 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE',
544 'version_py_path': '<(DEPTH)/build/util/version.py',
545 'version_path': 'VERSION',
546 'template_input_path': 'common/chrome_version_info_values.h.version',
549 [ 'branding == "Chrome"', {
552 'app/theme/google_chrome/BRANDING',
554 }, { # else branding!="Chrome"
557 'app/theme/chromium/BRANDING',
562 '<(template_input_path)',
565 '<(lastchange_path)',
568 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_values.h',
572 '<(version_py_path)',
573 '-f', '<(version_path)',
574 '-f', '<(branding_path)',
575 '-f', '<(lastchange_path)',
576 '<(template_input_path)',
579 'message': 'Generating version information',
584 # GN version: //chrome/common/net
585 'target_name': 'common_net',
586 'type': 'static_library',
588 'common/net/net_resource_provider.cc',
589 'common/net/net_resource_provider.h',
590 'common/net/url_util.cc',
591 'common/net/url_util.h',
592 'common/net/x509_certificate_model.cc',
593 'common/net/x509_certificate_model_nss.cc',
594 'common/net/x509_certificate_model_openssl.cc',
595 'common/net/x509_certificate_model.h',
598 '<(DEPTH)/base/base.gyp:base',
599 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
600 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
601 '<(DEPTH)/components/components.gyp:dns_prefetch_common',
602 '<(DEPTH)/components/components.gyp:error_page_common',
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/boringssl/boringssl.gyp:boringssl',
638 'common/net/x509_certificate_model.cc',
639 'common/net/x509_certificate_model_openssl.cc',
644 'common/net/x509_certificate_model_nss.cc',
647 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl',
650 { # else !use_openssl: remove the unneeded files
652 'common/net/x509_certificate_model_openssl.cc',
657 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
658 'msvs_disabled_warnings': [4267, ],
664 # Protobuf compiler / generator for the safebrowsing client
665 # model proto and the client-side detection (csd) request
668 # GN version: //chrome/common/safe_browsing:proto
669 'target_name': 'safe_browsing_proto',
670 'type': 'static_library',
672 'common/safe_browsing/client_model.proto',
673 'common/safe_browsing/crx_info.proto',
674 'common/safe_browsing/csd.proto'
677 'proto_in_dir': 'common/safe_browsing',
678 'proto_out_dir': 'chrome/common/safe_browsing',
680 'includes': [ '../build/protoc.gypi' ],