OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'conditions': [ | 5 'conditions': [ |
6 ['OS=="mac" or OS=="win"', { | 6 ['OS=="mac" or OS=="win"', { |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 'target_name': 'chrome_dll', | 9 'target_name': 'chrome_dll', |
10 'type': 'none', | 10 'type': 'none', |
(...skipping 14 matching lines...) Expand all Loading... |
25 'inputs': [ | 25 'inputs': [ |
26 '$(OutDir)\\initial\\chrome.dll', | 26 '$(OutDir)\\initial\\chrome.dll', |
27 ], | 27 ], |
28 'outputs': [ | 28 'outputs': [ |
29 '$(OutDir)\\chrome.dll', | 29 '$(OutDir)\\chrome.dll', |
30 ], | 30 ], |
31 'action': ['tools\\build\\win\\hardlink_failsafe.bat', | 31 'action': ['tools\\build\\win\\hardlink_failsafe.bat', |
32 '$(OutDir)\\initial\\chrome.dll', | 32 '$(OutDir)\\initial\\chrome.dll', |
33 '$(OutDir)\\chrome.dll'], | 33 '$(OutDir)\\chrome.dll'], |
34 'msvs_cygwin_shell': 0, | 34 'msvs_cygwin_shell': 0, |
| 35 }, |
| 36 { |
| 37 'action_name': 'hardlink_pdb_to_output', |
| 38 'inputs': [ |
| 39 # Not the pdb, since gyp doesn't know about it |
| 40 '$(OutDir)\\initial\\chrome.dll', |
| 41 ], |
| 42 'outputs': [ |
| 43 '$(OutDir)\\chrome.dll.pdb', |
| 44 ], |
| 45 'action': ['tools\\build\\win\\hardlink_failsafe.bat', |
| 46 '$(OutDir)\\initial\\chrome.dll.pdb', |
| 47 '$(OutDir)\\chrome.dll.pdb'], |
| 48 'msvs_cygwin_shell': 0, |
35 } | 49 } |
36 ], | 50 ], |
37 }], | 51 }], |
38 ] | 52 ] |
39 }, | 53 }, |
40 { | 54 { |
41 'target_name': 'chrome_main_dll', | 55 'target_name': 'chrome_main_dll', |
42 'type': 'shared_library', | 56 'type': 'shared_library', |
43 'variables': { | 57 'variables': { |
44 'enable_wexit_time_destructors': 1, | 58 'enable_wexit_time_destructors': 1, |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | 143 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
130 }, | 144 }, |
131 }, | 145 }, |
132 }, | 146 }, |
133 }, | 147 }, |
134 'msvs_settings': { | 148 'msvs_settings': { |
135 'VCLinkerTool': { | 149 'VCLinkerTool': { |
136 'AdditionalLibraryDirectories': ['$(DXSDK_DIR)/lib/x86'], | 150 'AdditionalLibraryDirectories': ['$(DXSDK_DIR)/lib/x86'], |
137 'BaseAddress': '0x01c30000', | 151 'BaseAddress': '0x01c30000', |
138 'ImportLibrary': '$(OutDir)\\lib\\chrome_dll.lib', | 152 'ImportLibrary': '$(OutDir)\\lib\\chrome_dll.lib', |
139 'ProgramDatabaseFile': '$(OutDir)\\chrome_dll.pdb', | |
140 # Set /SUBSYSTEM:WINDOWS for chrome.dll (for consistency). | 153 # Set /SUBSYSTEM:WINDOWS for chrome.dll (for consistency). |
141 'SubSystem': '2', | 154 'SubSystem': '2', |
142 'conditions': [ | 155 'conditions': [ |
143 ['incremental_chrome_dll==1', { | 156 ['incremental_chrome_dll==1', { |
144 'OutputFile': '$(OutDir)\\initial\\chrome.dll', | 157 'OutputFile': '$(OutDir)\\initial\\chrome.dll', |
145 'UseLibraryDependencyInputs': "true", | 158 'UseLibraryDependencyInputs': "true", |
146 }], | 159 }], |
147 ], | 160 ], |
148 'DelayLoadDLLs': [ | 161 'DelayLoadDLLs': [ |
149 'comdlg32.dll', | 162 'comdlg32.dll', |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 ], | 507 ], |
495 }], | 508 }], |
496 ], # conditions | 509 ], # conditions |
497 }], # OS=="mac" | 510 }], # OS=="mac" |
498 ], # conditions | 511 ], # conditions |
499 }, # target chrome_dll | 512 }, # target chrome_dll |
500 ], # targets | 513 ], # targets |
501 }], # OS=="mac" or OS=="win" | 514 }], # OS=="mac" or OS=="win" |
502 ], | 515 ], |
503 } | 516 } |
OLD | NEW |