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 '../apps/app_shim/app_shim_launch.h',
10 '../apps/app_shim/app_shim_messages.h',
11 'common/all_messages.h',
12 'common/attrition_experiments.h',
13 'common/auto_start_linux.cc',
14 'common/auto_start_linux.h',
15 'common/badge_util.cc',
16 'common/badge_util.h',
17 'common/child_process_logging.h',
18 'common/child_process_logging_win.cc',
19 'common/chrome_content_client.cc',
20 'common/chrome_content_client.h',
21 'common/chrome_content_client_constants.cc',
22 'common/chrome_content_client_ios.mm',
23 'common/chrome_result_codes.h',
24 'common/chrome_utility_messages.h',
25 'common/chrome_utility_printing_messages.h',
26 'common/chrome_version_info.cc',
27 'common/chrome_version_info_android.cc',
28 'common/chrome_version_info_chromeos.cc',
29 'common/chrome_version_info_posix.cc',
30 'common/chrome_version_info_mac.mm',
31 'common/chrome_version_info_win.cc',
32 'common/chrome_version_info.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_cdd_conversion.cc',
36 'common/cloud_print/cloud_print_cdd_conversion.h',
37 'common/cloud_print/cloud_print_constants.cc',
38 'common/cloud_print/cloud_print_constants.h',
39 'common/cloud_print/cloud_print_helpers.cc',
40 'common/cloud_print/cloud_print_helpers.h',
41 'common/cloud_print/cloud_print_proxy_info.cc',
42 'common/cloud_print/cloud_print_proxy_info.h',
43 'common/common_message_generator.cc',
44 'common/common_message_generator.h',
45 'common/common_param_traits.cc',
46 'common/common_param_traits.h',
47 'common/common_param_traits_macros.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/extensions/api/extension_action/action_info.cc',
57 'common/extensions/api/extension_action/action_info.h',
58 'common/extensions/api/i18n/default_locale_handler.cc',
59 'common/extensions/api/i18n/default_locale_handler.h',
60 'common/extensions/api/identity/oauth2_manifest_handler.cc',
61 'common/extensions/api/identity/oauth2_manifest_handler.h',
62 'common/extensions/api/plugins/plugins_handler.cc',
63 'common/extensions/api/plugins/plugins_handler.h',
64 'common/extensions/api/storage/storage_schema_manifest_handler.cc',
65 'common/extensions/api/storage/storage_schema_manifest_handler.h',
66 'common/extensions/api/supervised_user_private/supervised_user_handler.cc',
67 'common/extensions/api/supervised_user_private/supervised_user_handler.h',
68 'common/extensions/chrome_extension_messages.h',
69 'common/extensions/chrome_extensions_client.cc',
70 'common/extensions/chrome_extensions_client.h',
71 'common/extensions/chrome_manifest_handlers.cc',
72 'common/extensions/chrome_manifest_handlers.h',
73 'common/extensions/chrome_utility_extensions_messages.h',
74 'common/extensions/command.cc',
75 'common/extensions/command.h',
76 'common/extensions/extension_constants.cc',
77 'common/extensions/extension_constants.h',
78 'common/extensions/extension_file_util.cc',
79 'common/extensions/extension_file_util.h',
80 'common/extensions/extension_process_policy.cc',
81 'common/extensions/extension_process_policy.h',
82 'common/extensions/features/chrome_channel_feature_filter.cc',
83 'common/extensions/features/chrome_channel_feature_filter.h',
84 'common/extensions/features/feature_channel.cc',
85 'common/extensions/features/feature_channel.h',
86 'common/extensions/image_writer/image_writer_util_mac.cc',
87 'common/extensions/image_writer/image_writer_util_mac.h',
88 'common/extensions/manifest_handlers/app_isolation_info.cc',
89 'common/extensions/manifest_handlers/app_isolation_info.h',
90 'common/extensions/manifest_handlers/app_launch_info.cc',
91 'common/extensions/manifest_handlers/app_launch_info.h',
92 'common/extensions/manifest_handlers/automation.h',
93 'common/extensions/manifest_handlers/automation.cc',
94 'common/extensions/manifest_handlers/content_scripts_handler.cc',
95 'common/extensions/manifest_handlers/content_scripts_handler.h',
96 'common/extensions/manifest_handlers/mime_types_handler.cc',
97 'common/extensions/manifest_handlers/mime_types_handler.h',
98 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
99 'common/extensions/manifest_handlers/minimum_chrome_version_checker.h',
100 'common/extensions/manifest_handlers/settings_overrides_handler.cc',
101 'common/extensions/manifest_handlers/settings_overrides_handler.h',
102 'common/extensions/manifest_handlers/synthesize_browser_action_handler.cc',
103 'common/extensions/manifest_handlers/synthesize_browser_action_handler.h',
104 'common/extensions/manifest_handlers/theme_handler.cc',
105 'common/extensions/manifest_handlers/theme_handler.h',
106 'common/extensions/manifest_handlers/ui_overrides_handler.cc',
107 'common/extensions/manifest_handlers/ui_overrides_handler.h',
108 'common/extensions/manifest_url_handler.cc',
109 'common/extensions/manifest_url_handler.h',
110 'common/extensions/permissions/chrome_api_permissions.cc',
111 'common/extensions/permissions/chrome_api_permissions.h',
112 'common/extensions/permissions/chrome_permission_message_provider.cc',
113 'common/extensions/permissions/chrome_permission_message_provider.h',
114 'common/extensions/sync_helper.cc',
115 'common/extensions/sync_helper.h',
116 'common/favicon/favicon_url_parser.cc',
117 'common/favicon/favicon_url_parser.h',
118 'common/icon_with_badge_image_source.cc',
119 'common/icon_with_badge_image_source.h',
120 'common/ini_parser.cc',
121 'common/ini_parser.h',
122 'common/instant_restricted_id_cache.h',
123 'common/instant_types.cc',
124 'common/instant_types.h',
125 'common/localized_error.cc',
126 'common/localized_error.h',
127 'common/logging_chrome.cc',
128 'common/logging_chrome.h',
129 'common/mac/app_mode_common.h',
130 'common/mac/app_mode_common.mm',
131 'common/mac/cfbundle_blocker.h',
132 'common/mac/cfbundle_blocker.mm',
133 'common/mac/launchd.h',
134 'common/mac/launchd.mm',
135 'common/mac/objc_zombie.h',
136 'common/mac/objc_zombie.mm',
137 'common/media/webrtc_logging_messages.h',
138 'common/media/webrtc_logging_message_data.cc',
139 'common/media/webrtc_logging_message_data.h',
140 'common/media_galleries/metadata_types.h',
141 'common/multi_process_lock.h',
142 'common/multi_process_lock_linux.cc',
143 'common/multi_process_lock_mac.cc',
144 'common/multi_process_lock_win.cc',
145 'common/omnibox_focus_state.h',
146 'common/partial_circular_buffer.cc',
147 'common/partial_circular_buffer.h',
148 'common/pref_names_util.cc',
149 'common/pref_names_util.h',
150 'common/prerender_types.h',
151 'common/print_messages.cc',
152 'common/print_messages.h',
153 'common/profiling.cc',
154 'common/profiling.h',
155 'common/ref_counted_util.h',
156 'common/render_messages.cc',
157 'common/render_messages.h',
158 'common/safe_browsing/safebrowsing_messages.h',
159 'common/search_provider.h',
160 'common/search_types.h',
161 'common/search_urls.cc',
162 'common/search_urls.h',
163 'common/spellcheck_common.cc',
164 'common/spellcheck_common.h',
165 'common/spellcheck_marker.h',
166 'common/spellcheck_messages.h',
167 'common/spellcheck_result.h',
168 'common/switch_utils.cc',
169 'common/switch_utils.h',
170 'common/terminate_on_heap_corruption_experiment_win.cc',
171 'common/terminate_on_heap_corruption_experiment_win.h',
172 'common/tts_messages.h',
173 'common/tts_utterance_request.cc',
174 'common/tts_utterance_request.h',
175 'common/url_constants.cc',
176 'common/url_constants.h',
177 'common/variations/experiment_labels.cc',
178 'common/variations/experiment_labels.h',
179 'common/variations/uniformity_field_trials.cc',
180 'common/variations/uniformity_field_trials.h',
181 'common/variations/variations_util.cc',
182 'common/variations/variations_util.h',
183 'common/web_application_info.cc',
184 'common/web_application_info.h',
185 'common/worker_thread_ticker.cc',
186 'common/worker_thread_ticker.h',
188 'chrome_common_extensions_sources': [
189 'common/extensions/api/commands/commands_handler.cc',
190 'common/extensions/api/commands/commands_handler.h',
191 'common/extensions/api/extension_action/browser_action_handler.cc',
192 'common/extensions/api/extension_action/browser_action_handler.h',
193 'common/extensions/api/extension_action/page_action_handler.cc',
194 'common/extensions/api/extension_action/page_action_handler.h',
195 'common/extensions/api/file_browser_handlers/file_browser_handler.cc',
196 'common/extensions/api/file_browser_handlers/file_browser_handler.h',
197 'common/extensions/api/input_ime/input_components_handler.cc',
198 'common/extensions/api/input_ime/input_components_handler.h',
199 'common/extensions/api/notifications/notification_style.cc',
200 'common/extensions/api/notifications/notification_style.h',
201 'common/extensions/api/omnibox/omnibox_handler.cc',
202 'common/extensions/api/omnibox/omnibox_handler.h',
203 'common/extensions/api/speech/tts_engine_manifest_handler.cc',
204 'common/extensions/api/speech/tts_engine_manifest_handler.h',
205 'common/extensions/api/spellcheck/spellcheck_handler.cc',
206 'common/extensions/api/spellcheck/spellcheck_handler.h',
207 'common/extensions/api/system_indicator/system_indicator_handler.cc',
208 'common/extensions/api/system_indicator/system_indicator_handler.h',
209 'common/extensions/api/url_handlers/url_handlers_parser.cc',
210 'common/extensions/api/url_handlers/url_handlers_parser.h',
211 'common/extensions/api/webstore/webstore_api_constants.cc',
212 'common/extensions/api/webstore/webstore_api_constants.h',
214 'chrome_common_full_safe_browsing_sources': [
215 'common/safe_browsing/download_protection_util.cc',
216 'common/safe_browsing/download_protection_util.h',
217 'common/safe_browsing/zip_analyzer.cc',
218 'common/safe_browsing/zip_analyzer.h',
220 'chrome_common_importer_sources': [
221 'common/importer/firefox_importer_utils.cc',
222 'common/importer/firefox_importer_utils.h',
223 'common/importer/firefox_importer_utils_linux.cc',
224 'common/importer/firefox_importer_utils_mac.mm',
225 'common/importer/firefox_importer_utils_win.cc',
226 'common/importer/ie_importer_test_registry_overrider_win.cc',
227 'common/importer/ie_importer_test_registry_overrider_win.h',
228 'common/importer/ie_importer_utils_win.cc',
229 'common/importer/ie_importer_utils_win.h',
230 'common/importer/imported_bookmark_entry.cc',
231 'common/importer/imported_bookmark_entry.h',
232 'common/importer/imported_favicon_usage.cc',
233 'common/importer/imported_favicon_usage.h',
234 'common/importer/importer_autofill_form_data_entry.cc',
235 'common/importer/importer_autofill_form_data_entry.h',
236 'common/importer/importer_bridge.cc',
237 'common/importer/importer_bridge.h',
238 'common/importer/importer_data_types.cc',
239 'common/importer/importer_data_types.h',
240 'common/importer/importer_type.h',
241 'common/importer/importer_url_row.cc',
242 'common/importer/importer_url_row.h',
243 'common/importer/profile_import_process_messages.cc',
244 'common/importer/profile_import_process_messages.h',
245 'common/importer/profile_import_process_param_traits_macros.h',
246 'common/importer/safari_importer_utils.h',
247 'common/importer/safari_importer_utils.mm',
249 'chrome_common_service_process_sources': [
250 'common/service_messages.h',
251 'common/service_process_util.cc',
252 'common/service_process_util.h',
253 'common/service_process_util_linux.cc',
254 'common/service_process_util_mac.mm',
255 'common/service_process_util_posix.cc',
256 'common/service_process_util_posix.h',
257 'common/service_process_util_win.cc',
259 'chrome_common_win_mac_sources': [
260 'common/extensions/api/networking_private/networking_private_crypto_nss.cc',
261 'common/extensions/api/networking_private/networking_private_crypto_openssl.cc',
262 'common/extensions/api/networking_private/networking_private_crypto.cc',
263 'common/extensions/api/networking_private/networking_private_crypto.h',
264 'common/media_galleries/itunes_library.cc',
265 'common/media_galleries/itunes_library.h',
266 'common/media_galleries/picasa_types.cc',
267 'common/media_galleries/picasa_types.h',
268 'common/media_galleries/pmp_constants.h',
270 'chrome_common_mac_sources': [
271 'common/media_galleries/iphoto_library.cc',
272 'common/media_galleries/iphoto_library.h',
277 'target_name': 'common',
278 'type': 'static_library',
280 'chrome_common_target': 1,
281 'enable_wexit_time_destructors': 1,
285 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_content_client.cc.
287 'direct_dependent_settings': {
293 # TODO(gregoryd): chrome_resources and chrome_strings could be
294 # shared with the 64-bit target, but it does not work due to a gyp
299 'safe_browsing_proto',
300 '<(DEPTH)/base/base.gyp:base',
301 '<(DEPTH)/base/base.gyp:base_i18n',
302 '<(DEPTH)/base/base.gyp:base_prefs',
303 '<(DEPTH)/base/base.gyp:base_static',
304 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
305 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
306 '<(DEPTH)/chrome/chrome_resources.gyp:theme_resources',
307 '<(DEPTH)/chrome/common_constants.gyp:common_constants',
308 '<(DEPTH)/components/components.gyp:cloud_devices_common',
309 '<(DEPTH)/components/components.gyp:component_updater',
310 '<(DEPTH)/components/components.gyp:content_settings_core_common',
311 '<(DEPTH)/components/components.gyp:json_schema',
312 '<(DEPTH)/components/components.gyp:metrics',
313 '<(DEPTH)/components/components.gyp:policy_component_common',
314 '<(DEPTH)/components/components.gyp:translate_core_common',
315 '<(DEPTH)/components/components.gyp:variations',
316 '<(DEPTH)/content/content.gyp:content_common',
317 '<(DEPTH)/crypto/crypto.gyp:crypto',
318 '<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources',
319 '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings',
320 '<(DEPTH)/media/cast/cast.gyp:cast_net',
321 '<(DEPTH)/net/net.gyp:net',
322 '<(DEPTH)/skia/skia.gyp:skia',
323 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
324 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
325 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
326 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite',
327 '<(DEPTH)/third_party/zlib/google/zip.gyp:zip',
328 '<(DEPTH)/ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
329 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
330 '<(DEPTH)/url/url.gyp:url_lib',
333 '<@(chrome_common_sources)'
336 ['enable_extensions==1', {
337 'sources': [ '<@(chrome_common_extensions_sources)' ],
339 '../device/usb/usb.gyp:device_usb',
342 ['OS=="win" or OS=="mac"', {
343 'sources': [ '<@(chrome_common_win_mac_sources)' ],
345 ['(OS=="win" or OS=="mac") and use_openssl==1', {
346 # networking_private_crypto_openssl.cc depends on boringssl.
348 '../third_party/boringssl/boringssl.gyp:boringssl',
352 'sources': [ '<@(chrome_common_mac_sources)' ],
356 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
357 '<(DEPTH)/components/components.gyp:autofill_core_common',
358 '<(DEPTH)/components/components.gyp:autofill_content_common',
359 '<(DEPTH)/components/components.gyp:password_manager_core_common',
360 '<(DEPTH)/components/components.gyp:password_manager_content_common',
361 '<(DEPTH)/components/components.gyp:signin_core_common',
362 '<(DEPTH)/components/components.gyp:translate_content_common',
363 '<(DEPTH)/components/components.gyp:visitedlink_common',
364 '<(DEPTH)/extensions/common/api/api.gyp:extensions_api',
365 '<(DEPTH)/extensions/extensions.gyp:extensions_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',
370 'export_dependent_settings': [
371 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
375 ['exclude', '^common/child_process_'],
376 ['exclude', '^common/chrome_content_client\\.cc$'],
377 ['exclude', '^common/chrome_version_info_posix\\.cc$'],
378 ['exclude', '^common/common_message_generator\\.cc$'],
379 ['exclude', '^common/common_param_traits'],
380 ['exclude', '^common/custom_handlers/'],
381 ['exclude', '^common/extensions/'],
382 ['exclude', '^common/logging_chrome\\.'],
383 ['exclude', '^common/media_galleries/'],
384 ['exclude', '^common/multi_process_'],
385 ['exclude', '^common/profiling\\.'],
386 ['exclude', '^common/spellcheck_'],
387 ['exclude', '^common/validation_message_'],
388 ['exclude', '^common/web_apps\\.'],
389 # TODO(ios): Include files here as they are made to work; once
390 # everything is online, remove everything below here and just
391 # use the exclusions above.
392 ['exclude', '\\.(cc|mm)$'],
393 ['include', '_ios\\.(cc|mm)$'],
394 ['include', '(^|/)ios/'],
395 ['include', '^common/chrome_version_info\\.cc$'],
396 ['include', '^common/translate'],
397 ['include', '^common/zip'],
400 '<(DEPTH)/breakpad/src',
403 ['disable_nacl==0', {
405 '<(DEPTH)/components/nacl.gyp:nacl_common',
406 '<(DEPTH)/ppapi/native_client/src/trusted/plugin/plugin.gyp:nacl_trusted_plugin',
409 ['enable_plugins==1', {
411 '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h',
414 'common/pepper_flash.cc',
415 'common/pepper_flash.h',
416 'common/pepper_permission_util.cc',
417 'common/pepper_permission_util.h',
420 ['enable_printing==0', {
422 'common/print_messages.cc',
423 'common/print_messages.h',
427 '<(DEPTH)/printing/printing.gyp:printing',
430 ['enable_printing==1', {
431 'sources': [ '<@(chrome_common_service_process_sources)' ],
433 ['enable_service_discovery==1', {
435 'common/local_discovery/service_discovery_client.cc',
436 'common/local_discovery/service_discovery_client.h',
441 'common/local_discovery/service_discovery_client_impl.cc',
442 'common/local_discovery/service_discovery_client_impl.h',
447 'common/badge_util.cc',
448 'common/chrome_version_info_posix.cc',
449 'common/extensions/api/extension_action/browser_action_handler.cc',
450 'common/extensions/api/extension_action/page_action_handler.cc',
451 'common/extensions/api/spellcheck/spellcheck_handler.cc',
452 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
453 'common/icon_with_badge_image_source.cc',
454 'common/media_galleries/metadata_types.h',
455 'common/net/url_util.cc',
456 'common/spellcheck_common.cc',
460 'sources': [ '<@(chrome_common_importer_sources)' ]
464 '<(DEPTH)/breakpad/src',
465 '<(DEPTH)/third_party/wtl/include',
468 '<(DEPTH)/components/components.gyp:dom_distiller_core', # Needed by chrome_content_client.cc.
471 ['enable_mdns == 1', {
473 'common/local_discovery/local_discovery_messages.h',
478 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
479 '../third_party/mach_override/mach_override.gyp:mach_override',
482 '<(DEPTH)/breakpad/src',
485 'common/chrome_version_info_posix.cc',
490 '../remoting/remoting.gyp:remoting_client_plugin',
493 ['enable_webrtc==0', {
495 'common/media/webrtc_logging_messages.h',
498 ['configuration_policy==1', {
500 '<(DEPTH)/components/components.gyp:policy',
503 ['safe_browsing==1', {
504 'defines': [ 'FULL_SAFE_BROWSING' ],
505 'sources': [ '<@(chrome_common_full_safe_browsing_sources)', ],
507 ['safe_browsing==2', {
508 'defines': [ 'MOBILE_SAFE_BROWSING' ],
512 'common/extensions/api/networking_private/networking_private_crypto_nss.cc',
515 { # else !use_openssl
517 'common/extensions/api/networking_private/networking_private_crypto_openssl.cc',
522 'target_conditions': [
525 # Pull in specific Mac files for iOS (which have been filtered out
526 # by file name rules).
527 ['include', '^common/chrome_version_info_mac\\.mm$'],
531 'export_dependent_settings': [
532 '../base/base.gyp:base',
536 # GN version: //chrome/common:version
537 'target_name': 'common_version',
540 ['os_posix == 1 and OS != "mac" and OS != "ios"', {
541 'direct_dependent_settings': {
543 '<(SHARED_INTERMEDIATE_DIR)',
546 # Because posix_version generates a header, we must set the
547 # hard_dependency flag.
548 'hard_dependency': 1,
551 'action_name': 'posix_version',
553 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE',
554 'version_py_path': '<(DEPTH)/build/util/version.py',
555 'version_path': 'VERSION',
556 'template_input_path': 'common/chrome_version_info_posix.h.version',
559 [ 'branding == "Chrome"', {
562 'app/theme/google_chrome/BRANDING',
564 }, { # else branding!="Chrome"
567 'app/theme/chromium/BRANDING',
572 '<(template_input_path)',
575 '<(lastchange_path)',
578 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_posix.h',
582 '<(version_py_path)',
583 '-f', '<(version_path)',
584 '-f', '<(branding_path)',
585 '-f', '<(lastchange_path)',
586 '<(template_input_path)',
589 'message': 'Generating version information',
596 # GN version: //chrome/common/net
597 'target_name': 'common_net',
598 'type': 'static_library',
600 'common/net/net_error_info.cc',
601 'common/net/net_error_info.h',
602 'common/net/net_resource_provider.cc',
603 'common/net/net_resource_provider.h',
604 'common/net/predictor_common.h',
605 'common/net/url_util.cc',
606 'common/net/url_util.h',
607 'common/net/x509_certificate_model.cc',
608 'common/net/x509_certificate_model_nss.cc',
609 'common/net/x509_certificate_model_openssl.cc',
610 'common/net/x509_certificate_model.h',
613 '<(DEPTH)/base/base.gyp:base',
614 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
615 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
616 '<(DEPTH)/crypto/crypto.gyp:crypto',
617 '<(DEPTH)/net/net.gyp:net_resources',
618 '<(DEPTH)/net/net.gyp:net',
619 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
620 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
625 '<(DEPTH)/gpu/gpu.gyp:gpu_ipc',
629 'common/net/net_resource_provider.cc',
630 'common/net/x509_certificate_model.cc',
633 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
635 '../build/linux/system.gyp:ssl',
639 ['os_posix != 1 or OS == "mac" or OS == "ios"', {
641 'common/net/x509_certificate_model_nss.cc',
642 'common/net/x509_certificate_model_openssl.cc',
646 ['OS == "android"', {
648 '../third_party/boringssl/boringssl.gyp:boringssl',
651 'common/net/x509_certificate_model.cc',
652 'common/net/x509_certificate_model_openssl.cc',
657 'common/net/x509_certificate_model_nss.cc',
660 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl',
663 { # else !use_openssl: remove the unneeded files
665 'common/net/x509_certificate_model_openssl.cc',
670 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
671 'msvs_disabled_warnings': [4267, ],
677 # Protobuf compiler / generator for the safebrowsing client
678 # model proto and the client-side detection (csd) request
681 # GN version: //chrome/common/safe_browsing:proto
682 'target_name': 'safe_browsing_proto',
683 'type': 'static_library',
685 'common/safe_browsing/client_model.proto',
686 'common/safe_browsing/crx_info.proto',
687 'common/safe_browsing/csd.proto'
690 'proto_in_dir': 'common/safe_browsing',
691 'proto_out_dir': 'chrome/common/safe_browsing',
693 'includes': [ '../build/protoc.gypi' ],