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 } | 35 }, |
| 36 ], |
| 37 'conditions': [ |
| 38 # Only hardlink pdb if we're generating debug info. |
| 39 ['fastbuild==0 or win_z7!=0', { |
| 40 'actions': [ |
| 41 { |
| 42 'action_name': 'hardlink_pdb_to_output', |
| 43 'inputs': [ |
| 44 # Not the pdb, since gyp doesn't know about it |
| 45 '$(OutDir)\\initial\\chrome.dll', |
| 46 ], |
| 47 'outputs': [ |
| 48 '$(OutDir)\\chrome.dll.pdb', |
| 49 ], |
| 50 'action': ['tools\\build\\win\\hardlink_failsafe.bat', |
| 51 '$(OutDir)\\initial\\chrome.dll.pdb', |
| 52 '$(OutDir)\\chrome.dll.pdb'], |
| 53 'msvs_cygwin_shell': 0, |
| 54 } |
| 55 ] |
| 56 }] |
36 ], | 57 ], |
37 }], | 58 }], |
38 ] | 59 ] |
39 }, | 60 }, |
40 { | 61 { |
41 'target_name': 'chrome_main_dll', | 62 'target_name': 'chrome_main_dll', |
42 'type': 'shared_library', | 63 'type': 'shared_library', |
43 'variables': { | 64 'variables': { |
44 'enable_wexit_time_destructors': 1, | 65 'enable_wexit_time_destructors': 1, |
45 }, | 66 }, |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | 150 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
130 }, | 151 }, |
131 }, | 152 }, |
132 }, | 153 }, |
133 }, | 154 }, |
134 'msvs_settings': { | 155 'msvs_settings': { |
135 'VCLinkerTool': { | 156 'VCLinkerTool': { |
136 'AdditionalLibraryDirectories': ['$(DXSDK_DIR)/lib/x86'], | 157 'AdditionalLibraryDirectories': ['$(DXSDK_DIR)/lib/x86'], |
137 'BaseAddress': '0x01c30000', | 158 'BaseAddress': '0x01c30000', |
138 'ImportLibrary': '$(OutDir)\\lib\\chrome_dll.lib', | 159 'ImportLibrary': '$(OutDir)\\lib\\chrome_dll.lib', |
139 'ProgramDatabaseFile': '$(OutDir)\\chrome_dll.pdb', | |
140 # Set /SUBSYSTEM:WINDOWS for chrome.dll (for consistency). | 160 # Set /SUBSYSTEM:WINDOWS for chrome.dll (for consistency). |
141 'SubSystem': '2', | 161 'SubSystem': '2', |
142 'conditions': [ | 162 'conditions': [ |
143 ['incremental_chrome_dll==1', { | 163 ['incremental_chrome_dll==1', { |
144 'OutputFile': '$(OutDir)\\initial\\chrome.dll', | 164 'OutputFile': '$(OutDir)\\initial\\chrome.dll', |
145 'UseLibraryDependencyInputs': "true", | 165 'UseLibraryDependencyInputs': "true", |
146 }], | 166 }], |
147 ], | 167 ], |
148 'DelayLoadDLLs': [ | 168 'DelayLoadDLLs': [ |
149 'comdlg32.dll', | 169 'comdlg32.dll', |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 ], | 514 ], |
495 }], | 515 }], |
496 ], # conditions | 516 ], # conditions |
497 }], # OS=="mac" | 517 }], # OS=="mac" |
498 ], # conditions | 518 ], # conditions |
499 }, # target chrome_dll | 519 }, # target chrome_dll |
500 ], # targets | 520 ], # targets |
501 }], # OS=="mac" or OS=="win" | 521 }], # OS=="mac" or OS=="win" |
502 ], | 522 ], |
503 } | 523 } |
OLD | NEW |