Chromium Code Reviews| 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_dll_version', | 80 'chrome_version_header', |
| 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 '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_versio n.rc', | 97 'app/chrome_dll_version.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 ], | |
| 127 'msvs_settings': { | 131 'msvs_settings': { |
| 128 'VCLinkerTool': { | 132 'VCLinkerTool': { |
| 129 'ImportLibrary': '$(OutDir)\\lib\\chrome_dll.lib', | 133 'ImportLibrary': '$(OutDir)\\lib\\chrome_dll.lib', |
| 130 'ProgramDatabaseFile': '$(OutDir)\\chrome_dll.pdb', | 134 'ProgramDatabaseFile': '$(OutDir)\\chrome_dll.pdb', |
| 131 }, | 135 }, |
| 132 }, | 136 }, |
| 133 }], # OS=="win" | 137 }], # OS=="win" |
| 134 ['OS=="mac"', { | 138 ['OS=="mac"', { |
| 135 # The main browser executable's name is <(mac_product_name). | 139 # The main browser executable's name is <(mac_product_name). |
| 136 # Certain things will get confused if two modules in the | 140 # Certain things will get confused if two modules in the |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 553 { | 557 { |
| 554 'target_name': 'chrome_dll_nacl_win64', | 558 'target_name': 'chrome_dll_nacl_win64', |
| 555 'type': 'shared_library', | 559 'type': 'shared_library', |
| 556 'product_name': 'nacl64', | 560 'product_name': 'nacl64', |
| 557 'msvs_guid': 'F5B2D851-1279-4CE1-9386-AB7C6433551B', | 561 'msvs_guid': 'F5B2D851-1279-4CE1-9386-AB7C6433551B', |
| 558 'variables': { | 562 'variables': { |
| 559 'chrome_dll_target': 1, | 563 'chrome_dll_target': 1, |
| 560 }, | 564 }, |
| 561 'include_dirs': [ | 565 'include_dirs': [ |
| 562 '..', | 566 '..', |
| 567 # For version.h | |
| 568 '<(SHARED_INTERMEDIATE_DIR)', | |
| 563 ], | 569 ], |
| 564 'dependencies': [ | 570 'dependencies': [ |
| 565 '<@(nacl_win64_dependencies)', | 571 '<@(nacl_win64_dependencies)', |
| 566 'chrome_dll_version', | |
| 567 'nacl_win64', | 572 'nacl_win64', |
| 573 'chrome_version_header', | |
|
MAD
2010/11/26 13:28:16
Why after nacl?
Jói
2010/11/26 16:07:28
No reason, I moved it to the first line of depende
| |
| 568 ], | 574 ], |
| 569 'defines': [ | 575 'defines': [ |
| 570 '<@(nacl_win64_defines)', | 576 '<@(nacl_win64_defines)', |
| 571 ], | 577 ], |
| 572 'sources': [ | 578 'sources': [ |
| 573 'app/chrome_command_ids.h', | 579 'app/chrome_command_ids.h', |
| 574 'app/chrome_dll_resource.h', | 580 'app/chrome_dll_resource.h', |
| 575 'app/chrome_main.cc', | 581 'app/chrome_main.cc', |
| 582 'app/chrome_dll_version.rc', | |
|
MAD
2010/11/26 13:28:16
above chrome_main?
Jói
2010/11/26 16:07:28
Done.
| |
| 583 | |
| 576 'browser/renderer_host/render_process_host_dummy.cc', | 584 'browser/renderer_host/render_process_host_dummy.cc', |
| 577 'common/googleurl_dummy.cc', | 585 'common/googleurl_dummy.cc', |
| 578 '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_version.rc ', | |
| 579 | 586 |
| 580 # TODO: It would be nice to have these pulled in | 587 # TODO: It would be nice to have these pulled in |
| 581 # automatically from direct_dependent_settings in | 588 # automatically from direct_dependent_settings in |
| 582 # their various targets (net.gyp:net_resources, etc.), | 589 # their various targets (net.gyp:net_resources, etc.), |
| 583 # but that causes errors in other targets when | 590 # but that causes errors in other targets when |
| 584 # resulting .res files get referenced multiple times. | 591 # resulting .res files get referenced multiple times. |
| 585 '<(SHARED_INTERMEDIATE_DIR)/app/app_resources/app_resources.rc', | 592 '<(SHARED_INTERMEDIATE_DIR)/app/app_resources/app_resources.rc', |
| 586 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', | 593 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', |
| 587 | 594 |
| 588 # TODO(sgk): left-over from pre-gyp build, figure out | 595 # TODO(sgk): left-over from pre-gyp build, figure out |
| (...skipping 14 matching lines...) Expand all Loading... | |
| 603 'configurations': { | 610 'configurations': { |
| 604 'Common_Base': { | 611 'Common_Base': { |
| 605 'msvs_target_platform': 'x64', | 612 'msvs_target_platform': 'x64', |
| 606 }, | 613 }, |
| 607 }, | 614 }, |
| 608 }, # target chrome_dll | 615 }, # target chrome_dll |
| 609 ], | 616 ], |
| 610 }], | 617 }], |
| 611 ], | 618 ], |
| 612 } | 619 } |
| OLD | NEW |