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/favicon/fallback_icon_url_parser.cc',
55 'common/favicon/fallback_icon_url_parser.h',
56 'common/favicon/favicon_url_parser.cc',
57 'common/favicon/favicon_url_parser.h',
58 'common/favicon/large_icon_url_parser.cc',
59 'common/favicon/large_icon_url_parser.h',
60 'common/icon_with_badge_image_source.cc',
61 'common/icon_with_badge_image_source.h',
62 'common/ini_parser.cc',
63 'common/ini_parser.h',
64 'common/instant_types.cc',
65 'common/instant_types.h',
66 'common/localized_error.cc',
67 'common/localized_error.h',
68 'common/logging_chrome.cc',
69 'common/logging_chrome.h',
70 'common/mac/app_shim_launch.h',
71 'common/mac/app_shim_messages.h',
72 'common/mac/cfbundle_blocker.h',
73 'common/mac/cfbundle_blocker.mm',
74 'common/mac/launchd.h',
75 'common/mac/launchd.mm',
76 'common/mac/objc_zombie.h',
77 'common/mac/objc_zombie.mm',
78 'common/media/webrtc_logging_message_data.cc',
79 'common/media/webrtc_logging_message_data.h',
80 'common/media/webrtc_logging_messages.h',
81 'common/media_galleries/metadata_types.h',
82 'common/metrics/version_utils.cc',
83 'common/metrics/version_utils.h',
84 'common/multi_process_lock.h',
85 'common/multi_process_lock_linux.cc',
86 'common/multi_process_lock_mac.cc',
87 'common/multi_process_lock_win.cc',
88 'common/omnibox_focus_state.h',
89 'common/partial_circular_buffer.cc',
90 'common/partial_circular_buffer.h',
91 'common/pref_names_util.cc',
92 'common/pref_names_util.h',
93 'common/prerender_types.h',
94 'common/profiling.cc',
96 'common/ref_counted_util.h',
97 'common/render_messages.cc',
98 'common/render_messages.h',
99 'common/resource_usage_reporter_type_converters.cc',
100 'common/resource_usage_reporter_type_converters.h',
101 'common/safe_browsing/safebrowsing_messages.h',
102 'common/search_provider.h',
103 'common/search_types.h',
104 'common/search_urls.cc',
105 'common/search_urls.h',
106 'common/secure_origin_whitelist.cc',
107 'common/secure_origin_whitelist.h',
108 'common/spellcheck_common.cc',
109 'common/spellcheck_common.h',
110 'common/spellcheck_marker.h',
111 'common/spellcheck_messages.h',
112 'common/spellcheck_result.h',
113 'common/switch_utils.cc',
114 'common/switch_utils.h',
115 'common/trace_event_args_whitelist.cc',
116 'common/trace_event_args_whitelist.h',
117 'common/tts_messages.h',
118 'common/tts_utterance_request.cc',
119 'common/tts_utterance_request.h',
120 'common/url_constants.cc',
121 'common/url_constants.h',
122 'common/v8_breakpad_support_win.cc',
123 'common/v8_breakpad_support_win.h',
124 'common/variations/experiment_labels.cc',
125 'common/variations/experiment_labels.h',
126 'common/variations/variations_util.cc',
127 'common/variations/variations_util.h',
128 'common/web_application_info.cc',
129 'common/web_application_info.h',
130 'common/worker_thread_ticker.cc',
131 'common/worker_thread_ticker.h',
133 'chrome_common_extensions_sources': [
134 'common/extensions/api/commands/commands_handler.cc',
135 'common/extensions/api/commands/commands_handler.h',
136 'common/extensions/api/extension_action/action_info.cc',
137 'common/extensions/api/extension_action/action_info.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/system_indicator/system_indicator_handler.cc',
151 'common/extensions/api/system_indicator/system_indicator_handler.h',
152 'common/extensions/api/url_handlers/url_handlers_parser.cc',
153 'common/extensions/api/url_handlers/url_handlers_parser.h',
154 'common/extensions/api/webstore/webstore_api_constants.cc',
155 'common/extensions/api/webstore/webstore_api_constants.h',
156 'common/extensions/chrome_extension_messages.h',
157 'common/extensions/chrome_extensions_client.cc',
158 'common/extensions/chrome_extensions_client.h',
159 'common/extensions/chrome_manifest_handlers.cc',
160 'common/extensions/chrome_manifest_handlers.h',
161 'common/extensions/chrome_manifest_url_handlers.cc',
162 'common/extensions/chrome_manifest_url_handlers.h',
163 'common/extensions/chrome_utility_extensions_messages.h',
164 'common/extensions/command.cc',
165 'common/extensions/command.h',
166 'common/extensions/extension_constants.cc',
167 'common/extensions/extension_constants.h',
168 'common/extensions/extension_metrics.cc',
169 'common/extensions/extension_metrics.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_icon_color_info.cc',
179 'common/extensions/manifest_handlers/app_icon_color_info.h',
180 'common/extensions/manifest_handlers/app_isolation_info.cc',
181 'common/extensions/manifest_handlers/app_isolation_info.h',
182 'common/extensions/manifest_handlers/app_launch_info.cc',
183 'common/extensions/manifest_handlers/app_launch_info.h',
184 'common/extensions/manifest_handlers/automation.cc',
185 'common/extensions/manifest_handlers/automation.h',
186 'common/extensions/manifest_handlers/content_scripts_handler.cc',
187 'common/extensions/manifest_handlers/content_scripts_handler.h',
188 'common/extensions/manifest_handlers/copresence_manifest.cc',
189 'common/extensions/manifest_handlers/copresence_manifest.h',
190 'common/extensions/manifest_handlers/extension_action_handler.cc',
191 'common/extensions/manifest_handlers/extension_action_handler.h',
192 'common/extensions/manifest_handlers/linked_app_icons.cc',
193 'common/extensions/manifest_handlers/linked_app_icons.h',
194 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
195 'common/extensions/manifest_handlers/minimum_chrome_version_checker.h',
196 'common/extensions/manifest_handlers/settings_overrides_handler.cc',
197 'common/extensions/manifest_handlers/settings_overrides_handler.h',
198 'common/extensions/manifest_handlers/theme_handler.cc',
199 'common/extensions/manifest_handlers/theme_handler.h',
200 'common/extensions/manifest_handlers/ui_overrides_handler.cc',
201 'common/extensions/manifest_handlers/ui_overrides_handler.h',
202 'common/extensions/permissions/chrome_api_permissions.cc',
203 'common/extensions/permissions/chrome_api_permissions.h',
204 'common/extensions/permissions/chrome_permission_message_provider.cc',
205 'common/extensions/permissions/chrome_permission_message_provider.h',
206 'common/extensions/permissions/chrome_permission_message_rules.cc',
207 'common/extensions/permissions/chrome_permission_message_rules.h',
208 'common/extensions/sync_helper.cc',
209 'common/extensions/sync_helper.h',
211 'chrome_common_extensions_chromeos_sources': [
212 'common/extensions/api/file_browser_handlers/file_browser_handler.cc',
213 'common/extensions/api/file_browser_handlers/file_browser_handler.h',
214 'common/extensions/api/file_system_provider_capabilities/file_system_provider_capabilities_handler.cc',
215 'common/extensions/api/file_system_provider_capabilities/file_system_provider_capabilities_handler.h',
216 'common/extensions/api/input_ime/input_components_handler.cc',
217 'common/extensions/api/input_ime/input_components_handler.h',
219 'chrome_common_full_safe_browsing_sources': [
220 'common/safe_browsing/binary_feature_extractor.cc',
221 'common/safe_browsing/binary_feature_extractor.h',
222 'common/safe_browsing/binary_feature_extractor_mac.cc',
223 'common/safe_browsing/binary_feature_extractor_posix.cc',
224 'common/safe_browsing/binary_feature_extractor_win.cc',
225 'common/safe_browsing/download_protection_util.cc',
226 'common/safe_browsing/download_protection_util.h',
227 'common/safe_browsing/ipc_protobuf_message_macros.h',
228 'common/safe_browsing/ipc_protobuf_message_null_macros.h',
229 'common/safe_browsing/mach_o_image_reader_mac.cc',
230 'common/safe_browsing/mach_o_image_reader_mac.h',
231 'common/safe_browsing/pe_image_reader_win.cc',
232 'common/safe_browsing/pe_image_reader_win.h',
233 'common/safe_browsing/protobuf_message_log_macros.h',
234 'common/safe_browsing/protobuf_message_param_traits.h',
235 'common/safe_browsing/protobuf_message_read_macros.h',
236 'common/safe_browsing/protobuf_message_write_macros.h',
237 'common/safe_browsing/zip_analyzer.cc',
238 'common/safe_browsing/zip_analyzer.h',
239 'common/safe_browsing/zip_analyzer_results.cc',
240 'common/safe_browsing/zip_analyzer_results.h',
242 'chrome_common_importer_sources': [
243 'common/importer/firefox_importer_utils.cc',
244 'common/importer/firefox_importer_utils.h',
245 'common/importer/firefox_importer_utils_linux.cc',
246 'common/importer/firefox_importer_utils_mac.mm',
247 'common/importer/firefox_importer_utils_win.cc',
248 'common/importer/ie_importer_test_registry_overrider_win.cc',
249 'common/importer/ie_importer_test_registry_overrider_win.h',
250 'common/importer/ie_importer_utils_win.cc',
251 'common/importer/ie_importer_utils_win.h',
252 'common/importer/imported_bookmark_entry.cc',
253 'common/importer/imported_bookmark_entry.h',
254 'common/importer/importer_autofill_form_data_entry.cc',
255 'common/importer/importer_autofill_form_data_entry.h',
256 'common/importer/importer_bridge.cc',
257 'common/importer/importer_bridge.h',
258 'common/importer/importer_data_types.cc',
259 'common/importer/importer_data_types.h',
260 'common/importer/importer_type.h',
261 'common/importer/importer_url_row.cc',
262 'common/importer/importer_url_row.h',
263 'common/importer/profile_import_process_messages.cc',
264 'common/importer/profile_import_process_messages.h',
265 'common/importer/profile_import_process_param_traits_macros.h',
266 'common/importer/safari_importer_utils.h',
267 'common/importer/safari_importer_utils.mm',
269 'chrome_common_ipc_fuzzer_sources': [
270 'common/external_ipc_dumper.h',
271 'common/external_ipc_dumper.cc',
273 'chrome_common_service_process_sources': [
274 'common/service_messages.h',
275 'common/service_process_util.cc',
276 'common/service_process_util.h',
277 'common/service_process_util_linux.cc',
278 'common/service_process_util_mac.mm',
279 'common/service_process_util_posix.cc',
280 'common/service_process_util_posix.h',
281 'common/service_process_util_win.cc',
283 'chrome_common_win_mac_sources': [
284 'common/media_galleries/itunes_library.cc',
285 'common/media_galleries/itunes_library.h',
286 'common/media_galleries/picasa_types.cc',
287 'common/media_galleries/picasa_types.h',
288 'common/media_galleries/pmp_constants.h',
290 'chrome_common_networking_private_sources_openssl' : [
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_openssl.cc',
295 'chrome_common_networking_private_sources_nss' : [
296 'common/extensions/api/networking_private/networking_private_crypto.cc',
297 'common/extensions/api/networking_private/networking_private_crypto.h',
298 'common/extensions/api/networking_private/networking_private_crypto_nss.cc',
301 'chrome_common_mac_sources': [
302 'common/media_galleries/iphoto_library.cc',
303 'common/media_galleries/iphoto_library.h',
308 # GN: //chrome/common:common
309 'target_name': 'common',
310 'type': 'static_library',
312 'chrome_common_target': 1,
313 'enable_wexit_time_destructors': 1,
317 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_content_client.cc.
319 'direct_dependent_settings': {
325 # TODO(gregoryd): chrome_resources and chrome_strings could be
326 # shared with the 64-bit target, but it does not work due to a gyp
331 'safe_browsing_proto',
332 '<(DEPTH)/base/base.gyp:base',
333 '<(DEPTH)/base/base.gyp:base_i18n',
334 '<(DEPTH)/base/base.gyp:base_prefs',
335 '<(DEPTH)/base/base.gyp:base_static',
336 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
337 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
338 '<(DEPTH)/chrome/chrome_resources.gyp:theme_resources',
339 '<(DEPTH)/chrome/common_constants.gyp:common_constants',
340 '<(DEPTH)/components/components.gyp:cloud_devices_common',
341 '<(DEPTH)/components/components.gyp:component_updater',
342 '<(DEPTH)/components/components.gyp:content_settings_core_common',
343 '<(DEPTH)/components/components.gyp:favicon_base',
344 '<(DEPTH)/components/components.gyp:json_schema',
345 '<(DEPTH)/components/components.gyp:metrics',
346 '<(DEPTH)/components/components.gyp:policy_component_common',
347 '<(DEPTH)/components/components.gyp:translate_core_common',
348 '<(DEPTH)/components/components.gyp:variations',
349 '<(DEPTH)/content/content.gyp:content_common',
350 '<(DEPTH)/crypto/crypto.gyp:crypto',
351 '<(DEPTH)/net/net.gyp:net',
352 '<(DEPTH)/skia/skia.gyp:skia',
353 '<(DEPTH)/skia/skia.gyp:skia_library',
354 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
355 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
356 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
357 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite',
358 '<(DEPTH)/third_party/zlib/google/zip.gyp:zip',
359 '<(DEPTH)/ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
360 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
361 '<(DEPTH)/url/url.gyp:url_lib',
364 '<@(chrome_common_sources)'
367 ['enable_extensions==1', {
368 'sources': [ '<@(chrome_common_extensions_sources)' ],
370 '<(DEPTH)/device/usb/usb.gyp:device_usb',
371 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
372 '<(DEPTH)/extensions/common/api/api.gyp:extensions_api',
373 '<(DEPTH)/extensions/extensions.gyp:extensions_common',
374 '<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources',
375 '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings',
376 '<(DEPTH)/media/cast/cast.gyp:cast_net',
378 'export_dependent_settings': [
379 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
383 'sources': [ '<@(chrome_common_extensions_chromeos_sources)' ],
387 ['enable_extensions==1 and chromeos==1', {
388 'sources': [ '<@(chrome_common_extensions_chromeos_sources)' ],
390 ['OS=="win" or OS=="mac"', {
391 'sources': [ '<@(chrome_common_win_mac_sources)' ],
393 ['(OS=="win" or OS=="mac" or chromeos==1) and use_openssl==1', {
394 'sources': [ '<@(chrome_common_networking_private_sources_openssl)' ],
396 '../third_party/boringssl/boringssl.gyp:boringssl',
399 ['(OS=="win" or OS=="mac" or chromeos==1) and use_openssl!=1', {
400 'sources': [ '<@(chrome_common_networking_private_sources_nss)' ],
403 'sources': [ '<@(chrome_common_mac_sources)' ],
404 'dependencies': [ 'app_mode_app_support' ],
408 'common_mojo_bindings',
409 '<(DEPTH)/components/components.gyp:autofill_core_common',
410 '<(DEPTH)/components/components.gyp:autofill_content_common',
411 '<(DEPTH)/components/components.gyp:password_manager_core_common',
412 '<(DEPTH)/components/components.gyp:password_manager_content_common',
413 '<(DEPTH)/components/components.gyp:signin_core_common',
414 '<(DEPTH)/components/components.gyp:translate_content_common',
415 '<(DEPTH)/components/components.gyp:visitedlink_common',
416 '<(DEPTH)/extensions/extensions.gyp:extensions_common_constants',
417 '<(DEPTH)/ipc/ipc.gyp:ipc',
418 '<(DEPTH)/third_party/re2/re2.gyp:re2',
419 '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
423 ['exclude', '^common/child_process_'],
424 ['exclude', '^common/chrome_content_client\\.cc$'],
425 ['exclude', '^common/chrome_version_info_posix\\.cc$'],
426 ['exclude', '^common/common_message_generator\\.cc$'],
427 ['exclude', '^common/common_param_traits'],
428 ['exclude', '^common/custom_handlers/'],
429 ['exclude', '^common/extensions/'],
430 ['exclude', '^common/logging_chrome\\.'],
431 ['exclude', '^common/media_galleries/'],
432 ['exclude', '^common/multi_process_'],
433 ['exclude', '^common/profiling\\.'],
434 ['exclude', '^common/resource_usage_reporter_type_converters'],
435 ['exclude', '^common/spellcheck_'],
436 ['exclude', '^common/validation_message_'],
437 ['exclude', '^common/web_apps\\.'],
438 # TODO(ios): Include files here as they are made to work; once
439 # everything is online, remove everything below here and just
440 # use the exclusions above.
441 ['exclude', '\\.(cc|mm)$'],
442 ['include', '_ios\\.(cc|mm)$'],
443 ['include', '(^|/)ios/'],
444 ['include', '^common/chrome_version_info\\.cc$'],
445 ['include', '^common/translate'],
446 ['include', '^common/zip'],
449 '<(DEPTH)/breakpad/src',
452 ['disable_nacl==0', {
454 '<(DEPTH)/components/nacl.gyp:nacl_common',
457 ['enable_ipc_fuzzer==1', {
458 'sources': [ '<@(chrome_common_ipc_fuzzer_sources)' ],
460 ['enable_plugins==1', {
462 '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h',
465 'common/pepper_flash.cc',
466 'common/pepper_flash.h',
467 'common/ppapi_utils.cc',
468 'common/ppapi_utils.h',
471 ['enable_plugins==1 and enable_extensions==1', {
473 'common/pepper_permission_util.cc',
474 'common/pepper_permission_util.h',
477 ['enable_basic_printing==1 or enable_print_preview==1', {
479 '<(DEPTH)/components/components.gyp:printing_common',
480 '<(DEPTH)/printing/printing.gyp:printing',
483 ['enable_print_preview==1', {
484 'sources': [ '<@(chrome_common_service_process_sources)' ],
486 ['enable_service_discovery==1', {
488 'common/local_discovery/service_discovery_client.cc',
489 'common/local_discovery/service_discovery_client.h',
494 'common/local_discovery/service_discovery_client_impl.cc',
495 'common/local_discovery/service_discovery_client_impl.h',
500 'common/badge_util.cc',
501 'common/chrome_version_info_posix.cc',
502 'common/extensions/api/spellcheck/spellcheck_handler.cc',
503 'common/extensions/manifest_handlers/extension_action_handler.cc',
504 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
505 'common/icon_with_badge_image_source.cc',
506 'common/media_galleries/metadata_types.h',
507 'common/net/url_util.cc',
508 'common/spellcheck_common.cc',
512 'sources': [ '<@(chrome_common_importer_sources)' ]
516 '<(DEPTH)/breakpad/src',
517 '<(DEPTH)/third_party/wtl/include',
520 '<(DEPTH)/components/components.gyp:dom_distiller_core', # Needed by chrome_content_client.cc.
523 ['enable_mdns == 1', {
525 'common/local_discovery/local_discovery_messages.h',
530 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
531 '../third_party/mach_override/mach_override.gyp:mach_override',
534 '<(DEPTH)/breakpad/src',
537 'common/chrome_version_info_posix.cc',
540 ['enable_webrtc==0', {
542 'common/media/webrtc_logging_messages.h',
545 ['configuration_policy==1', {
547 '<(DEPTH)/components/components.gyp:policy',
550 ['safe_browsing==1', {
551 'sources': [ '<@(chrome_common_full_safe_browsing_sources)', ],
554 'target_conditions': [
557 # Pull in specific Mac files for iOS (which have been filtered out
558 # by file name rules).
559 ['include', '^common/chrome_version_info_mac\\.mm$'],
563 'export_dependent_settings': [
564 '../base/base.gyp:base',
568 # GN version: //chrome/common:version
569 'target_name': 'common_version',
571 'direct_dependent_settings': {
573 '<(SHARED_INTERMEDIATE_DIR)',
576 # Because generate_version generates a header, we must set the
577 # hard_dependency flag.
578 'hard_dependency': 1,
581 'action_name': 'generate_version',
583 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE',
584 'version_py_path': '<(DEPTH)/build/util/version.py',
585 'version_path': 'VERSION',
586 'template_input_path': 'common/chrome_version_info_values.h.version',
587 'branding_path': 'app/theme/<(branding_path_component)/BRANDING',
590 '<(template_input_path)',
593 '<(lastchange_path)',
596 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_values.h',
600 '<(version_py_path)',
601 '-f', '<(version_path)',
602 '-f', '<(branding_path)',
603 '-f', '<(lastchange_path)',
604 '<(template_input_path)',
607 'message': 'Generating version information',
612 # GN version: //chrome/common/net
613 'target_name': 'common_net',
614 'type': 'static_library',
616 'common/net/net_resource_provider.cc',
617 'common/net/net_resource_provider.h',
618 'common/net/url_util.cc',
619 'common/net/url_util.h',
620 'common/net/x509_certificate_model.cc',
621 'common/net/x509_certificate_model.h',
622 'common/net/x509_certificate_model_nss.cc',
623 'common/net/x509_certificate_model_openssl.cc',
626 '<(DEPTH)/base/base.gyp:base',
627 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
628 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
629 '<(DEPTH)/components/components.gyp:network_hints_common',
630 '<(DEPTH)/components/components.gyp:error_page_common',
631 '<(DEPTH)/crypto/crypto.gyp:crypto',
632 '<(DEPTH)/net/net.gyp:net_resources',
633 '<(DEPTH)/net/net.gyp:net',
634 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
635 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
636 '<(DEPTH)/ui/base/ui_base.gyp:ui_base',
641 '<(DEPTH)/gpu/gpu.gyp:gpu_ipc',
645 'common/net/net_resource_provider.cc',
648 ['OS == "android" or OS == "ios"', {
650 'common/net/x509_certificate_model.cc',
653 ['use_openssl_certs == 1 and OS != "android"', {
655 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl',
659 'common/net/x509_certificate_model_openssl.cc',
663 ['use_nss_certs == 1', {
665 '../build/linux/system.gyp:ssl',
669 'common/net/x509_certificate_model_nss.cc',
674 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
675 'msvs_disabled_warnings': [4267, ],
681 # Protobuf compiler / generator for the safebrowsing client
682 # model proto and the client-side detection (csd) request
685 # GN version: //chrome/common/safe_browsing:proto
686 'target_name': 'safe_browsing_proto',
687 'type': 'static_library',
689 'common/safe_browsing/client_model.proto',
690 'common/safe_browsing/crx_info.proto',
691 'common/safe_browsing/csd.proto'
694 'proto_in_dir': 'common/safe_browsing',
695 'proto_out_dir': 'chrome/common/safe_browsing',
697 'includes': [ '../build/protoc.gypi' ],
700 # GN version: //chrome/common:mojo_bindings
701 'target_name': 'common_mojo_bindings',
702 'type': 'static_library',
704 '../third_party/mojo/mojom_bindings_generator.gypi'
707 'common/resource_usage_reporter.mojom',
710 '../mojo/mojo_base.gyp:mojo_environment_chromium',
711 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',