| 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 'xul_sdk_dir': '../third_party/xulrunner-sdk/<(OS)', | 8 'xul_sdk_dir': '../third_party/xulrunner-sdk/<(OS)', |
| 9 | 9 |
| 10 'variables': { | 10 'variables': { |
| (...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 746 'msvs_guid': 'E3DE7E63-D3B6-4A9F-BCC4-5C8169E9C9F2', | 746 'msvs_guid': 'E3DE7E63-D3B6-4A9F-BCC4-5C8169E9C9F2', |
| 747 'dependencies': [ | 747 'dependencies': [ |
| 748 'base_noicu', | 748 'base_noicu', |
| 749 'chrome_frame_ie', | 749 'chrome_frame_ie', |
| 750 'chrome_frame_npapi', | 750 'chrome_frame_npapi', |
| 751 'chrome_frame_strings', | 751 'chrome_frame_strings', |
| 752 'chrome_frame_utils', | 752 'chrome_frame_utils', |
| 753 'chrome_launcher', | 753 'chrome_launcher', |
| 754 'xulrunner_sdk', | 754 'xulrunner_sdk', |
| 755 '../chrome/chrome.gyp:chrome_version_info', | 755 '../chrome/chrome.gyp:chrome_version_info', |
| 756 '../chrome/chrome.gyp:chrome_version_header', |
| 756 '../chrome/chrome.gyp:common', | 757 '../chrome/chrome.gyp:common', |
| 757 '../chrome/chrome.gyp:utility', | 758 '../chrome/chrome.gyp:utility', |
| 758 '../build/temp_gyp/googleurl.gyp:googleurl', | 759 '../build/temp_gyp/googleurl.gyp:googleurl', |
| 759 ], | 760 ], |
| 760 'sources': [ | 761 'sources': [ |
| 761 'chrome_frame_npapi.rgs', | 762 'chrome_frame_npapi.rgs', |
| 762 'chrome_frame_npapi_entrypoints.cc', | 763 'chrome_frame_npapi_entrypoints.cc', |
| 763 'chrome_frame_npapi_entrypoints.h', | 764 'chrome_frame_npapi_entrypoints.h', |
| 764 'chrome_tab.cc', | 765 'chrome_tab.cc', |
| 765 'chrome_tab.def', | 766 'chrome_tab.def', |
| 766 'chrome_tab.h', | 767 'chrome_tab.h', |
| 767 'chrome_tab.idl', | 768 'chrome_tab.idl', |
| 768 # FIXME(slightlyoff): For chrome_tab.tlb. Giant hack until we can | 769 # FIXME(slightlyoff): For chrome_tab.tlb. Giant hack until we can |
| 769 # figure out something more gyp-ish. | 770 # figure out something more gyp-ish. |
| 770 'resources/tlb_resource.rc', | 771 'resources/tlb_resource.rc', |
| 771 'chrome_tab.rgs', | 772 'chrome_tab.rgs', |
| 772 'chrome_tab_version.rc.version', | 773 'chrome_tab_version.rc', |
| 773 'resource.h', | 774 'resource.h', |
| 774 ], | 775 ], |
| 775 'include_dirs': [ | 776 'include_dirs': [ |
| 776 # To allow including "chrome_tab.h" | 777 # To allow including "chrome_tab.h" |
| 777 '<(INTERMEDIATE_DIR)', | 778 '<(INTERMEDIATE_DIR)', |
| 778 '<(INTERMEDIATE_DIR)/../chrome_frame', | 779 '<(INTERMEDIATE_DIR)/../chrome_frame', |
| 779 ], | 780 ], |
| 780 'conditions': [ | 781 'conditions': [ |
| 781 ['OS=="win"', { | 782 ['OS=="win"', { |
| 782 # NOTE(slightlyoff): | 783 # NOTE(slightlyoff): |
| (...skipping 27 matching lines...) Expand all Loading... |
| 810 'OutputFile': | 811 'OutputFile': |
| 811 '$(OutDir)\\servers\\$(ProjectName).dll', | 812 '$(OutDir)\\servers\\$(ProjectName).dll', |
| 812 'DelayLoadDLLs': ['xpcom.dll', 'nspr4.dll'], | 813 'DelayLoadDLLs': ['xpcom.dll', 'nspr4.dll'], |
| 813 'BaseAddress': '0x33000000', | 814 'BaseAddress': '0x33000000', |
| 814 # Set /SUBSYSTEM:WINDOWS (for consistency). | 815 # Set /SUBSYSTEM:WINDOWS (for consistency). |
| 815 'SubSystem': '2', | 816 'SubSystem': '2', |
| 816 }, | 817 }, |
| 817 }, | 818 }, |
| 818 }], | 819 }], |
| 819 ], | 820 ], |
| 820 'rules': [ | |
| 821 # Borrowed from chrome.gyp:chrome_dll_version, branding references | |
| 822 # removed | |
| 823 { | |
| 824 'rule_name': 'version', | |
| 825 'extension': 'version', | |
| 826 'variables': { | |
| 827 'version_py': '../chrome/tools/build/version.py', | |
| 828 'version_path': '../chrome/VERSION', | |
| 829 'lastchange_path': | |
| 830 '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', | |
| 831 'template_input_path': 'chrome_tab_version.rc.version', | |
| 832 }, | |
| 833 'conditions': [ | |
| 834 [ 'branding == "Chrome"', { | |
| 835 'variables': { | |
| 836 'branding_path': '../chrome/app/theme/google_chrome/BRANDING', | |
| 837 }, | |
| 838 }, { # else branding!="Chrome" | |
| 839 'variables': { | |
| 840 'branding_path': '../chrome/app/theme/chromium/BRANDING', | |
| 841 }, | |
| 842 }], | |
| 843 ], | |
| 844 'inputs': [ | |
| 845 '<(template_input_path)', | |
| 846 '<(version_path)', | |
| 847 '<(branding_path)', | |
| 848 ], | |
| 849 'outputs': [ | |
| 850 '<(INTERMEDIATE_DIR)/chrome_tab_version.rc', | |
| 851 ], | |
| 852 'action': [ | |
| 853 'python', | |
| 854 '<(version_py)', | |
| 855 '-f', '<(version_path)', | |
| 856 '-f', '<(branding_path)', | |
| 857 '-f', '<(lastchange_path)', | |
| 858 '<(template_input_path)', | |
| 859 '<@(_outputs)', | |
| 860 ], | |
| 861 'process_outputs_as_sources': 1, | |
| 862 'message': 'Generating version information in <(_outputs)' | |
| 863 }, | |
| 864 ], | |
| 865 }, | 821 }, |
| 866 ], | 822 ], |
| 867 } | 823 } |
| 868 | 824 |
| 869 # vim: shiftwidth=2:et:ai:tabstop=2 | 825 # vim: shiftwidth=2:et:ai:tabstop=2 |
| 870 | 826 |
| 871 # Local Variables: | 827 # Local Variables: |
| 872 # tab-width:2 | 828 # tab-width:2 |
| 873 # indent-tabs-mode:nil | 829 # indent-tabs-mode:nil |
| 874 # End: | 830 # End: |
| 875 # vim: set expandtab tabstop=2 shiftwidth=2: | 831 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |