| 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. | 7 # File lists shared with GN build. |
| 8 'chrome_common_sources': [ | 8 'chrome_common_sources': [ |
| 9 'common/all_messages.h', | 9 'common/all_messages.h', |
| 10 'common/attrition_experiments.h', | 10 'common/attrition_experiments.h', |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 'direct_dependent_settings': { | 315 'direct_dependent_settings': { |
| 316 'include_dirs': [ | 316 'include_dirs': [ |
| 317 '..', | 317 '..', |
| 318 ], | 318 ], |
| 319 }, | 319 }, |
| 320 'dependencies': [ | 320 'dependencies': [ |
| 321 # TODO(gregoryd): chrome_resources and chrome_strings could be | 321 # TODO(gregoryd): chrome_resources and chrome_strings could be |
| 322 # shared with the 64-bit target, but it does not work due to a gyp | 322 # shared with the 64-bit target, but it does not work due to a gyp |
| 323 # issue. | 323 # issue. |
| 324 'common_net', | 324 'common_net', |
| 325 'common_version', | |
| 326 'installer_util', | 325 'installer_util', |
| 327 'safe_browsing_proto', | 326 'safe_browsing_proto', |
| 328 '<(DEPTH)/base/base.gyp:base', | 327 '<(DEPTH)/base/base.gyp:base', |
| 329 '<(DEPTH)/base/base.gyp:base_i18n', | 328 '<(DEPTH)/base/base.gyp:base_i18n', |
| 330 '<(DEPTH)/base/base.gyp:base_prefs', | 329 '<(DEPTH)/base/base.gyp:base_prefs', |
| 331 '<(DEPTH)/base/base.gyp:base_static', | 330 '<(DEPTH)/base/base.gyp:base_static', |
| 332 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', | 331 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', |
| 333 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings', | 332 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings', |
| 334 '<(DEPTH)/chrome/chrome_resources.gyp:theme_resources', | 333 '<(DEPTH)/chrome/chrome_resources.gyp:theme_resources', |
| 335 '<(DEPTH)/chrome/common_constants.gyp:common_constants', | 334 '<(DEPTH)/chrome/common_constants.gyp:common_constants', |
| 336 '<(DEPTH)/chrome/common/variations/fieldtrial_testing_config.gyp:fieldtr
ial_testing_config', | 335 '<(DEPTH)/chrome/common/variations/fieldtrial_testing_config.gyp:fieldtr
ial_testing_config', |
| 337 '<(DEPTH)/components/components.gyp:cloud_devices_common', | 336 '<(DEPTH)/components/components.gyp:cloud_devices_common', |
| 338 '<(DEPTH)/components/components.gyp:component_updater', | 337 '<(DEPTH)/components/components.gyp:component_updater', |
| 339 '<(DEPTH)/components/components.gyp:content_settings_core_common', | 338 '<(DEPTH)/components/components.gyp:content_settings_core_common', |
| 340 '<(DEPTH)/components/components.gyp:favicon_base', | 339 '<(DEPTH)/components/components.gyp:favicon_base', |
| 341 '<(DEPTH)/components/components.gyp:gcm_driver_common', | 340 '<(DEPTH)/components/components.gyp:gcm_driver_common', |
| 342 '<(DEPTH)/components/components.gyp:json_schema', | 341 '<(DEPTH)/components/components.gyp:json_schema', |
| 343 '<(DEPTH)/components/components.gyp:metrics', | 342 '<(DEPTH)/components/components.gyp:metrics', |
| 344 '<(DEPTH)/components/components.gyp:omnibox_common', | 343 '<(DEPTH)/components/components.gyp:omnibox_common', |
| 345 '<(DEPTH)/components/components.gyp:policy_component_common', | 344 '<(DEPTH)/components/components.gyp:policy_component_common', |
| 346 '<(DEPTH)/components/components.gyp:translate_core_common', | 345 '<(DEPTH)/components/components.gyp:translate_core_common', |
| 347 '<(DEPTH)/components/components.gyp:variations', | 346 '<(DEPTH)/components/components.gyp:variations', |
| 347 '<(DEPTH)/components/components.gyp:version_info', |
| 348 '<(DEPTH)/content/content.gyp:content_common', | 348 '<(DEPTH)/content/content.gyp:content_common', |
| 349 '<(DEPTH)/crypto/crypto.gyp:crypto', | 349 '<(DEPTH)/crypto/crypto.gyp:crypto', |
| 350 '<(DEPTH)/net/net.gyp:net', | 350 '<(DEPTH)/net/net.gyp:net', |
| 351 '<(DEPTH)/skia/skia.gyp:skia', | 351 '<(DEPTH)/skia/skia.gyp:skia', |
| 352 '<(DEPTH)/skia/skia.gyp:skia_library', | 352 '<(DEPTH)/skia/skia.gyp:skia_library', |
| 353 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', | 353 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
| 354 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', | 354 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
| 355 '<(DEPTH)/third_party/zlib/google/zip.gyp:zip', | 355 '<(DEPTH)/third_party/zlib/google/zip.gyp:zip', |
| 356 '<(DEPTH)/ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', | 356 '<(DEPTH)/ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', |
| 357 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', | 357 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 554 # by file name rules). | 554 # by file name rules). |
| 555 ['include', '^common/chrome_version_info_mac\\.mm$'], | 555 ['include', '^common/chrome_version_info_mac\\.mm$'], |
| 556 ], | 556 ], |
| 557 }], | 557 }], |
| 558 ], | 558 ], |
| 559 'export_dependent_settings': [ | 559 'export_dependent_settings': [ |
| 560 '../base/base.gyp:base', | 560 '../base/base.gyp:base', |
| 561 ], | 561 ], |
| 562 }, | 562 }, |
| 563 { | 563 { |
| 564 # GN version: //chrome/common:version | |
| 565 'target_name': 'common_version', | |
| 566 'type': 'none', | |
| 567 'direct_dependent_settings': { | |
| 568 'include_dirs': [ | |
| 569 '<(SHARED_INTERMEDIATE_DIR)', | |
| 570 ], | |
| 571 }, | |
| 572 # Because generate_version generates a header, we must set the | |
| 573 # hard_dependency flag. | |
| 574 'hard_dependency': 1, | |
| 575 'actions': [ | |
| 576 { | |
| 577 'action_name': 'generate_version', | |
| 578 'variables': { | |
| 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', | |
| 584 }, | |
| 585 'inputs': [ | |
| 586 '<(template_input_path)', | |
| 587 '<(version_path)', | |
| 588 '<(branding_path)', | |
| 589 '<(lastchange_path)', | |
| 590 ], | |
| 591 'outputs': [ | |
| 592 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_values
.h', | |
| 593 ], | |
| 594 'action': [ | |
| 595 'python', | |
| 596 '<(version_py_path)', | |
| 597 '-f', '<(version_path)', | |
| 598 '-f', '<(branding_path)', | |
| 599 '-f', '<(lastchange_path)', | |
| 600 '<(template_input_path)', | |
| 601 '<@(_outputs)', | |
| 602 ], | |
| 603 'message': 'Generating version information', | |
| 604 }, | |
| 605 ], | |
| 606 }, | |
| 607 { | |
| 608 # GN version: //chrome/common/net | 564 # GN version: //chrome/common/net |
| 609 'target_name': 'common_net', | 565 'target_name': 'common_net', |
| 610 'type': 'static_library', | 566 'type': 'static_library', |
| 611 'sources': [ | 567 'sources': [ |
| 612 'common/net/net_resource_provider.cc', | 568 'common/net/net_resource_provider.cc', |
| 613 'common/net/net_resource_provider.h', | 569 'common/net/net_resource_provider.h', |
| 614 'common/net/url_util.cc', | 570 'common/net/url_util.cc', |
| 615 'common/net/url_util.h', | 571 'common/net/url_util.h', |
| 616 'common/net/x509_certificate_model.cc', | 572 'common/net/x509_certificate_model.cc', |
| 617 'common/net/x509_certificate_model.h', | 573 'common/net/x509_certificate_model.h', |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 'sources': [ | 658 'sources': [ |
| 703 'common/resource_usage_reporter.mojom', | 659 'common/resource_usage_reporter.mojom', |
| 704 ], | 660 ], |
| 705 'dependencies': [ | 661 'dependencies': [ |
| 706 '../mojo/mojo_base.gyp:mojo_environment_chromium', | 662 '../mojo/mojo_base.gyp:mojo_environment_chromium', |
| 707 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', | 663 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 708 ], | 664 ], |
| 709 }, | 665 }, |
| 710 ], | 666 ], |
| 711 } | 667 } |
| OLD | NEW |