| 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 'target_defaults': { | 5 'target_defaults': { |
| 6 'variables': { | 6 'variables': { |
| 7 'chrome_dll_target': 0, | 7 'chrome_dll_target': 0, |
| 8 }, | 8 }, |
| 9 'target_conditions': [ | 9 'target_conditions': [ |
| 10 ['chrome_dll_target==1', { | 10 ['chrome_dll_target==1', { |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 'dependencies': [ | 70 'dependencies': [ |
| 71 '<@(chromium_dependencies)', | 71 '<@(chromium_dependencies)', |
| 72 ], | 72 ], |
| 73 'conditions': [ | 73 'conditions': [ |
| 74 ['OS=="win"', { | 74 ['OS=="win"', { |
| 75 'product_name': 'chrome', | 75 'product_name': 'chrome', |
| 76 'msvs_guid': 'C0A7EE2C-2A6D-45BE-BA78-6D006FDF52D9', | 76 'msvs_guid': 'C0A7EE2C-2A6D-45BE-BA78-6D006FDF52D9', |
| 77 'dependencies': [ | 77 'dependencies': [ |
| 78 # On Windows, link the dependencies (libraries) that make | 78 # On Windows, link the dependencies (libraries) that make |
| 79 # up actual Chromium functionality into this .dll. | 79 # up actual Chromium functionality into this .dll. |
| 80 'chrome_version_header', | 80 'chrome_dll_version', |
| 81 'chrome_resources', | 81 'chrome_resources', |
| 82 'installer_util_strings', | 82 'installer_util_strings', |
| 83 'worker', | 83 'worker', |
| 84 '../printing/printing.gyp:printing', | 84 '../printing/printing.gyp:printing', |
| 85 '../net/net.gyp:net_resources', | 85 '../net/net.gyp:net_resources', |
| 86 '../build/util/support/support.gyp:*', | 86 '../build/util/support/support.gyp:*', |
| 87 '../third_party/cld/cld.gyp:cld', | 87 '../third_party/cld/cld.gyp:cld', |
| 88 '../views/views.gyp:views', | 88 '../views/views.gyp:views', |
| 89 '../webkit/support/webkit_support.gyp:webkit_resources', | 89 '../webkit/support/webkit_support.gyp:webkit_resources', |
| 90 '../gears/gears.gyp:gears', | 90 '../gears/gears.gyp:gears', |
| 91 ], | 91 ], |
| 92 'sources': [ | 92 'sources': [ |
| 93 'app/chrome_command_ids.h', | 93 'app/chrome_command_ids.h', |
| 94 'app/chrome_dll.rc', | 94 'app/chrome_dll.rc', |
| 95 'app/chrome_dll_resource.h', | 95 'app/chrome_dll_resource.h', |
| 96 'app/chrome_main.cc', | 96 'app/chrome_main.cc', |
| 97 'app/chrome_dll_version.rc', | 97 '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_versio
n.rc', |
| 98 | 98 |
| 99 '../webkit/glue/resources/aliasb.cur', | 99 '../webkit/glue/resources/aliasb.cur', |
| 100 '../webkit/glue/resources/cell.cur', | 100 '../webkit/glue/resources/cell.cur', |
| 101 '../webkit/glue/resources/col_resize.cur', | 101 '../webkit/glue/resources/col_resize.cur', |
| 102 '../webkit/glue/resources/copy.cur', | 102 '../webkit/glue/resources/copy.cur', |
| 103 '../webkit/glue/resources/row_resize.cur', | 103 '../webkit/glue/resources/row_resize.cur', |
| 104 '../webkit/glue/resources/vertical_text.cur', | 104 '../webkit/glue/resources/vertical_text.cur', |
| 105 '../webkit/glue/resources/zoom_in.cur', | 105 '../webkit/glue/resources/zoom_in.cur', |
| 106 '../webkit/glue/resources/zoom_out.cur', | 106 '../webkit/glue/resources/zoom_out.cur', |
| 107 | 107 |
| 108 # TODO: It would be nice to have these pulled in | 108 # TODO: It would be nice to have these pulled in |
| 109 # automatically from direct_dependent_settings in | 109 # automatically from direct_dependent_settings in |
| 110 # their various targets (net.gyp:net_resources, etc.), | 110 # their various targets (net.gyp:net_resources, etc.), |
| 111 # but that causes errors in other targets when | 111 # but that causes errors in other targets when |
| 112 # resulting .res files get referenced multiple times. | 112 # resulting .res files get referenced multiple times. |
| 113 '<(SHARED_INTERMEDIATE_DIR)/app/app_resources/app_resources.rc', | 113 '<(SHARED_INTERMEDIATE_DIR)/app/app_resources/app_resources.rc', |
| 114 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', | 114 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', |
| 115 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', | 115 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', |
| 116 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources.rc', | 116 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources.rc', |
| 117 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc', | 117 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc', |
| 118 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', | 118 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', |
| 119 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.rc'
, | 119 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.rc'
, |
| 120 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', | 120 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', |
| 121 | 121 |
| 122 # TODO(sgk): left-over from pre-gyp build, figure out | 122 # TODO(sgk): left-over from pre-gyp build, figure out |
| 123 # if we still need them and/or how to update to gyp. | 123 # if we still need them and/or how to update to gyp. |
| 124 #'app/check_dependents.bat', | 124 #'app/check_dependents.bat', |
| 125 #'app/chrome.dll.deps', | 125 #'app/chrome.dll.deps', |
| 126 ], | 126 ], |
| 127 'include_dirs': [ | |
| 128 # For version.h | |
| 129 '<(SHARED_INTERMEDIATE_DIR)', | |
| 130 ], | |
| 131 'msvs_settings': { | 127 'msvs_settings': { |
| 132 'VCLinkerTool': { | 128 'VCLinkerTool': { |
| 133 'ImportLibrary': '$(OutDir)\\lib\\chrome_dll.lib', | 129 'ImportLibrary': '$(OutDir)\\lib\\chrome_dll.lib', |
| 134 'ProgramDatabaseFile': '$(OutDir)\\chrome_dll.pdb', | 130 'ProgramDatabaseFile': '$(OutDir)\\chrome_dll.pdb', |
| 135 }, | 131 }, |
| 136 }, | 132 }, |
| 137 }], # OS=="win" | 133 }], # OS=="win" |
| 138 ['OS=="mac"', { | 134 ['OS=="mac"', { |
| 139 # The main browser executable's name is <(mac_product_name). | 135 # The main browser executable's name is <(mac_product_name). |
| 140 # Certain things will get confused if two modules in the | 136 # Certain things will get confused if two modules in the |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 557 { | 553 { |
| 558 'target_name': 'chrome_dll_nacl_win64', | 554 'target_name': 'chrome_dll_nacl_win64', |
| 559 'type': 'shared_library', | 555 'type': 'shared_library', |
| 560 'product_name': 'nacl64', | 556 'product_name': 'nacl64', |
| 561 'msvs_guid': 'F5B2D851-1279-4CE1-9386-AB7C6433551B', | 557 'msvs_guid': 'F5B2D851-1279-4CE1-9386-AB7C6433551B', |
| 562 'variables': { | 558 'variables': { |
| 563 'chrome_dll_target': 1, | 559 'chrome_dll_target': 1, |
| 564 }, | 560 }, |
| 565 'include_dirs': [ | 561 'include_dirs': [ |
| 566 '..', | 562 '..', |
| 567 # For version.h | |
| 568 '<(SHARED_INTERMEDIATE_DIR)', | |
| 569 ], | 563 ], |
| 570 'dependencies': [ | 564 'dependencies': [ |
| 571 'chrome_version_header', | |
| 572 '<@(nacl_win64_dependencies)', | 565 '<@(nacl_win64_dependencies)', |
| 566 'chrome_dll_version', |
| 573 'nacl_win64', | 567 'nacl_win64', |
| 574 ], | 568 ], |
| 575 'defines': [ | 569 'defines': [ |
| 576 '<@(nacl_win64_defines)', | 570 '<@(nacl_win64_defines)', |
| 577 ], | 571 ], |
| 578 'sources': [ | 572 'sources': [ |
| 579 'app/chrome_command_ids.h', | 573 'app/chrome_command_ids.h', |
| 580 'app/chrome_dll_resource.h', | 574 'app/chrome_dll_resource.h', |
| 581 'app/chrome_dll_version.rc', | |
| 582 'app/chrome_main.cc', | 575 'app/chrome_main.cc', |
| 583 | |
| 584 'browser/renderer_host/render_process_host_dummy.cc', | 576 'browser/renderer_host/render_process_host_dummy.cc', |
| 585 'common/googleurl_dummy.cc', | 577 'common/googleurl_dummy.cc', |
| 578 '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_version.rc
', |
| 586 | 579 |
| 587 # TODO: It would be nice to have these pulled in | 580 # TODO: It would be nice to have these pulled in |
| 588 # automatically from direct_dependent_settings in | 581 # automatically from direct_dependent_settings in |
| 589 # their various targets (net.gyp:net_resources, etc.), | 582 # their various targets (net.gyp:net_resources, etc.), |
| 590 # but that causes errors in other targets when | 583 # but that causes errors in other targets when |
| 591 # resulting .res files get referenced multiple times. | 584 # resulting .res files get referenced multiple times. |
| 592 '<(SHARED_INTERMEDIATE_DIR)/app/app_resources/app_resources.rc', | 585 '<(SHARED_INTERMEDIATE_DIR)/app/app_resources/app_resources.rc', |
| 593 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', | 586 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', |
| 594 | 587 |
| 595 # TODO(sgk): left-over from pre-gyp build, figure out | 588 # TODO(sgk): left-over from pre-gyp build, figure out |
| (...skipping 14 matching lines...) Expand all Loading... |
| 610 'configurations': { | 603 'configurations': { |
| 611 'Common_Base': { | 604 'Common_Base': { |
| 612 'msvs_target_platform': 'x64', | 605 'msvs_target_platform': 'x64', |
| 613 }, | 606 }, |
| 614 }, | 607 }, |
| 615 }, # target chrome_dll | 608 }, # target chrome_dll |
| 616 ], | 609 ], |
| 617 }], | 610 }], |
| 618 ], | 611 ], |
| 619 } | 612 } |
| OLD | NEW |