Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(432)

Side by Side Diff: chrome/chrome.gyp

Issue 348033: Remove themes/default.dll and merge the resources into chrome.dll. (Closed)
Patch Set: update comments Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/browser_main_mac.mm ('k') | chrome/test/unit/chrome_test_suite.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 8
9 'variables': { 9 'variables': {
10 'version_py_path': 'tools/build/version.py', 10 'version_py_path': 'tools/build/version.py',
(...skipping 4805 matching lines...) Expand 10 before | Expand all | Expand 10 after
4816 'test/data/resource.rc', 4816 'test/data/resource.rc',
4817 4817
4818 '<@(views_unit_tests_sources)', 4818 '<@(views_unit_tests_sources)',
4819 '<@(views_unit_tests_sources_win_specific)', 4819 '<@(views_unit_tests_sources_win_specific)',
4820 4820
4821 # TODO: It would be nice to have these pulled in 4821 # TODO: It would be nice to have these pulled in
4822 # automatically from direct_dependent_settings in 4822 # automatically from direct_dependent_settings in
4823 # their various targets (net.gyp:net_resources, etc.), 4823 # their various targets (net.gyp:net_resources, etc.),
4824 # but that causes errors in other targets when 4824 # but that causes errors in other targets when
4825 # resulting .res files get referenced multiple times. 4825 # resulting .res files get referenced multiple times.
4826 '<(SHARED_INTERMEDIATE_DIR)/app/app_resources.rc',
4826 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', 4827 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc',
4827 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', 4828 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc',
4828 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources.rc', 4829 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources.rc',
4830 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc',
4829 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', 4831 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc',
4830 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', 4832 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc',
4831 ], 4833 ],
4832 'sources!': [ 4834 'sources!': [
4833 'browser/gtk/tabs/tab_renderer_gtk_unittest.cc', 4835 'browser/gtk/tabs/tab_renderer_gtk_unittest.cc',
4834 'common/net/url_util_unittest.cc', 4836 'common/net/url_util_unittest.cc',
4835 ], 4837 ],
4836 'link_settings': { 4838 'link_settings': {
4837 'libraries': [ 4839 'libraries': [
4838 '-lcomsupp.lib', 4840 '-lcomsupp.lib',
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
5517 'msvs_guid': 'C0A7EE2C-2A6D-45BE-BA78-6D006FDF52D9', 5519 'msvs_guid': 'C0A7EE2C-2A6D-45BE-BA78-6D006FDF52D9',
5518 'include_dirs': [ 5520 'include_dirs': [
5519 'third_party/wtl/include', 5521 'third_party/wtl/include',
5520 ], 5522 ],
5521 'dependencies': [ 5523 'dependencies': [
5522 # On Windows, link the dependencies (libraries) that make 5524 # On Windows, link the dependencies (libraries) that make
5523 # up actual Chromium functionality into this .dll. 5525 # up actual Chromium functionality into this .dll.
5524 'chrome_dll_version', 5526 'chrome_dll_version',
5525 'chrome_resources', 5527 'chrome_resources',
5526 'installer/installer.gyp:installer_util_strings', 5528 'installer/installer.gyp:installer_util_strings',
5527 'theme_dll',
5528 'worker', 5529 'worker',
5529 '../printing/printing.gyp:printing', 5530 '../printing/printing.gyp:printing',
5530 '../net/net.gyp:net_resources', 5531 '../net/net.gyp:net_resources',
5531 '../build/util/support/support.gyp:*', 5532 '../build/util/support/support.gyp:*',
5532 '../third_party/cld/cld.gyp:cld', 5533 '../third_party/cld/cld.gyp:cld',
5533 '../views/views.gyp:views', 5534 '../views/views.gyp:views',
5534 '../webkit/webkit.gyp:webkit_resources', 5535 '../webkit/webkit.gyp:webkit_resources',
5535 '../gears/gears.gyp:gears', 5536 '../gears/gears.gyp:gears',
5536 ], 5537 ],
5537 'defines': [ 5538 'defines': [
(...skipping 15 matching lines...) Expand all
5553 '../webkit/glue/resources/row_resize.cur', 5554 '../webkit/glue/resources/row_resize.cur',
5554 '../webkit/glue/resources/vertical_text.cur', 5555 '../webkit/glue/resources/vertical_text.cur',
5555 '../webkit/glue/resources/zoom_in.cur', 5556 '../webkit/glue/resources/zoom_in.cur',
5556 '../webkit/glue/resources/zoom_out.cur', 5557 '../webkit/glue/resources/zoom_out.cur',
5557 5558
5558 # TODO: It would be nice to have these pulled in 5559 # TODO: It would be nice to have these pulled in
5559 # automatically from direct_dependent_settings in 5560 # automatically from direct_dependent_settings in
5560 # their various targets (net.gyp:net_resources, etc.), 5561 # their various targets (net.gyp:net_resources, etc.),
5561 # but that causes errors in other targets when 5562 # but that causes errors in other targets when
5562 # resulting .res files get referenced multiple times. 5563 # resulting .res files get referenced multiple times.
5564 '<(SHARED_INTERMEDIATE_DIR)/app/app_resources.rc',
5563 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', 5565 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc',
5564 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', 5566 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc',
5565 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources.rc', 5567 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources.rc',
5568 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc',
5566 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', 5569 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc',
5567 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', 5570 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc',
5568 5571
5569 # TODO(sgk): left-over from pre-gyp build, figure out 5572 # TODO(sgk): left-over from pre-gyp build, figure out
5570 # if we still need them and/or how to update to gyp. 5573 # if we still need them and/or how to update to gyp.
5571 #'app/check_dependents.bat', 5574 #'app/check_dependents.bat',
5572 #'app/chrome.dll.deps', 5575 #'app/chrome.dll.deps',
5573 ], 5576 ],
5574 'msvs_settings': { 5577 'msvs_settings': {
5575 'VCLinkerTool': { 5578 'VCLinkerTool': {
(...skipping 983 matching lines...) Expand 10 before | Expand all | Expand 10 after
6559 'test/live_sync/two_client_live_bookmarks_sync_test.cc', 6562 'test/live_sync/two_client_live_bookmarks_sync_test.cc',
6560 'test/test_launcher/run_all_unittests.cc', 6563 'test/test_launcher/run_all_unittests.cc',
6561 'test/test_notification_tracker.cc', 6564 'test/test_notification_tracker.cc',
6562 'test/test_notification_tracker.h', 6565 'test/test_notification_tracker.h',
6563 'test/testing_browser_process.h', 6566 'test/testing_browser_process.h',
6564 'test/ui_test_utils_linux.cc', 6567 'test/ui_test_utils_linux.cc',
6565 'test/ui_test_utils_mac.cc', 6568 'test/ui_test_utils_mac.cc',
6566 'test/ui_test_utils_win.cc', 6569 'test/ui_test_utils_win.cc',
6567 'test/data/resource.h', 6570 'test/data/resource.h',
6568 'test/data/resource.rc', 6571 'test/data/resource.rc',
6572 '<(SHARED_INTERMEDIATE_DIR)/app/app_resources.rc',
6569 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', 6573 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc',
6570 '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_version. rc', 6574 '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_version. rc',
6571 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', 6575 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc',
6576 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc',
6572 ], 6577 ],
6573 'conditions': [ 6578 'conditions': [
6574 # Plugin code. 6579 # Plugin code.
6575 ['OS=="linux" or OS=="win"', { 6580 ['OS=="linux" or OS=="win"', {
6576 'dependencies': [ 6581 'dependencies': [
6577 'plugin', 6582 'plugin',
6578 ], 6583 ],
6579 'export_dependent_settings': [ 6584 'export_dependent_settings': [
6580 'plugin', 6585 'plugin',
6581 ], 6586 ],
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
6649 'test/in_process_browser_test.h', 6654 'test/in_process_browser_test.h',
6650 'test/test_launcher/run_all_unittests.cc', 6655 'test/test_launcher/run_all_unittests.cc',
6651 'test/unit/chrome_test_suite.h', 6656 'test/unit/chrome_test_suite.h',
6652 'test/ui_test_utils.cc', 6657 'test/ui_test_utils.cc',
6653 'test/ui_test_utils_linux.cc', 6658 'test/ui_test_utils_linux.cc',
6654 'test/ui_test_utils_mac.cc', 6659 'test/ui_test_utils_mac.cc',
6655 'test/ui_test_utils_win.cc', 6660 'test/ui_test_utils_win.cc',
6656 'app/chrome_dll.rc', 6661 'app/chrome_dll.rc',
6657 'app/chrome_dll_resource.h', 6662 'app/chrome_dll_resource.h',
6658 'app/chrome_dll_version.rc.version', 6663 'app/chrome_dll_version.rc.version',
6664 '<(SHARED_INTERMEDIATE_DIR)/app/app_resources.rc',
6659 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', 6665 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc',
6660 '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_version.rc ', 6666 '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_version.rc ',
6661 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', 6667 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc',
6668 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc',
6662 # browser_tests_sources and browser_tests_source_win_specific are 6669 # browser_tests_sources and browser_tests_source_win_specific are
6663 # defined in 'variables' at the top of the file. 6670 # defined in 'variables' at the top of the file.
6664 '<@(browser_tests_sources)', 6671 '<@(browser_tests_sources)',
6665 '<@(browser_tests_sources_win_specific)', 6672 '<@(browser_tests_sources_win_specific)',
6666 ], 6673 ],
6667 'conditions': [ 6674 'conditions': [
6668 ['OS=="win"', { 6675 ['OS=="win"', {
6669 'dependencies': [ 6676 'dependencies': [
6670 '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', 6677 '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc',
6671 ], 6678 ],
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
6862 'libraries': [ 6869 'libraries': [
6863 '-lwinmm.lib', 6870 '-lwinmm.lib',
6864 ], 6871 ],
6865 }, 6872 },
6866 'sources': [ 6873 'sources': [
6867 'test/chrome_plugin/test_chrome_plugin.cc', 6874 'test/chrome_plugin/test_chrome_plugin.cc',
6868 'test/chrome_plugin/test_chrome_plugin.def', 6875 'test/chrome_plugin/test_chrome_plugin.def',
6869 'test/chrome_plugin/test_chrome_plugin.h', 6876 'test/chrome_plugin/test_chrome_plugin.h',
6870 ], 6877 ],
6871 }, 6878 },
6872 {
6873 'target_name': 'theme_dll',
6874 'type': 'loadable_module',
6875 'msvs_guid': 'FD683DD6-D9BF-4B1B-AB6D-A3AC03EDAA4D',
6876 'product_name': 'default',
6877 'dependencies': [
6878 'theme_resources',
6879 '../app/app.gyp:app_resources',
6880 ],
6881 'sources': [
6882 '<(grit_out_dir)/theme_resources.rc',
6883 '<(SHARED_INTERMEDIATE_DIR)/app/app_resources.rc',
6884 ],
6885 'msvs_settings': {
6886 'VCLinkerTool': {
6887 'BaseAddress': '0x3CE00000',
6888 'OutputFile': '<(PRODUCT_DIR)/themes/default.dll',
6889 'ResourceOnlyDLL': 'true',
6890 },
6891 },
6892 'configurations': {
6893 'Debug': {
6894 'msvs_settings': {
6895 'VCLinkerTool': {
6896 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
6897 },
6898 },
6899 },
6900 'Release': {
6901 'msvs_settings': {
6902 'VCLinkerTool': {
6903 'LinkTimeCodeGeneration': '1',
6904 },
6905 },
6906 }
6907 },
6908 },
6909 ]}, # 'targets' 6879 ]}, # 'targets'
6910 ], # OS=="win" 6880 ], # OS=="win"
6911 # TODO(jrg): add in Windows code coverage targets. 6881 # TODO(jrg): add in Windows code coverage targets.
6912 ['coverage!=0', 6882 ['coverage!=0',
6913 { 'targets': [ 6883 { 'targets': [
6914 { 6884 {
6915 'target_name': 'coverage', 6885 'target_name': 'coverage',
6916 # do NOT place this in the 'all' list; most won't want it. 6886 # do NOT place this in the 'all' list; most won't want it.
6917 # In gyp, booleans are 0/1 not True/False. 6887 # In gyp, booleans are 0/1 not True/False.
6918 'suppress_wildcard': 1, 6888 'suppress_wildcard': 1,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
6957 ] 6927 ]
6958 }], 6928 }],
6959 ], # 'conditions' 6929 ], # 'conditions'
6960 } 6930 }
6961 6931
6962 # Local Variables: 6932 # Local Variables:
6963 # tab-width:2 6933 # tab-width:2
6964 # indent-tabs-mode:nil 6934 # indent-tabs-mode:nil
6965 # End: 6935 # End:
6966 # vim: set expandtab tabstop=2 shiftwidth=2: 6936 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « chrome/browser/browser_main_mac.mm ('k') | chrome/test/unit/chrome_test_suite.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698