OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 # File lists shared with GN build. | |
8 'chrome_common_sources': [ | 7 'chrome_common_sources': [ |
9 '../apps/app_shim/app_shim_launch.h', | 8 '../apps/app_shim/app_shim_launch.h', |
10 '../apps/app_shim/app_shim_messages.h', | 9 '../apps/app_shim/app_shim_messages.h', |
11 'common/all_messages.h', | 10 'common/all_messages.h', |
12 'common/attrition_experiments.h', | 11 'common/attrition_experiments.h', |
13 'common/auto_start_linux.cc', | 12 'common/auto_start_linux.cc', |
14 'common/auto_start_linux.h', | 13 'common/auto_start_linux.h', |
15 'common/badge_util.cc', | 14 'common/badge_util.cc', |
16 'common/badge_util.h', | 15 'common/badge_util.h', |
17 'common/child_process_logging.h', | 16 'common/child_process_logging.h', |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 'common/extensions/permissions/chrome_permission_message_provider.cc', | 118 'common/extensions/permissions/chrome_permission_message_provider.cc', |
120 'common/extensions/permissions/chrome_permission_message_provider.h', | 119 'common/extensions/permissions/chrome_permission_message_provider.h', |
121 'common/extensions/sync_helper.cc', | 120 'common/extensions/sync_helper.cc', |
122 'common/extensions/sync_helper.h', | 121 'common/extensions/sync_helper.h', |
123 'common/extensions/update_manifest.cc', | 122 'common/extensions/update_manifest.cc', |
124 'common/extensions/update_manifest.h', | 123 'common/extensions/update_manifest.h', |
125 'common/favicon/favicon_url_parser.cc', | 124 'common/favicon/favicon_url_parser.cc', |
126 'common/favicon/favicon_url_parser.h', | 125 'common/favicon/favicon_url_parser.h', |
127 'common/icon_with_badge_image_source.cc', | 126 'common/icon_with_badge_image_source.cc', |
128 'common/icon_with_badge_image_source.h', | 127 'common/icon_with_badge_image_source.h', |
| 128 'common/importer/firefox_importer_utils.cc', |
| 129 'common/importer/firefox_importer_utils.h', |
| 130 'common/importer/firefox_importer_utils_linux.cc', |
| 131 'common/importer/firefox_importer_utils_mac.mm', |
| 132 'common/importer/firefox_importer_utils_win.cc', |
| 133 'common/importer/ie_importer_test_registry_overrider_win.cc', |
| 134 'common/importer/ie_importer_test_registry_overrider_win.h', |
| 135 'common/importer/ie_importer_utils_win.cc', |
| 136 'common/importer/ie_importer_utils_win.h', |
| 137 'common/importer/imported_bookmark_entry.cc', |
| 138 'common/importer/imported_bookmark_entry.h', |
| 139 'common/importer/imported_favicon_usage.cc', |
| 140 'common/importer/imported_favicon_usage.h', |
| 141 'common/importer/importer_bridge.cc', |
| 142 'common/importer/importer_bridge.h', |
| 143 'common/importer/importer_data_types.cc', |
| 144 'common/importer/importer_data_types.h', |
| 145 'common/importer/importer_type.h', |
| 146 'common/importer/importer_url_row.cc', |
| 147 'common/importer/importer_url_row.h', |
| 148 'common/importer/profile_import_process_messages.cc', |
| 149 'common/importer/profile_import_process_messages.h', |
| 150 'common/importer/safari_importer_utils.h', |
| 151 'common/importer/safari_importer_utils.mm', |
129 'common/instant_restricted_id_cache.h', | 152 'common/instant_restricted_id_cache.h', |
130 'common/instant_types.cc', | 153 'common/instant_types.cc', |
131 'common/instant_types.h', | 154 'common/instant_types.h', |
132 'common/localized_error.cc', | 155 'common/localized_error.cc', |
133 'common/localized_error.h', | 156 'common/localized_error.h', |
134 'common/logging_chrome.cc', | 157 'common/logging_chrome.cc', |
135 'common/logging_chrome.h', | 158 'common/logging_chrome.h', |
136 'common/mac/app_mode_common.h', | 159 'common/mac/app_mode_common.h', |
137 'common/mac/app_mode_common.mm', | 160 'common/mac/app_mode_common.mm', |
138 'common/mac/cfbundle_blocker.h', | 161 'common/mac/cfbundle_blocker.h', |
(...skipping 27 matching lines...) Expand all Loading... |
166 'common/profiling.cc', | 189 'common/profiling.cc', |
167 'common/profiling.h', | 190 'common/profiling.h', |
168 'common/ref_counted_util.h', | 191 'common/ref_counted_util.h', |
169 'common/render_messages.cc', | 192 'common/render_messages.cc', |
170 'common/render_messages.h', | 193 'common/render_messages.h', |
171 'common/safe_browsing/safebrowsing_messages.h', | 194 'common/safe_browsing/safebrowsing_messages.h', |
172 'common/search_provider.h', | 195 'common/search_provider.h', |
173 'common/search_types.h', | 196 'common/search_types.h', |
174 'common/search_urls.cc', | 197 'common/search_urls.cc', |
175 'common/search_urls.h', | 198 'common/search_urls.h', |
| 199 'common/service_messages.h', |
| 200 'common/service_process_util.cc', |
| 201 'common/service_process_util.h', |
| 202 'common/service_process_util_linux.cc', |
| 203 'common/service_process_util_mac.mm', |
| 204 'common/service_process_util_posix.cc', |
| 205 'common/service_process_util_posix.h', |
| 206 'common/service_process_util_win.cc', |
176 'common/spellcheck_common.cc', | 207 'common/spellcheck_common.cc', |
177 'common/spellcheck_common.h', | 208 'common/spellcheck_common.h', |
178 'common/spellcheck_marker.h', | 209 'common/spellcheck_marker.h', |
179 'common/spellcheck_messages.h', | 210 'common/spellcheck_messages.h', |
180 'common/spellcheck_result.h', | 211 'common/spellcheck_result.h', |
181 'common/switch_utils.cc', | 212 'common/switch_utils.cc', |
182 'common/switch_utils.h', | 213 'common/switch_utils.h', |
183 'common/tts_messages.h', | 214 'common/tts_messages.h', |
184 'common/tts_utterance_request.cc', | 215 'common/tts_utterance_request.cc', |
185 'common/tts_utterance_request.h', | 216 'common/tts_utterance_request.h', |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 'common/extensions/api/url_handlers/url_handlers_parser.h', | 258 'common/extensions/api/url_handlers/url_handlers_parser.h', |
228 'common/extensions/api/webstore/webstore_api_constants.cc', | 259 'common/extensions/api/webstore/webstore_api_constants.cc', |
229 'common/extensions/api/webstore/webstore_api_constants.h', | 260 'common/extensions/api/webstore/webstore_api_constants.h', |
230 ], | 261 ], |
231 'chrome_common_full_safe_browsing_sources': [ | 262 'chrome_common_full_safe_browsing_sources': [ |
232 'common/safe_browsing/download_protection_util.cc', | 263 'common/safe_browsing/download_protection_util.cc', |
233 'common/safe_browsing/download_protection_util.h', | 264 'common/safe_browsing/download_protection_util.h', |
234 'common/safe_browsing/zip_analyzer.cc', | 265 'common/safe_browsing/zip_analyzer.cc', |
235 'common/safe_browsing/zip_analyzer.h', | 266 'common/safe_browsing/zip_analyzer.h', |
236 ], | 267 ], |
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/imported_favicon_usage.cc', | |
250 'common/importer/imported_favicon_usage.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/safari_importer_utils.h', | |
261 'common/importer/safari_importer_utils.mm', | |
262 ], | |
263 'chrome_common_service_process_sources': [ | |
264 'common/service_messages.h', | |
265 'common/service_process_util.cc', | |
266 'common/service_process_util.h', | |
267 'common/service_process_util_linux.cc', | |
268 'common/service_process_util_mac.mm', | |
269 'common/service_process_util_posix.cc', | |
270 'common/service_process_util_posix.h', | |
271 'common/service_process_util_win.cc', | |
272 ], | |
273 'chrome_common_win_mac_sources': [ | |
274 'common/extensions/api/networking_private/networking_private_crypto_nss.cc
', | |
275 'common/extensions/api/networking_private/networking_private_crypto_openss
l.cc', | |
276 'common/extensions/api/networking_private/networking_private_crypto.h', | |
277 'common/media_galleries/itunes_library.cc', | |
278 'common/media_galleries/itunes_library.h', | |
279 'common/media_galleries/picasa_types.cc', | |
280 'common/media_galleries/picasa_types.h', | |
281 'common/media_galleries/pmp_constants.h', | |
282 ], | |
283 'chrome_common_mac_sources': [ | |
284 'common/media_galleries/iphoto_library.cc', | |
285 'common/media_galleries/iphoto_library.h', | |
286 ] | |
287 }, | 268 }, |
288 'targets': [ | 269 'targets': [ |
289 { | 270 { |
290 'target_name': 'common', | 271 'target_name': 'common', |
291 'type': 'static_library', | 272 'type': 'static_library', |
292 'variables': { | 273 'variables': { |
293 'chrome_common_target': 1, | 274 'chrome_common_target': 1, |
294 'enable_wexit_time_destructors': 1, | 275 'enable_wexit_time_destructors': 1, |
295 }, | 276 }, |
296 'include_dirs': [ | 277 'include_dirs': [ |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 '<(DEPTH)/third_party/zlib/google/zip.gyp:zip', | 320 '<(DEPTH)/third_party/zlib/google/zip.gyp:zip', |
340 '<(DEPTH)/ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', | 321 '<(DEPTH)/ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', |
341 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', | 322 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', |
342 '<(DEPTH)/url/url.gyp:url_lib', | 323 '<(DEPTH)/url/url.gyp:url_lib', |
343 ], | 324 ], |
344 'sources': [ | 325 'sources': [ |
345 '<@(chrome_common_sources)' | 326 '<@(chrome_common_sources)' |
346 ], | 327 ], |
347 'conditions': [ | 328 'conditions': [ |
348 ['enable_extensions==1', { | 329 ['enable_extensions==1', { |
349 'sources': [ '<@(chrome_common_extensions_sources)' ], | 330 'sources': [ |
| 331 '<@(chrome_common_extensions_sources)', |
| 332 ], |
350 'dependencies': [ | 333 'dependencies': [ |
351 '../device/bluetooth/bluetooth.gyp:device_bluetooth', | 334 '../device/bluetooth/bluetooth.gyp:device_bluetooth', |
352 '../device/usb/usb.gyp:device_usb', | 335 '../device/usb/usb.gyp:device_usb', |
353 ], | 336 ], |
354 }], | 337 }], |
355 ['OS=="win" or OS=="mac"', { | 338 ['OS=="win" or OS=="mac"', { |
356 'sources': [ '<@(chrome_common_win_mac_sources)' ], | 339 'sources': [ |
| 340 'common/extensions/api/networking_private/networking_private_crypto_
nss.cc', |
| 341 'common/extensions/api/networking_private/networking_private_crypto_
openssl.cc', |
| 342 'common/extensions/api/networking_private/networking_private_crypto.
h', |
| 343 'common/media_galleries/itunes_library.cc', |
| 344 'common/media_galleries/itunes_library.h', |
| 345 'common/media_galleries/picasa_types.cc', |
| 346 'common/media_galleries/picasa_types.h', |
| 347 'common/media_galleries/pmp_constants.h', |
| 348 ], |
357 }], | 349 }], |
358 ['OS=="mac"', { | 350 ['OS=="mac"', { |
359 'sources': [ '<@(chrome_common_mac_sources)' ], | 351 'sources': [ |
| 352 'common/media_galleries/iphoto_library.cc', |
| 353 'common/media_galleries/iphoto_library.h', |
| 354 ], |
360 }], | 355 }], |
361 ['OS != "ios"', { | 356 ['OS != "ios"', { |
362 'dependencies': [ | 357 'dependencies': [ |
363 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api', | 358 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api', |
364 '<(DEPTH)/components/components.gyp:autofill_core_common', | 359 '<(DEPTH)/components/components.gyp:autofill_core_common', |
365 '<(DEPTH)/components/components.gyp:autofill_content_common', | 360 '<(DEPTH)/components/components.gyp:autofill_content_common', |
366 '<(DEPTH)/components/components.gyp:password_manager_core_common', | 361 '<(DEPTH)/components/components.gyp:password_manager_core_common', |
367 '<(DEPTH)/components/components.gyp:signin_core_common', | 362 '<(DEPTH)/components/components.gyp:signin_core_common', |
368 '<(DEPTH)/components/components.gyp:translate_content_common', | 363 '<(DEPTH)/components/components.gyp:translate_content_common', |
369 '<(DEPTH)/components/components.gyp:visitedlink_common', | 364 '<(DEPTH)/components/components.gyp:visitedlink_common', |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
420 ['enable_printing==0', { | 415 ['enable_printing==0', { |
421 'sources!': [ | 416 'sources!': [ |
422 'common/print_messages.cc', | 417 'common/print_messages.cc', |
423 'common/print_messages.h', | 418 'common/print_messages.h', |
424 ] | 419 ] |
425 }, { | 420 }, { |
426 'dependencies': [ | 421 'dependencies': [ |
427 '<(DEPTH)/printing/printing.gyp:printing', | 422 '<(DEPTH)/printing/printing.gyp:printing', |
428 ], | 423 ], |
429 }], | 424 }], |
430 ['enable_printing==1', { | 425 ['enable_printing!=1', { |
431 'sources': [ '<@(chrome_common_service_process_sources)' ], | 426 'sources!' : [ |
| 427 'common/service_messages.h', |
| 428 ], |
| 429 'sources/': [ |
| 430 ['exclude', '^common/service_process_util_'], |
| 431 ], |
432 }], | 432 }], |
433 ['enable_service_discovery==1', { | 433 ['enable_service_discovery==1', { |
434 'sources' : [ | 434 'sources' : [ |
435 'common/local_discovery/service_discovery_client.cc', | 435 'common/local_discovery/service_discovery_client.cc', |
436 'common/local_discovery/service_discovery_client.h', | 436 'common/local_discovery/service_discovery_client.h', |
437 ] | 437 ] |
438 }], | 438 }], |
439 ['enable_mdns==1', { | 439 ['enable_mdns==1', { |
440 'sources' : [ | 440 'sources' : [ |
441 'common/local_discovery/service_discovery_client_impl.cc', | 441 'common/local_discovery/service_discovery_client_impl.cc', |
442 'common/local_discovery/service_discovery_client_impl.h', | 442 'common/local_discovery/service_discovery_client_impl.h', |
443 ] | 443 ] |
444 }], | 444 }], |
445 ['OS=="android"', { | 445 ['OS=="android"', { |
| 446 'sources/': [ |
| 447 ['exclude', '^common/importer/'], |
| 448 ['exclude', '^common/media_galleries/'], |
| 449 ['exclude', '^common/service_'], |
| 450 ], |
446 'sources!': [ | 451 'sources!': [ |
447 'common/badge_util.cc', | 452 'common/badge_util.cc', |
448 'common/chrome_version_info_posix.cc', | 453 'common/chrome_version_info_posix.cc', |
449 'common/extensions/api/extension_action/browser_action_handler.cc', | 454 'common/extensions/api/extension_action/browser_action_handler.cc', |
450 'common/extensions/api/extension_action/page_action_handler.cc', | 455 'common/extensions/api/extension_action/page_action_handler.cc', |
451 'common/extensions/api/spellcheck/spellcheck_handler.cc', | 456 'common/extensions/api/spellcheck/spellcheck_handler.cc', |
452 'common/extensions/manifest_handlers/minimum_chrome_version_checker.
cc', | 457 'common/extensions/manifest_handlers/minimum_chrome_version_checker.
cc', |
453 'common/icon_with_badge_image_source.cc', | 458 'common/icon_with_badge_image_source.cc', |
454 'common/media_galleries/metadata_types.h', | |
455 'common/net/url_util.cc', | 459 'common/net/url_util.cc', |
456 'common/spellcheck_common.cc', | 460 'common/spellcheck_common.cc', |
457 ], | 461 ], |
458 }, { | |
459 # Non-Android. | |
460 'sources': [ '<@(chrome_common_importer_sources)' ] | |
461 }], | 462 }], |
462 ['OS=="win"', { | 463 ['OS=="win"', { |
463 'include_dirs': [ | 464 'include_dirs': [ |
464 '<(DEPTH)/breakpad/src', | 465 '<(DEPTH)/breakpad/src', |
465 '<(DEPTH)/third_party/wtl/include', | 466 '<(DEPTH)/third_party/wtl/include', |
466 ], | 467 ], |
467 }], | 468 }], |
468 ['enable_mdns == 1', { | 469 ['enable_mdns == 1', { |
469 'sources': [ | 470 'sources': [ |
470 'common/local_discovery/local_discovery_messages.h', | 471 'common/local_discovery/local_discovery_messages.h', |
(...skipping 16 matching lines...) Expand all Loading... |
487 'common/child_process_logging_posix.cc', | 488 'common/child_process_logging_posix.cc', |
488 'common/chrome_version_info_posix.cc', | 489 'common/chrome_version_info_posix.cc', |
489 ], | 490 ], |
490 }], | 491 }], |
491 ['remoting==1', { | 492 ['remoting==1', { |
492 'dependencies': [ | 493 'dependencies': [ |
493 '../remoting/remoting.gyp:remoting_client_plugin', | 494 '../remoting/remoting.gyp:remoting_client_plugin', |
494 ], | 495 ], |
495 }], | 496 }], |
496 ['enable_plugins==0', { | 497 ['enable_plugins==0', { |
497 'sources!' : [ | 498 'source!' : [ |
498 'common/pepper_permission_util.cc', | 499 'common/pepper_permission_util.cc', |
499 ], | 500 ], |
500 }], | 501 }], |
501 ['enable_webrtc==0', { | 502 ['enable_webrtc==0', { |
502 'sources!': [ | 503 'sources!': [ |
503 'common/media/webrtc_logging_messages.h', | 504 'common/media/webrtc_logging_messages.h', |
504 ] | 505 ] |
505 }], | 506 }], |
506 ['configuration_policy==1', { | 507 ['configuration_policy==1', { |
507 'dependencies': [ | 508 'dependencies': [ |
(...skipping 26 matching lines...) Expand all Loading... |
534 # by file name rules). | 535 # by file name rules). |
535 ['include', '^common/chrome_version_info_mac\\.mm$'], | 536 ['include', '^common/chrome_version_info_mac\\.mm$'], |
536 ], | 537 ], |
537 }], | 538 }], |
538 ], | 539 ], |
539 'export_dependent_settings': [ | 540 'export_dependent_settings': [ |
540 '../base/base.gyp:base', | 541 '../base/base.gyp:base', |
541 ], | 542 ], |
542 }, | 543 }, |
543 { | 544 { |
544 # GN version: //chrome/common:version | |
545 'target_name': 'common_version', | 545 'target_name': 'common_version', |
546 'type': 'none', | 546 'type': 'none', |
547 'conditions': [ | 547 'conditions': [ |
548 ['os_posix == 1 and OS != "mac" and OS != "ios"', { | 548 ['os_posix == 1 and OS != "mac" and OS != "ios"', { |
549 'direct_dependent_settings': { | 549 'direct_dependent_settings': { |
550 'include_dirs': [ | 550 'include_dirs': [ |
551 '<(SHARED_INTERMEDIATE_DIR)', | 551 '<(SHARED_INTERMEDIATE_DIR)', |
552 ], | 552 ], |
553 }, | 553 }, |
554 # Because posix_version generates a header, we must set the | 554 # Because posix_version generates a header, we must set the |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
594 '<(template_input_path)', | 594 '<(template_input_path)', |
595 '<@(_outputs)', | 595 '<@(_outputs)', |
596 ], | 596 ], |
597 'message': 'Generating version information', | 597 'message': 'Generating version information', |
598 }, | 598 }, |
599 ], | 599 ], |
600 }], | 600 }], |
601 ], | 601 ], |
602 }, | 602 }, |
603 { | 603 { |
604 # GN version: //chrome/common/net | 604 # GN version: //chrome/common/net:net |
605 'target_name': 'common_net', | 605 'target_name': 'common_net', |
606 'type': 'static_library', | 606 'type': 'static_library', |
607 'sources': [ | 607 'sources': [ |
608 'common/net/net_error_info.cc', | 608 'common/net/net_error_info.cc', |
609 'common/net/net_error_info.h', | 609 'common/net/net_error_info.h', |
610 'common/net/net_resource_provider.cc', | 610 'common/net/net_resource_provider.cc', |
611 'common/net/net_resource_provider.h', | 611 'common/net/net_resource_provider.h', |
612 'common/net/predictor_common.h', | 612 'common/net/predictor_common.h', |
613 'common/net/url_util.cc', | 613 'common/net/url_util.cc', |
614 'common/net/url_util.h', | 614 'common/net/url_util.h', |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 'common/safe_browsing/csd.proto' | 692 'common/safe_browsing/csd.proto' |
693 ], | 693 ], |
694 'variables': { | 694 'variables': { |
695 'proto_in_dir': 'common/safe_browsing', | 695 'proto_in_dir': 'common/safe_browsing', |
696 'proto_out_dir': 'chrome/common/safe_browsing', | 696 'proto_out_dir': 'chrome/common/safe_browsing', |
697 }, | 697 }, |
698 'includes': [ '../build/protoc.gypi' ], | 698 'includes': [ '../build/protoc.gypi' ], |
699 }, | 699 }, |
700 ], | 700 ], |
701 } | 701 } |
OLD | NEW |