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.h',
26 'common/chrome_version_info_android.cc',
27 'common/chrome_version_info_chromeos.cc',
28 'common/chrome_version_info_mac.mm',
29 'common/chrome_version_info_posix.cc',
30 'common/chrome_version_info_win.cc',
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/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/gcm_desktop_util.cc',
55 'common/gcm_desktop_util.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/mac/objc_zombie.h',
73 'common/mac/objc_zombie.mm',
74 'common/media/webrtc_logging_message_data.cc',
75 'common/media/webrtc_logging_message_data.h',
76 'common/media/webrtc_logging_messages.h',
77 'common/media_galleries/metadata_types.h',
78 'common/metrics/version_utils.cc',
79 'common/metrics/version_utils.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/partial_circular_buffer.cc',
85 'common/partial_circular_buffer.h',
86 'common/pref_names_util.cc',
87 'common/pref_names_util.h',
88 'common/prerender_types.h',
89 'common/profiling.cc',
91 'common/ref_counted_util.h',
92 'common/render_messages.cc',
93 'common/render_messages.h',
94 'common/resource_usage_reporter_type_converters.cc',
95 'common/resource_usage_reporter_type_converters.h',
96 'common/safe_browsing/safebrowsing_messages.h',
97 'common/search_provider.h',
98 'common/search_types.h',
99 'common/search_urls.cc',
100 'common/search_urls.h',
101 'common/secure_origin_whitelist.cc',
102 'common/secure_origin_whitelist.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/sync_util.cc',
109 'common/sync_util.h',
110 'common/switch_utils.cc',
111 'common/switch_utils.h',
112 'common/trace_event_args_whitelist.cc',
113 'common/trace_event_args_whitelist.h',
114 'common/tts_messages.h',
115 'common/tts_utterance_request.cc',
116 'common/tts_utterance_request.h',
117 'common/url_constants.cc',
118 'common/url_constants.h',
119 'common/v8_breakpad_support_win.cc',
120 'common/v8_breakpad_support_win.h',
121 'common/variations/experiment_labels.cc',
122 'common/variations/experiment_labels.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/notifications/notification_style.cc',
136 'common/extensions/api/notifications/notification_style.h',
137 'common/extensions/api/omnibox/omnibox_handler.cc',
138 'common/extensions/api/omnibox/omnibox_handler.h',
139 'common/extensions/api/plugins/plugins_handler.cc',
140 'common/extensions/api/plugins/plugins_handler.h',
141 'common/extensions/api/speech/tts_engine_manifest_handler.cc',
142 'common/extensions/api/speech/tts_engine_manifest_handler.h',
143 'common/extensions/api/spellcheck/spellcheck_handler.cc',
144 'common/extensions/api/spellcheck/spellcheck_handler.h',
145 'common/extensions/api/storage/storage_schema_manifest_handler.cc',
146 'common/extensions/api/storage/storage_schema_manifest_handler.h',
147 'common/extensions/api/system_indicator/system_indicator_handler.cc',
148 'common/extensions/api/system_indicator/system_indicator_handler.h',
149 'common/extensions/api/url_handlers/url_handlers_parser.cc',
150 'common/extensions/api/url_handlers/url_handlers_parser.h',
151 'common/extensions/api/webstore/webstore_api_constants.cc',
152 'common/extensions/api/webstore/webstore_api_constants.h',
153 'common/extensions/chrome_extension_messages.h',
154 'common/extensions/chrome_extensions_client.cc',
155 'common/extensions/chrome_extensions_client.h',
156 'common/extensions/chrome_manifest_handlers.cc',
157 'common/extensions/chrome_manifest_handlers.h',
158 'common/extensions/chrome_manifest_url_handlers.cc',
159 'common/extensions/chrome_manifest_url_handlers.h',
160 'common/extensions/chrome_utility_extensions_messages.h',
161 'common/extensions/command.cc',
162 'common/extensions/command.h',
163 'common/extensions/extension_constants.cc',
164 'common/extensions/extension_constants.h',
165 'common/extensions/extension_metrics.cc',
166 'common/extensions/extension_metrics.h',
167 'common/extensions/extension_process_policy.cc',
168 'common/extensions/extension_process_policy.h',
169 'common/extensions/features/chrome_channel_feature_filter.cc',
170 'common/extensions/features/chrome_channel_feature_filter.h',
171 'common/extensions/features/feature_channel.cc',
172 'common/extensions/features/feature_channel.h',
173 'common/extensions/image_writer/image_writer_util_mac.cc',
174 'common/extensions/image_writer/image_writer_util_mac.h',
175 'common/extensions/manifest_handlers/app_icon_color_info.cc',
176 'common/extensions/manifest_handlers/app_icon_color_info.h',
177 'common/extensions/manifest_handlers/app_launch_info.cc',
178 'common/extensions/manifest_handlers/app_launch_info.h',
179 'common/extensions/manifest_handlers/automation.cc',
180 'common/extensions/manifest_handlers/automation.h',
181 'common/extensions/manifest_handlers/content_scripts_handler.cc',
182 'common/extensions/manifest_handlers/content_scripts_handler.h',
183 'common/extensions/manifest_handlers/copresence_manifest.cc',
184 'common/extensions/manifest_handlers/copresence_manifest.h',
185 'common/extensions/manifest_handlers/extension_action_handler.cc',
186 'common/extensions/manifest_handlers/extension_action_handler.h',
187 'common/extensions/manifest_handlers/linked_app_icons.cc',
188 'common/extensions/manifest_handlers/linked_app_icons.h',
189 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
190 'common/extensions/manifest_handlers/minimum_chrome_version_checker.h',
191 'common/extensions/manifest_handlers/settings_overrides_handler.cc',
192 'common/extensions/manifest_handlers/settings_overrides_handler.h',
193 'common/extensions/manifest_handlers/theme_handler.cc',
194 'common/extensions/manifest_handlers/theme_handler.h',
195 'common/extensions/manifest_handlers/ui_overrides_handler.cc',
196 'common/extensions/manifest_handlers/ui_overrides_handler.h',
197 'common/extensions/permissions/chrome_api_permissions.cc',
198 'common/extensions/permissions/chrome_api_permissions.h',
199 'common/extensions/permissions/chrome_permission_message_provider.cc',
200 'common/extensions/permissions/chrome_permission_message_provider.h',
201 'common/extensions/permissions/chrome_permission_message_rules.cc',
202 'common/extensions/permissions/chrome_permission_message_rules.h',
203 'common/extensions/sync_helper.cc',
204 'common/extensions/sync_helper.h',
206 'chrome_common_extensions_chromeos_sources': [
207 'common/extensions/api/file_browser_handlers/file_browser_handler.cc',
208 'common/extensions/api/file_browser_handlers/file_browser_handler.h',
209 'common/extensions/api/file_system_provider_capabilities/file_system_provider_capabilities_handler.cc',
210 'common/extensions/api/file_system_provider_capabilities/file_system_provider_capabilities_handler.h',
211 'common/extensions/api/input_ime/input_components_handler.cc',
212 'common/extensions/api/input_ime/input_components_handler.h',
214 'chrome_common_full_safe_browsing_sources': [
215 'common/safe_browsing/binary_feature_extractor.cc',
216 'common/safe_browsing/binary_feature_extractor.h',
217 'common/safe_browsing/binary_feature_extractor_mac.cc',
218 'common/safe_browsing/binary_feature_extractor_posix.cc',
219 'common/safe_browsing/binary_feature_extractor_win.cc',
220 'common/safe_browsing/download_protection_util.cc',
221 'common/safe_browsing/download_protection_util.h',
222 'common/safe_browsing/ipc_protobuf_message_macros.h',
223 'common/safe_browsing/ipc_protobuf_message_null_macros.h',
224 'common/safe_browsing/mach_o_image_reader_mac.cc',
225 'common/safe_browsing/mach_o_image_reader_mac.h',
226 'common/safe_browsing/pe_image_reader_win.cc',
227 'common/safe_browsing/pe_image_reader_win.h',
228 'common/safe_browsing/protobuf_message_log_macros.h',
229 'common/safe_browsing/protobuf_message_param_traits.h',
230 'common/safe_browsing/protobuf_message_read_macros.h',
231 'common/safe_browsing/protobuf_message_write_macros.h',
232 'common/safe_browsing/zip_analyzer.cc',
233 'common/safe_browsing/zip_analyzer.h',
234 'common/safe_browsing/zip_analyzer_results.cc',
235 'common/safe_browsing/zip_analyzer_results.h',
237 'chrome_common_importer_sources': [
238 'common/importer/firefox_importer_utils.cc',
239 'common/importer/firefox_importer_utils.h',
240 'common/importer/firefox_importer_utils_linux.cc',
241 'common/importer/firefox_importer_utils_mac.mm',
242 'common/importer/firefox_importer_utils_win.cc',
243 'common/importer/ie_importer_test_registry_overrider_win.cc',
244 'common/importer/ie_importer_test_registry_overrider_win.h',
245 'common/importer/ie_importer_utils_win.cc',
246 'common/importer/ie_importer_utils_win.h',
247 'common/importer/imported_bookmark_entry.cc',
248 'common/importer/imported_bookmark_entry.h',
249 'common/importer/importer_autofill_form_data_entry.cc',
250 'common/importer/importer_autofill_form_data_entry.h',
251 'common/importer/importer_bridge.cc',
252 'common/importer/importer_bridge.h',
253 'common/importer/importer_data_types.cc',
254 'common/importer/importer_data_types.h',
255 'common/importer/importer_type.h',
256 'common/importer/importer_url_row.cc',
257 'common/importer/importer_url_row.h',
258 'common/importer/profile_import_process_messages.cc',
259 'common/importer/profile_import_process_messages.h',
260 'common/importer/profile_import_process_param_traits_macros.h',
261 'common/importer/safari_importer_utils.h',
262 'common/importer/safari_importer_utils.mm',
264 'chrome_common_ipc_fuzzer_sources': [
265 'common/external_ipc_dumper.cc',
266 'common/external_ipc_dumper.h',
268 'chrome_common_service_process_sources': [
269 'common/service_messages.h',
270 'common/service_process_util.cc',
271 'common/service_process_util.h',
272 'common/service_process_util_linux.cc',
273 'common/service_process_util_mac.mm',
274 'common/service_process_util_posix.cc',
275 'common/service_process_util_posix.h',
276 'common/service_process_util_win.cc',
278 'chrome_common_win_mac_sources': [
279 'common/media_galleries/itunes_library.cc',
280 'common/media_galleries/itunes_library.h',
281 'common/media_galleries/picasa_types.cc',
282 'common/media_galleries/picasa_types.h',
283 'common/media_galleries/pmp_constants.h',
285 'chrome_common_networking_private_sources_openssl' : [
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_openssl.cc',
290 'chrome_common_networking_private_sources_nss' : [
291 'common/extensions/api/networking_private/networking_private_crypto.cc',
292 'common/extensions/api/networking_private/networking_private_crypto.h',
293 'common/extensions/api/networking_private/networking_private_crypto_nss.cc',
296 'chrome_common_mac_sources': [
297 'common/media_galleries/iphoto_library.cc',
298 'common/media_galleries/iphoto_library.h',
303 # GN: //chrome/common:common
304 'target_name': 'common',
305 'type': 'static_library',
307 'chrome_common_target': 1,
308 'enable_wexit_time_destructors': 1,
312 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_content_client.cc.
314 'direct_dependent_settings': {
320 # TODO(gregoryd): chrome_resources and chrome_strings could be
321 # shared with the 64-bit target, but it does not work due to a gyp
326 'safe_browsing_proto',
327 '<(DEPTH)/base/base.gyp:base',
328 '<(DEPTH)/base/base.gyp:base_i18n',
329 '<(DEPTH)/base/base.gyp:base_prefs',
330 '<(DEPTH)/base/base.gyp:base_static',
331 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
332 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
333 '<(DEPTH)/chrome/chrome_resources.gyp:theme_resources',
334 '<(DEPTH)/chrome/common_constants.gyp:common_constants',
335 '<(DEPTH)/chrome/common/variations/fieldtrial_testing_config.gyp:fieldtrial_testing_config',
336 '<(DEPTH)/components/components.gyp:cloud_devices_common',
337 '<(DEPTH)/components/components.gyp:component_updater',
338 '<(DEPTH)/components/components.gyp:content_settings_core_common',
339 '<(DEPTH)/components/components.gyp:favicon_base',
340 '<(DEPTH)/components/components.gyp:gcm_driver_common',
341 '<(DEPTH)/components/components.gyp:json_schema',
342 '<(DEPTH)/components/components.gyp:metrics',
343 '<(DEPTH)/components/components.gyp:omnibox_common',
344 '<(DEPTH)/components/components.gyp:policy_component_common',
345 '<(DEPTH)/components/components.gyp:translate_core_common',
346 '<(DEPTH)/components/components.gyp:variations',
347 '<(DEPTH)/content/content.gyp:content_common',
348 '<(DEPTH)/crypto/crypto.gyp:crypto',
349 '<(DEPTH)/net/net.gyp:net',
350 '<(DEPTH)/skia/skia.gyp:skia',
351 '<(DEPTH)/skia/skia.gyp:skia_library',
352 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
353 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
354 '<(DEPTH)/third_party/zlib/google/zip.gyp:zip',
355 '<(DEPTH)/ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
356 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
357 '<(DEPTH)/url/url.gyp:url_lib',
360 '<@(chrome_common_sources)'
363 ['enable_extensions==1', {
364 'sources': [ '<@(chrome_common_extensions_sources)' ],
366 '<(DEPTH)/device/usb/usb.gyp:device_usb',
367 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
368 '<(DEPTH)/extensions/common/api/api.gyp:extensions_api',
369 '<(DEPTH)/extensions/extensions.gyp:extensions_common',
370 '<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources',
371 '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings',
372 '<(DEPTH)/media/cast/cast.gyp:cast_net',
374 'export_dependent_settings': [
375 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
379 'sources': [ '<@(chrome_common_extensions_chromeos_sources)' ],
383 ['enable_extensions==1 and chromeos==1', {
384 'sources': [ '<@(chrome_common_extensions_chromeos_sources)' ],
386 ['OS=="win" or OS=="mac"', {
387 'sources': [ '<@(chrome_common_win_mac_sources)' ],
389 ['(OS=="win" or OS=="mac" or chromeos==1) and use_openssl==1', {
390 'sources': [ '<@(chrome_common_networking_private_sources_openssl)' ],
392 '../third_party/boringssl/boringssl.gyp:boringssl',
395 ['(OS=="win" or OS=="mac" or chromeos==1) and use_openssl!=1', {
396 'sources': [ '<@(chrome_common_networking_private_sources_nss)' ],
399 'sources': [ '<@(chrome_common_mac_sources)' ],
400 'dependencies': [ 'app_mode_app_support' ],
404 'common_mojo_bindings',
405 '<(DEPTH)/components/components.gyp:autofill_core_common',
406 '<(DEPTH)/components/components.gyp:autofill_content_common',
407 '<(DEPTH)/components/components.gyp:password_manager_core_common',
408 '<(DEPTH)/components/components.gyp:password_manager_content_common',
409 '<(DEPTH)/components/components.gyp:signin_core_common',
410 '<(DEPTH)/components/components.gyp:translate_content_common',
411 '<(DEPTH)/components/components.gyp:visitedlink_common',
412 '<(DEPTH)/extensions/extensions.gyp:extensions_common_constants',
413 '<(DEPTH)/ipc/ipc.gyp:ipc',
414 '<(DEPTH)/third_party/re2/re2.gyp:re2',
415 '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
419 ['exclude', '^common/child_process_'],
420 ['exclude', '^common/chrome_content_client\\.cc$'],
421 ['exclude', '^common/chrome_version_info_posix\\.cc$'],
422 ['exclude', '^common/common_message_generator\\.cc$'],
423 ['exclude', '^common/common_param_traits'],
424 ['exclude', '^common/custom_handlers/'],
425 ['exclude', '^common/extensions/'],
426 ['exclude', '^common/logging_chrome\\.'],
427 ['exclude', '^common/media_galleries/'],
428 ['exclude', '^common/multi_process_'],
429 ['exclude', '^common/profiling\\.'],
430 ['exclude', '^common/resource_usage_reporter_type_converters'],
431 ['exclude', '^common/spellcheck_'],
432 ['exclude', '^common/validation_message_'],
433 ['exclude', '^common/web_apps\\.'],
434 # TODO(ios): Include files here as they are made to work; once
435 # everything is online, remove everything below here and just
436 # use the exclusions above.
437 ['exclude', '\\.(cc|mm)$'],
438 ['include', '_ios\\.(cc|mm)$'],
439 ['include', '(^|/)ios/'],
440 ['include', '^common/chrome_version_info\\.cc$'],
441 ['include', '^common/translate'],
442 ['include', '^common/zip'],
445 '<(DEPTH)/breakpad/src',
448 ['disable_nacl==0', {
450 '<(DEPTH)/components/nacl.gyp:nacl_common',
453 ['enable_ipc_fuzzer==1', {
454 'sources': [ '<@(chrome_common_ipc_fuzzer_sources)' ],
456 ['enable_plugins==1', {
458 '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h',
461 'common/pepper_flash.cc',
462 'common/pepper_flash.h',
463 'common/ppapi_utils.cc',
464 'common/ppapi_utils.h',
467 ['enable_plugins==1 and enable_extensions==1', {
469 'common/pepper_permission_util.cc',
470 'common/pepper_permission_util.h',
473 ['enable_basic_printing==1 or enable_print_preview==1', {
475 '<(DEPTH)/components/components.gyp:printing_common',
476 '<(DEPTH)/printing/printing.gyp:printing',
479 ['enable_print_preview==1', {
480 'sources': [ '<@(chrome_common_service_process_sources)' ],
482 ['enable_service_discovery==1', {
484 'common/local_discovery/service_discovery_client.cc',
485 'common/local_discovery/service_discovery_client.h',
490 'common/local_discovery/service_discovery_client_impl.cc',
491 'common/local_discovery/service_discovery_client_impl.h',
496 'common/badge_util.cc',
497 'common/chrome_version_info_posix.cc',
498 'common/extensions/api/spellcheck/spellcheck_handler.cc',
499 'common/extensions/manifest_handlers/extension_action_handler.cc',
500 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
501 'common/icon_with_badge_image_source.cc',
502 'common/media_galleries/metadata_types.h',
503 'common/net/url_util.cc',
504 'common/spellcheck_common.cc',
508 'sources': [ '<@(chrome_common_importer_sources)' ]
512 '<(DEPTH)/breakpad/src',
513 '<(DEPTH)/third_party/wtl/include',
516 '<(DEPTH)/components/components.gyp:dom_distiller_core', # Needed by chrome_content_client.cc.
519 ['enable_mdns == 1', {
521 'common/local_discovery/local_discovery_messages.h',
526 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
527 '../third_party/mach_override/mach_override.gyp:mach_override',
530 '<(DEPTH)/breakpad/src',
533 'common/chrome_version_info_posix.cc',
536 ['enable_webrtc==0', {
538 'common/media/webrtc_logging_messages.h',
541 ['configuration_policy==1', {
543 '<(DEPTH)/components/components.gyp:policy',
546 ['safe_browsing==1', {
547 'sources': [ '<@(chrome_common_full_safe_browsing_sources)', ],
550 'target_conditions': [
553 # Pull in specific Mac files for iOS (which have been filtered out
554 # by file name rules).
555 ['include', '^common/chrome_version_info_mac\\.mm$'],
559 'export_dependent_settings': [
560 '../base/base.gyp:base',
564 # GN version: //chrome/common:version
565 'target_name': 'common_version',
567 'direct_dependent_settings': {
569 '<(SHARED_INTERMEDIATE_DIR)',
572 # Because generate_version generates a header, we must set the
573 # hard_dependency flag.
574 'hard_dependency': 1,
577 'action_name': 'generate_version',
579 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE',
580 'version_py_path': '<(DEPTH)/build/util/version.py',
581 'version_path': 'VERSION',
582 'template_input_path': 'common/chrome_version_info_values.h.version',
583 'branding_path': 'app/theme/<(branding_path_component)/BRANDING',
586 '<(template_input_path)',
589 '<(lastchange_path)',
592 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_values.h',
596 '<(version_py_path)',
597 '-f', '<(version_path)',
598 '-f', '<(branding_path)',
599 '-f', '<(lastchange_path)',
600 '<(template_input_path)',
603 'message': 'Generating version information',
608 # GN version: //chrome/common/net
609 'target_name': 'common_net',
610 'type': 'static_library',
612 'common/net/net_resource_provider.cc',
613 'common/net/net_resource_provider.h',
614 'common/net/url_util.cc',
615 'common/net/url_util.h',
616 'common/net/x509_certificate_model.cc',
617 'common/net/x509_certificate_model.h',
618 'common/net/x509_certificate_model_nss.cc',
619 'common/net/x509_certificate_model_openssl.cc',
622 '<(DEPTH)/base/base.gyp:base',
623 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
624 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
625 '<(DEPTH)/components/components.gyp:network_hints_common',
626 '<(DEPTH)/components/components.gyp:error_page_common',
627 '<(DEPTH)/crypto/crypto.gyp:crypto',
628 '<(DEPTH)/net/net.gyp:net_resources',
629 '<(DEPTH)/net/net.gyp:net',
630 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
631 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
632 '<(DEPTH)/ui/base/ui_base.gyp:ui_base',
637 '<(DEPTH)/gpu/gpu.gyp:gpu_ipc',
641 'common/net/net_resource_provider.cc',
644 ['OS == "android" or OS == "ios"', {
646 'common/net/x509_certificate_model.cc',
649 ['use_openssl_certs == 1 and OS != "android"', {
651 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl',
655 'common/net/x509_certificate_model_openssl.cc',
659 ['use_nss_certs == 1', {
661 '../build/linux/system.gyp:ssl',
665 'common/net/x509_certificate_model_nss.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' ],
696 # GN version: //chrome/common:mojo_bindings
697 'target_name': 'common_mojo_bindings',
698 'type': 'static_library',
700 '../third_party/mojo/mojom_bindings_generator.gypi'
703 'common/resource_usage_reporter.mojom',
706 '../mojo/mojo_base.gyp:mojo_environment_chromium',
707 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',