| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 'variables': { | 5 'variables': { |
| 6 'chromium_code': 1, | 6 'chromium_code': 1, |
| 7 | 7 |
| 8 'variables': { | 8 'variables': { |
| 9 'version_py_path': 'tools/build/version.py', | 9 'version_py_path': 'tools/build/version.py', |
| 10 'version_path': 'VERSION', | 10 'version_path': 'VERSION', |
| 11 }, | 11 }, |
| 12 'version_py_path': '<(version_py_path)', | 12 'version_py_path': '<(version_py_path)', |
| 13 'version_path': '<(version_path)', | 13 'version_path': '<(version_path)', |
| 14 'version_full': | 14 'version_full': |
| 15 '<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@.@BU
ILD@.@PATCH@")', | 15 '<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@.@BU
ILD@.@PATCH@")', |
| 16 'version_mac_dylib': | 16 'version_mac_dylib': |
| 17 '<!(python <(version_py_path) -f <(version_path) -t "@BUILD@.@PATCH_HI@.
@PATCH_LO@" -e "PATCH_HI=int(PATCH)/256" -e "PATCH_LO=int(PATCH)%256")', | 17 '<!(python <(version_py_path) -f <(version_path) -t "@BUILD@.@PATCH_HI@.
@PATCH_LO@" -e "PATCH_HI=int(PATCH)/256" -e "PATCH_LO=int(PATCH)%256")', |
| 18 | 18 |
| 19 # Define the common dependencies that contain all the actual | 19 # Define the common dependencies that contain all the actual |
| 20 # Chromium functionality. This list gets pulled in below by | 20 # Chromium functionality. This list gets pulled in below by |
| 21 # the link of the actual chrome (or chromium) executable on | 21 # the link of the actual chrome (or chromium) executable on |
| 22 # Linux or Mac, and into chrome.dll on Windows. | 22 # Linux or Mac, and into chrome.dll on Windows. |
| 23 'chromium_dependencies': [ | 23 'chromium_dependencies': [ |
| 24 'common', | 24 'common', |
| 25 'browser', | 25 'browser', |
| 26 'chrome_gpu', | |
| 27 'ppapi_plugin', | 26 'ppapi_plugin', |
| 28 'profile_import', | 27 'profile_import', |
| 29 'renderer', | 28 'renderer', |
| 30 'syncapi', | 29 'syncapi', |
| 31 'utility', | 30 'utility', |
| 32 'worker', | 31 'worker', |
| 33 'service', | 32 'service', |
| 33 '../content/content.gyp:content_gpu', |
| 34 '../printing/printing.gyp:printing', | 34 '../printing/printing.gyp:printing', |
| 35 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:inspector_resourc
es', | 35 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:inspector_resourc
es', |
| 36 ], | 36 ], |
| 37 'nacl_win64_dependencies': [ | 37 'nacl_win64_dependencies': [ |
| 38 'common_nacl_win64', | 38 'common_nacl_win64', |
| 39 'common_constants_win64', | 39 'common_constants_win64', |
| 40 'installer_util_nacl_win64', | 40 'installer_util_nacl_win64', |
| 41 ], | 41 ], |
| 42 'allocator_target': '../base/allocator/allocator.gyp:allocator', | 42 'allocator_target': '../base/allocator/allocator.gyp:allocator', |
| 43 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', | 43 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', |
| (...skipping 20 matching lines...) Expand all Loading... |
| 64 'browser/resources/net_internals_resources.grd', | 64 'browser/resources/net_internals_resources.grd', |
| 65 'browser/resources/shared_resources.grd', | 65 'browser/resources/shared_resources.grd', |
| 66 'browser/resources/sync_internals_resources.grd', | 66 'browser/resources/sync_internals_resources.grd', |
| 67 ], | 67 ], |
| 68 'grit_info_cmd': ['python', '../tools/grit/grit_info.py', | 68 'grit_info_cmd': ['python', '../tools/grit/grit_info.py', |
| 69 '<@(grit_defines)'], | 69 '<@(grit_defines)'], |
| 70 'grit_cmd': ['python', '../tools/grit/grit.py'], | 70 'grit_cmd': ['python', '../tools/grit/grit.py'], |
| 71 'repack_locales_cmd': ['python', 'tools/build/repack_locales.py'], | 71 'repack_locales_cmd': ['python', 'tools/build/repack_locales.py'], |
| 72 # TODO: remove this helper when we have loops in GYP | 72 # TODO: remove this helper when we have loops in GYP |
| 73 'apply_locales_cmd': ['python', '<(DEPTH)/build/apply_locales.py'], | 73 'apply_locales_cmd': ['python', '<(DEPTH)/build/apply_locales.py'], |
| 74 'directxsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/
directxsdk)', | |
| 75 'conditions': [ | 74 'conditions': [ |
| 76 ['OS=="win"', { | 75 ['OS=="win"', { |
| 77 'nacl_defines': [ | 76 'nacl_defines': [ |
| 78 'NACL_WINDOWS=1', | 77 'NACL_WINDOWS=1', |
| 79 'NACL_LINUX=0', | 78 'NACL_LINUX=0', |
| 80 'NACL_OSX=0', | 79 'NACL_OSX=0', |
| 81 ], | 80 ], |
| 82 'platform_locale_settings_grd': | 81 'platform_locale_settings_grd': |
| 83 'app/resources/locale_settings_win.grd', | 82 'app/resources/locale_settings_win.grd', |
| 84 },], | 83 },], |
| (...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 638 'dependencies': [ | 637 'dependencies': [ |
| 639 '../base/base.gyp:base', | 638 '../base/base.gyp:base', |
| 640 ], | 639 ], |
| 641 'sources': [ | 640 'sources': [ |
| 642 'profile_import/profile_import_main.cc', | 641 'profile_import/profile_import_main.cc', |
| 643 'profile_import/profile_import_thread.cc', | 642 'profile_import/profile_import_thread.cc', |
| 644 'profile_import/profile_import_thread.h', | 643 'profile_import/profile_import_thread.h', |
| 645 ], | 644 ], |
| 646 }, | 645 }, |
| 647 { | 646 { |
| 648 'target_name': 'chrome_gpu', | |
| 649 'type': '<(library)', | |
| 650 'msvs_guid': 'F10F1ECD-D84D-4C33-8468-9DDFE19F4D8A', | |
| 651 'dependencies': [ | |
| 652 '../app/app.gyp:app_base', | |
| 653 '../base/base.gyp:base', | |
| 654 'common', | |
| 655 '../media/media.gyp:media', | |
| 656 '../skia/skia.gyp:skia', | |
| 657 ], | |
| 658 'sources': [ | |
| 659 'gpu/gpu_channel.cc', | |
| 660 'gpu/gpu_channel.h', | |
| 661 'gpu/gpu_command_buffer_stub.cc', | |
| 662 'gpu/gpu_command_buffer_stub.h', | |
| 663 'gpu/gpu_config.h', | |
| 664 'gpu/gpu_dx_diagnostics_win.cc', | |
| 665 'gpu/gpu_info_collector_linux.cc', | |
| 666 'gpu/gpu_info_collector_mac.mm', | |
| 667 'gpu/gpu_info_collector_win.cc', | |
| 668 'gpu/gpu_info_collector.cc', | |
| 669 'gpu/gpu_info_collector.h', | |
| 670 'gpu/gpu_main.cc', | |
| 671 'gpu/gpu_process.cc', | |
| 672 'gpu/gpu_process.h', | |
| 673 'gpu/gpu_thread.cc', | |
| 674 'gpu/gpu_thread.h', | |
| 675 'gpu/gpu_video_decoder.cc', | |
| 676 'gpu/gpu_video_decoder.h', | |
| 677 'gpu/gpu_video_service.cc', | |
| 678 'gpu/gpu_video_service.h', | |
| 679 'gpu/gpu_watchdog_thread.cc', | |
| 680 'gpu/gpu_watchdog_thread.h', | |
| 681 'gpu/media/gpu_video_device.h', | |
| 682 'gpu/media/fake_gl_video_decode_engine.cc', | |
| 683 'gpu/media/fake_gl_video_decode_engine.h', | |
| 684 'gpu/media/fake_gl_video_device.cc', | |
| 685 'gpu/media/fake_gl_video_device.h', | |
| 686 ], | |
| 687 'include_dirs': [ | |
| 688 '..', | |
| 689 ], | |
| 690 'conditions': [ | |
| 691 ['OS=="win"', { | |
| 692 'include_dirs': [ | |
| 693 '<(DEPTH)/third_party/angle/include', | |
| 694 '<(DEPTH)/third_party/angle/src', | |
| 695 '<(DEPTH)/third_party/wtl/include', | |
| 696 '$(DXSDK_DIR)/include', | |
| 697 ], | |
| 698 'dependencies': [ | |
| 699 '../third_party/angle/src/build_angle.gyp:libEGL', | |
| 700 '../third_party/angle/src/build_angle.gyp:libGLESv2', | |
| 701 ], | |
| 702 }], | |
| 703 ['OS=="win" and directxsdk_exists=="True"', { | |
| 704 'actions': [ | |
| 705 { | |
| 706 'action_name': 'extract_d3dx9', | |
| 707 'variables': { | |
| 708 'input': 'Aug2009_d3dx9_42_x86.cab', | |
| 709 'output': 'd3dx9_42.dll', | |
| 710 }, | |
| 711 'inputs': [ | |
| 712 '../third_party/directxsdk/files/Redist/<(input)', | |
| 713 ], | |
| 714 'outputs': [ | |
| 715 '<(PRODUCT_DIR)/<(output)', | |
| 716 ], | |
| 717 'action': [ | |
| 718 'python', | |
| 719 '../build/extract_from_cab.py', | |
| 720 '..\\third_party\\directxsdk\\files\\Redist\\<(input)', | |
| 721 '<(output)', | |
| 722 '<(PRODUCT_DIR)', | |
| 723 ], | |
| 724 }, | |
| 725 { | |
| 726 'action_name': 'extract_d3dcompiler', | |
| 727 'variables': { | |
| 728 'input': 'Aug2009_D3DCompiler_42_x86.cab', | |
| 729 'output': 'D3DCompiler_42.dll', | |
| 730 }, | |
| 731 'inputs': [ | |
| 732 '../third_party/directxsdk/files/Redist/<(input)', | |
| 733 ], | |
| 734 'outputs': [ | |
| 735 '<(PRODUCT_DIR)/<(output)', | |
| 736 ], | |
| 737 'action': [ | |
| 738 'python', | |
| 739 '../build/extract_from_cab.py', | |
| 740 '..\\third_party\\directxsdk\\files\\Redist\\<(input)', | |
| 741 '<(output)', | |
| 742 '<(PRODUCT_DIR)', | |
| 743 ], | |
| 744 }, | |
| 745 ], | |
| 746 'sources': [ | |
| 747 'gpu/media/mft_angle_video_device.cc', | |
| 748 'gpu/media/mft_angle_video_device.h', | |
| 749 ], | |
| 750 }], | |
| 751 ['OS=="linux" and target_arch!="arm"', { | |
| 752 'sources': [ | |
| 753 'gpu/x_util.cc', | |
| 754 'gpu/x_util.h', | |
| 755 ], | |
| 756 }], | |
| 757 ['enable_gpu==1', { | |
| 758 'dependencies': [ | |
| 759 '../gpu/gpu.gyp:command_buffer_service', | |
| 760 ], | |
| 761 }], | |
| 762 ], | |
| 763 }, | |
| 764 { | |
| 765 'target_name': 'ppapi_plugin', | 647 'target_name': 'ppapi_plugin', |
| 766 'type': '<(library)', | 648 'type': '<(library)', |
| 767 'dependencies': [ | 649 'dependencies': [ |
| 768 '../base/base.gyp:base', | 650 '../base/base.gyp:base', |
| 769 '../ppapi/ppapi.gyp:ppapi_proxy', | 651 '../ppapi/ppapi.gyp:ppapi_proxy', |
| 770 ], | 652 ], |
| 771 'sources': [ | 653 'sources': [ |
| 772 'ppapi_plugin/plugin_process_dispatcher.cc', | 654 'ppapi_plugin/plugin_process_dispatcher.cc', |
| 773 'ppapi_plugin/plugin_process_dispatcher.h', | 655 'ppapi_plugin/plugin_process_dispatcher.h', |
| 774 'ppapi_plugin/ppapi_plugin_main.cc', | 656 'ppapi_plugin/ppapi_plugin_main.cc', |
| (...skipping 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1916 }], # targets | 1798 }], # targets |
| 1917 }], # OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" | 1799 }], # OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" |
| 1918 ], # 'conditions' | 1800 ], # 'conditions' |
| 1919 } | 1801 } |
| 1920 | 1802 |
| 1921 # Local Variables: | 1803 # Local Variables: |
| 1922 # tab-width:2 | 1804 # tab-width:2 |
| 1923 # indent-tabs-mode:nil | 1805 # indent-tabs-mode:nil |
| 1924 # End: | 1806 # End: |
| 1925 # vim: set expandtab tabstop=2 shiftwidth=2: | 1807 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |